var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function";var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){return Module["read"](filename,true)};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}))}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available (jsc?)"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.log(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){assert(args.length==sig.length-1);if(!args.splice)args=Array.prototype.slice.call(args);args.splice(0,0,ptr);assert("dynCall_"+sig in Module,"bad function pointer type - no table for sig '"+sig+"'");return Module["dynCall_"+sig].apply(null,args)}else{assert(sig.length==1);assert("dynCall_"+sig in Module,"bad function pointer type - no table for sig '"+sig+"'");return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),getAsmConst:(function(code,numArgs){if(!Runtime.asmConstCache)Runtime.asmConstCache={};var func=Runtime.asmConstCache[code];if(func)return func;var args=[];for(var i=0;i<numArgs;i++){args.push(String.fromCharCode(36)+i)}var source=Pointer_stringify(code);if(source[0]==='"'){if(source.indexOf('"',1)===source.length-1){source=source.substr(1,source.length-2)}else{abort("invalid EM_ASM input |"+source+"|. Please use EM_ASM(..code..) (no quotes) or EM_ASM({ ..code($0).. }, input) (to input values)")}}try{var evalled=eval("(function(Module, FS) { return function("+args.join(",")+"){ "+source+" } })")(Module,typeof FS!=="undefined"?FS:null)}catch(e){Module.printErr("error in executing inline EM_ASM code: "+e+" on: \n\n"+source+"\n\nwith args |"+args+"| (make sure to use the right one out of EM_ASM, EM_ASM_ARGS, etc.)");throw e}return Runtime.asmConstCache[code]=evalled}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,arguments)}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;assert((STACKTOP|0)<(STACK_MAX|0)|0)|0;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+(assert(!staticSealed),size)|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=DYNAMICTOP;DYNAMICTOP=DYNAMICTOP+(assert(DYNAMICTOP>0),size)|0;DYNAMICTOP=DYNAMICTOP+15&-16;if(DYNAMICTOP>=TOTAL_MEMORY){var success=enlargeMemory();if(!success)return 0}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;function getSafeHeapType(bytes,isFloat){switch(bytes){case 1:return"i8";case 2:return"i16";case 4:return isFloat?"float":"i32";case 8:return"double";default:assert(0)}}function SAFE_HEAP_STORE(dest,value,bytes,isFloat){if(dest<=0)abort("segmentation fault storing "+bytes+" bytes to address "+dest);if(dest%bytes!==0)abort("alignment error storing to address "+dest+", which was expected to be aligned to a multiple of "+bytes);if(dest+bytes>Math.max(DYNAMICTOP,STATICTOP))abort("segmentation fault, exceeded the top of the available heap when storing "+bytes+" bytes to address "+dest+". STATICTOP="+STATICTOP+", DYNAMICTOP="+DYNAMICTOP);assert(DYNAMICTOP<=TOTAL_MEMORY);setValue(dest,value,getSafeHeapType(bytes,isFloat),1)}function SAFE_HEAP_LOAD(dest,bytes,isFloat,unsigned){if(dest<=0)abort("segmentation fault loading "+bytes+" bytes from address "+dest);if(dest%bytes!==0)abort("alignment error loading from address "+dest+", which was expected to be aligned to a multiple of "+bytes);if(dest+bytes>Math.max(DYNAMICTOP,STATICTOP))abort("segmentation fault, exceeded the top of the available heap when loading "+bytes+" bytes from address "+dest+". STATICTOP="+STATICTOP+", DYNAMICTOP="+DYNAMICTOP);assert(DYNAMICTOP<=TOTAL_MEMORY);var type=getSafeHeapType(bytes,isFloat);var ret=getValue(dest,type,1);if(unsigned)ret=unSign(ret,parseInt(type.substr(1)),1);return ret}function SAFE_FT_MASK(value,mask){var ret=value&mask;if(ret!==value){abort("Function table mask error: function pointer is "+value+" which is masked by "+mask+", the likely cause of this is that the function pointer is being called by the wrong type.")}return ret}var __THREW__=0;var ABORT=false;var EXITSTATUS=0;var undef=0;var tempValue,tempInt,tempBigInt,tempInt2,tempBigInt2,tempPair,tempBigIntI,tempBigIntR,tempBigIntS,tempBigIntP,tempBigIntD,tempDouble,tempFloat;var tempI64,tempI64b;var tempRet0,tempRet1,tempRet2,tempRet3,tempRet4,tempRet5,tempRet6,tempRet7,tempRet8,tempRet9;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}var globalScope=this;function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){ret=Runtime.stackAlloc((str.length<<2)+1);writeStringToMemory(str,ret)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args){var func=getCFunc(ident);var cArgs=[];var stack=0;assert(returnType!=="array",'Return type should not be "array".');if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0)Runtime.stackRestore(stack);return ret};var sourceRegex=/^function\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"="+convertCode.returnValue+";"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}if(!numericArgs){funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["cwrap"]=cwrap;Module["ccall"]=ccall;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";if(noSafe){switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}else{switch(type){case"i1":SAFE_HEAP_STORE(ptr|0,value|0,1,0)|0;break;case"i8":SAFE_HEAP_STORE(ptr|0,value|0,1,0)|0;break;case"i16":SAFE_HEAP_STORE(ptr|0,value|0,2,0)|0;break;case"i32":SAFE_HEAP_STORE(ptr|0,value|0,4,0)|0;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],SAFE_HEAP_STORE(ptr|0,tempI64[0]|0,4,0)|0,SAFE_HEAP_STORE(ptr+4|0,tempI64[1]|0,4,0)|0;break;case"float":+SAFE_HEAP_STORE(ptr|0,+value,4,1);break;case"double":+SAFE_HEAP_STORE(ptr|0,+value,8,1);break;default:abort("invalid type for setValue: "+type)}}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";if(noSafe){switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}}else{switch(type){case"i1":return SAFE_HEAP_LOAD(ptr|0,1,0,0)|0;case"i8":return SAFE_HEAP_LOAD(ptr|0,1,0,0)|0;case"i16":return SAFE_HEAP_LOAD(ptr|0,2,0,0)|0;case"i32":return SAFE_HEAP_LOAD(ptr|0,4,0,0)|0;case"i64":return SAFE_HEAP_LOAD(ptr|0,8,0,0)|0;case"float":return+SAFE_HEAP_LOAD(ptr|0,4,1,0);case"double":return+SAFE_HEAP_LOAD(ptr|0,8,1,0);default:abort("invalid type for setValue: "+type)}}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[_malloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}assert(type,"Must know what type to store in allocate!");if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){assert(ptr+i<TOTAL_MEMORY);t=SAFE_HEAP_LOAD(ptr+i|0,1,0,1)|0;hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=SAFE_HEAP_LOAD(ptr++|0,1,0,0)|0;if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;function UTF8ArrayToString(u8Array,idx){var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){assert(typeof maxBytesToWrite=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;function UTF16ToString(ptr){var i=0;var str="";while(1){var codeUnit=SAFE_HEAP_LOAD(ptr+i*2|0,2,0,0)|0;if(codeUnit==0)return str;++i;str+=String.fromCharCode(codeUnit)}}Module["UTF16ToString"]=UTF16ToString;function stringToUTF16(str,outPtr,maxBytesToWrite){assert(typeof maxBytesToWrite=="number","stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite<str.length*2?maxBytesToWrite/2:str.length;for(var i=0;i<numCharsToWrite;++i){var codeUnit=str.charCodeAt(i);SAFE_HEAP_STORE(outPtr|0,codeUnit|0,2,0)|0;outPtr+=2}SAFE_HEAP_STORE(outPtr|0,0|0,2,0)|0;return outPtr-startPtr}Module["stringToUTF16"]=stringToUTF16;function lengthBytesUTF16(str){return str.length*2}Module["lengthBytesUTF16"]=lengthBytesUTF16;function UTF32ToString(ptr){var i=0;var str="";while(1){var utf32=SAFE_HEAP_LOAD(ptr+i*4|0,4,0,0)|0;if(utf32==0)return str;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}}Module["UTF32ToString"]=UTF32ToString;function stringToUTF32(str,outPtr,maxBytesToWrite){assert(typeof maxBytesToWrite=="number","stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i<str.length;++i){var codeUnit=str.charCodeAt(i);if(codeUnit>=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}SAFE_HEAP_STORE(outPtr|0,codeUnit|0,4,0)|0;outPtr+=4;if(outPtr+4>endPtr)break}SAFE_HEAP_STORE(outPtr|0,0|0,4,0)|0;return outPtr-startPtr}Module["stringToUTF32"]=stringToUTF32;function lengthBytesUTF32(str){var len=0;for(var i=0;i<str.length;++i){var codeUnit=str.charCodeAt(i);if(codeUnit>=55296&&codeUnit<=57343)++i;len+=4}return len}Module["lengthBytesUTF32"]=lengthBytesUTF32;function demangle(func){var hasLibcxxabi=!!Module["___cxa_demangle"];if(hasLibcxxabi){try{var buf=_malloc(func.length);writeStringToMemory(func.substr(1),buf);var status=_malloc(4);var ret=Module["___cxa_demangle"](buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}}var i=3;var basicTypes={"v":"void","b":"bool","c":"char","s":"short","i":"int","l":"long","f":"float","d":"double","w":"wchar_t","a":"signed char","h":"unsigned char","t":"unsigned short","j":"unsigned int","m":"unsigned long","x":"long long","y":"unsigned long long","z":"..."};var subs=[];var first=true;function dump(x){if(x)Module.print(x);Module.print(func);var pre="";for(var a=0;a<i;a++)pre+=" ";Module.print(pre+"^")}function parseNested(){i++;if(func[i]==="K")i++;var parts=[];while(func[i]!=="E"){if(func[i]==="S"){i++;var next=func.indexOf("_",i);var num=func.substring(i,next)||0;parts.push(subs[num]||"?");i=next+1;continue}if(func[i]==="C"){parts.push(parts[parts.length-1]);i+=2;continue}var size=parseInt(func.substr(i));var pre=size.toString().length;if(!size||!pre){i--;break}var curr=func.substr(i+pre,size);parts.push(curr);subs.push(curr);i+=pre+size}i++;return parts}function parse(rawList,limit,allowVoid){limit=limit||Infinity;var ret="",list=[];function flushList(){return"("+list.join(", ")+")"}var name;if(func[i]==="N"){name=parseNested().join("::");limit--;if(limit===0)return rawList?[name]:name}else{if(func[i]==="K"||first&&func[i]==="L")i++;var size=parseInt(func.substr(i));if(size){var pre=size.toString().length;name=func.substr(i+pre,size);i+=pre+size}}first=false;if(func[i]==="I"){i++;var iList=parse(true);var iRet=parse(true,1,true);ret+=iRet[0]+" "+name+"<"+iList.join(", ")+">"}else{ret=name}paramLoop:while(i<func.length&&limit-->0){var c=func[i++];if(c in basicTypes){list.push(basicTypes[c])}else{switch(c){case"P":list.push(parse(true,1,true)[0]+"*");break;case"R":list.push(parse(true,1,true)[0]+"&");break;case"L":{i++;var end=func.indexOf("E",i);var size=end-i;list.push(func.substr(i,size));i+=size+2;break};case"A":{var size=parseInt(func.substr(i));i+=size.toString().length;if(func[i]!=="_")throw"?";i++;list.push(parse(true,1,true)[0]+" ["+size+"]");break};case"E":break paramLoop;default:ret+="?"+c;break paramLoop}}}if(!allowVoid&&list.length===1&&list[0]==="void")list=[];if(rawList){if(ret){list.push(ret+"?")}return list}else{return ret+flushList()}}var parsed=func;try{if(func=="Object._main"||func=="_main"){return"main()"}if(typeof func==="number")func=Pointer_stringify(func);if(func[0]!=="_")return func;if(func[1]!=="_")return func;if(func[2]!=="Z")return func;switch(func[3]){case"n":return"operator new()";case"d":return"operator delete()"}parsed=parse()}catch(e){parsed+="?"}if(parsed.indexOf("?")>=0&&!hasLibcxxabi){Runtime.warnOnce("warning: a problem occurred in builtin C++ name demangling; build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling")}return parsed}function demangleAll(text){return text.replace(/__Z[\w\d_]+/g,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module["stackTrace"]=stackTrace;var PAGE_SIZE=4096;function alignMemoryPage(x){if(x%4096>0){x+=4096-x%4096}return x}var HEAP;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;var STATIC_BASE=0,STATICTOP=0,staticSealed=false;var STACK_BASE=0,STACKTOP=0,STACK_MAX=0;var DYNAMIC_BASE=0,DYNAMICTOP=0;function enlargeMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.")}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;var totalMemory=64*1024;while(totalMemory<TOTAL_MEMORY||totalMemory<2*TOTAL_STACK){if(totalMemory<16*1024*1024){totalMemory*=2}else{totalMemory+=16*1024*1024}}if(totalMemory!==TOTAL_MEMORY){Module.printErr("increasing TOTAL_MEMORY to "+totalMemory+" to be compliant with the asm.js spec (and given that TOTAL_STACK="+TOTAL_STACK+")");TOTAL_MEMORY=totalMemory}assert(typeof Int32Array!=="undefined"&&typeof Float64Array!=="undefined"&&!!(new Int32Array(1))["subarray"]&&!!(new Int32Array(1))["set"],"JS engine does not provide full typed array support");var buffer=new ArrayBuffer(TOTAL_MEMORY);HEAP8=new Int8Array(buffer);HEAP16=new Int16Array(buffer);HEAP32=new Int32Array(buffer);HEAPU8=new Uint8Array(buffer);HEAPU16=new Uint16Array(buffer);HEAPU32=new Uint32Array(buffer);HEAPF32=new Float32Array(buffer);HEAPF64=new Float64Array(buffer);HEAP32[0]=255;assert(HEAPU8[0]===255&&HEAPU8[3]===0,"Typed arrays 2 must be run on a little-endian system");Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Runtime.dynCall("v",func)}else{Runtime.dynCall("vi",func,[callback.arg])}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=Module.addOnPreRun=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=Module.addOnInit=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=Module.addOnPreMain=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=Module.addOnExit=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=Module.addOnPostRun=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+")  at offset "+i+" not in 0x00-0xFF.");chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){var array=intArrayFromString(string,dontAddNull);var i=0;while(i<array.length){var chr=array[i];SAFE_HEAP_STORE(buffer+i|0,chr|0,1,0)|0;i=i+1}}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){for(var i=0;i<array.length;i++){SAFE_HEAP_STORE(buffer++|0,array[i]|0,1,0)|0}}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){assert(str.charCodeAt(i)===str.charCodeAt(i)&255);SAFE_HEAP_STORE(buffer++|0,str.charCodeAt(i)|0,1,0)|0}if(!dontAddNull)SAFE_HEAP_STORE(buffer|0,0|0,1,0)|0}Module["writeAsciiToMemory"]=writeAsciiToMemory;function unSign(value,bits,ignore){if(value>=0){return value}return bits<=32?2*Math.abs(1<<bits-1)+value:Math.pow(2,bits)+value}function reSign(value,bits,ignore){if(value<=0){return value}var half=bits<=32?Math.abs(1<<bits-1):Math.pow(2,bits-1);if(value>=half&&(bits<=32||value>half)){value=-2*half+value}return value}if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_min=Math.min;var Math_clz32=Math.clz32;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;var runDependencyTracking={};function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(id){assert(!runDependencyTracking[id]);runDependencyTracking[id]=1;if(runDependencyWatcher===null&&typeof setInterval!=="undefined"){runDependencyWatcher=setInterval((function(){if(ABORT){clearInterval(runDependencyWatcher);runDependencyWatcher=null;return}var shown=false;for(var dep in runDependencyTracking){if(!shown){shown=true;Module.printErr("still waiting on run dependencies:")}Module.printErr("dependency: "+dep)}if(shown){Module.printErr("(end of list)")}}),1e4)}}else{Module.printErr("warning: run dependency added without ID")}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(id){assert(runDependencyTracking[id]);delete runDependencyTracking[id]}else{Module.printErr("warning: run dependency removed without ID")}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;STATIC_BASE=8;STATICTOP=STATIC_BASE+49568;__ATINIT__.push();allocate([32,0,0,0,88,0,0,0,168,0,0,0,224,0,0,0,0,1,0,0,0,0,0,0,67,82,69,65,84,69,32,84,65,66,76,69,32,116,49,40,97,32,73,78,84,69,71,69,82,44,32,98,32,73,78,84,69,71,69,82,44,32,99,32,86,65,82,67,72,65,82,40,49,48,48,41,41,59,0,0,73,78,83,69,82,84,32,73,78,84,79,32,116,49,32,86,65,76,85,69,83,40,49,44,49,51,49,53,51,44,39,116,104,105,114,116,101,101,110,32,116,104,111,117,115,97,110,100,32,111,110,101,32,104,117,110,100,114,101,100,32,102,105,102,116,121,32,116,104,114,101,101,39,41,59,0,0,0,0,0,73,78,83,69,82,84,32,73,78,84,79,32,116,49,32,86,65,76,85,69,83,40,49,44,57,56,55,44,39,115,111,109,101,32,111,116,104,101,114,32,110,117,109,98,101,114,39,41,59,0,0,0,0,0,0,0,83,69,76,69,67,84,32,99,111,117,110,116,40,42,41,32,70,82,79,77,32,116,49,59,0,0,0,0,0,0,0,0,83,69,76,69,67,84,32,97,44,32,98,44,32,99,32,70,82,79,77,32,116,49,59],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);allocate([114,99,32,61,61,32,83,81,76,73,84,69,95,79,75,0,116,101,115,116,46,99,0,0,116,101,115,116,49,0,0,0,99,111,117,110,116,40,42,41,61,50,97,61,49,98,61,49,51,49,53,51,99,61,116,104,105,114,116,101,101,110,32,116,104,111,117,115,97,110,100,32,111,110,101,32,104,117,110,100,114,101,100,32,102,105,102,116,121,32,116,104,114,101,101,97,61,49,98,61,57,56,55,99,61,115,111,109,101,32,111,116,104,101,114,32,110,117,109,98,101,114,0,0,0,0,0,0,115,116,114,99,109,112,40,98,117,102,102,101,114,44,32,69,88,80,69,67,84,69,68,41,32,61,61,32,48,0,0,0,51,46,56,46,57,0,0,0,83,81,76,73,84,69,95,0,104,191,0,0,120,191,0,0,136,191,0,0,152,191,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,254,255,255,127,0,0,0,0,128,0,0,0,244,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,3,0,0,0,44,0,0,0,0,2,0,0,0,0,0,0,208,38,0,0,216,38,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,3,0,0,0,44,0,0,0,0,2,0,0,0,0,0,0,224,38,0,0,240,38,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,3,0,0,0,44,0,0,0,0,2,0,0,0,0,0,0,248,38,0,0,8,39,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,3,0,0,0,44,0,0,0,0,2,0,0,0,0,0,0,16,39,0,0,216,38,0,0,1,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,117,110,105,120,0,0,0,0,7,0,0,0,0,0,0,0,117,110,105,120,45,110,111,110,101,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,117,110,105,120,45,100,111,116,102,105,108,101,0,0,0,0,9,0,0,0,0,0,0,0,117,110,105,120,45,101,120,99,108,0,0,0,0,0,0,0,115,111,117,114,99,101,32,97,110,100,32,100,101,115,116,105,110,97,116,105,111,110,32,109,117,115,116,32,98,101,32,100,105,115,116,105,110,99,116,0,0,0,0,64,0,0,0,0,4,5,3,5,1,5,1,5,2,5,2,5,1,5,1,5,4,5,3,5,1,5,1,5,2,5,2,5,1,5,1,5,115,116,114,105,110,103,32,111,114,32,98,108,111,98,32,116,111,111,32,98,105,103,0,0,145,0,0,0,54,0,0,0,55,0,0,0,31,1,1,1,70,0,10,1,47,0,0,1,35,1,0,0,16,0,4,0,61,0,0,0,24,0,0,0,99,97,110,110,111,116,32,111,112,101,110,32,118,105,114,116,117,97,108,32,116,97,98,108,101,58,32,37,115,0,0,0,99,97,110,110,111,116,32,111,112,101,110,32,116,97,98,108,101,32,119,105,116,104,111,117,116,32,114,111,119,105,100,58,32,37,115,0,0,0,0,0,99,97,110,110,111,116,32,111,112,101,110,32,118,105,101,119,58,32,37,115,0,0,0,0,110,111,32,115,117,99,104,32,99,111,108,117,109,110,58,32,34,37,115,34,0,0,0,0,102,111,114,101,105,103,110,32,107,101,121,0,0,0,0,0,105,110,100,101,120,101,100,0,99,97,110,110,111,116,32,111,112,101,110,32,37,115,32,99,111,108,117,109,110,32,102,111,114,32,119,114,105,116,105,110,103,0,0,0,0,0,0,0,37,115,0,0,0,0,0,0,42,63,91,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,10,10,10,10,10,10,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,64,0,42,42,42,42,42,42,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,4,3,2,5,0,0,0,1,0,2,3,4,2,2,2,1,1,2,3,4,2,2,2,1,2,2,2,2,2,2,2,1,3,3,2,4,2,2,2,1,4,2,2,2,4,5,2,6,5,5,5,5,5,5,5,6,6,5,5,5,5,5,7,1,7,5,5,5,5,5,5,99,114,101,97,116,101,0,0,116,114,105,103,103,101,114,0,116,101,109,112,0,0,0,0,116,101,109,112,111,114,97,114,121,0,0,0,0,0,0,0,101,110,100,0,0,0,0,0,101,120,112,108,97,105,110,0,50,48,49,53,45,48,52,45,48,56,32,49,50,58,49,54,58,51,51,32,56,97,56,102,102,99,56,54,50,101,57,54,102,53,55,97,97,54,57,56,102,57,51,100,101,49,48,100,101,101,50,56,101,54,57,102,54,101,48,57,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,234,3,0,0,0,0,8,0,235,3,0,0,0,0,128,0,117,110,107,110,111,119,110,32,100,97,116,97,98,97,115,101,58,32,37,115,0,0,0,0,111,0,117,0,116,0,32,0,111,0,102,0,32,0,109,0,101,0,109,0,111,0,114,0,121,0,0,0,0,0,0,0,108,0,105,0,98,0,114,0,97,0,114,0,121,0,32,0,114,0,111,0,117,0,116,0,105,0,110,0,101,0,32,0,99,0,97,0,108,0,108,0,101,0,100,0,32,0,111,0,117,0,116,0,32,0,111,0,102,0,32,0,115,0,101,0,113,0,117,0,101,0,110,0,99,0,101,0,0,0,0,0,0,202,154,59,0,202,154,59,208,7,0,0,232,3,0,0,244,1,0,0,168,97,0,0,127,0,0,0,10,0,0,0,80,195,0,0,231,3,0,0,232,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,73,78,84,69,71,69,82,0,66,73,78,65,82,89,0,0,110,111,32,115,117,99,104,32,116,97,98,108,101,32,99,111,108,117,109,110,58,32,37,115,46,37,115,0,0,0,0,0,57,50,50,51,51,55,50,48,51,54,56,53,52,55,55,53,56,48,0,0,0,0,0,0,111,110,111,102,102,97,108,115,101,121,101,115,116,114,117,101,102,117,108,108,0,0,0,0,0,1,2,4,9,12,16,0,2,2,3,5,3,4,4,0,1,0,0,0,1,1,2,0,82,69,73,78,68,69,88,69,68,69,83,67,65,80,69,65,67,72,69,67,75,69,89,66,69,70,79,82,69,73,71,78,79,82,69,71,69,88,80,76,65,73,78,83,84,69,65,68,68,65,84,65,66,65,83,69,76,69,67,84,65,66,76,69,70,84,72,69,78,68,69,70,69,82,82,65,66,76,69,76,83,69,88,67,69,80,84,82,65,78,83,65,67,84,73,79,78,65,84,85,82,65,76,84,69,82,65,73,83,69,88,67,76,85,83,73,86,69,88,73,83,84,83,65,86,69,80,79,73,78,84,69,82,83,69,67,84,82,73,71,71,69,82,69,70,69,82,69,78,67,69,83,67,79,78,83,84,82,65,73,78,84,79,70,70,83,69,84,69,77,80,79,82,65,82,89,85,78,73,81,85,69,82,89,87,73,84,72,79,85,84,69,82,69,76,69,65,83,69,65,84,84,65,67,72,65,86,73,78,71,82,79,85,80,68,65,84,69,66,69,71,73,78,78,69,82,69,67,85,82,83,73,86,69,66,69,84,87,69,69,78,79,84,78,85,76,76,73,75,69,67,65,83,67,65,68,69,76,69,84,69,67,65,83,69,67,79,76,76,65,84,69,67,82,69,65,84,69,67,85,82,82,69,78,84,95,68,65,84,69,68,69,84,65,67,72,73,77,77,69,68,73,65,84,69,74,79,73,78,83,69,82,84,77,65,84,67,72,80,76,65,78,65,76,89,90,69,80,82,65,71,77,65,66,79,82,84,86,65,76,85,69,83,86,73,82,84,85,65,76,73,77,73,84,87,72,69,78,87,72,69,82,69,78,65,77,69,65,70,84,69,82,69,80,76,65,67,69,65,78,68,69,70,65,85,76,84,65,85,84,79,73,78,67,82,69,77,69,78,84,67,65,83,84,67,79,76,85,77,78,67,79,77,77,73,84,67,79,78,70,76,73,67,84,67,82,79,83,83,67,85,82,82,69,78,84,95,84,73,77,69,83,84,65,77,80,82,73,77,65,82,89,68,69,70,69,82,82,69,68,73,83,84,73,78,67,84,68,82,79,80,70,65,73,76,70,82,79,77,70,85,76,76,71,76,79,66,89,73,70,73,83,78,85,76,76,79,82,68,69,82,69,83,84,82,73,67,84,82,73,71,72,84,82,79,76,76,66,65,67,75,82,79,87,85,78,73,79,78,85,83,73,78,71,86,65,67,85,85,77,86,73,69,87,73,78,73,84,73,65,76,76,89,0,0,0,0,0,0,0,76,105,117,74,0,45,0,0,82,0,77,0,0,42,12,78,15,0,116,85,54,112,0,19,0,0,121,0,119,115,0,22,93,0,9,0,0,70,71,0,69,6,0,48,90,102,0,118,101,0,0,44,0,103,24,0,17,0,122,53,23,0,5,110,25,96,0,0,124,106,60,123,57,28,55,0,91,0,100,26,0,99,0,0,0,95,92,97,88,109,14,39,108,0,81,0,18,89,111,32,0,120,80,113,62,46,84,0,0,94,40,59,114,0,36,0,0,29,0,86,63,64,0,20,61,0,56,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,13,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33,0,21,0,0,0,0,0,50,0,43,3,47,0,0,0,0,30,0,58,0,38,0,0,0,1,66,0,0,67,0,41,0,0,0,0,0,0,49,65,0,0,0,0,31,52,16,34,10,0,0,0,0,0,0,0,11,72,79,0,8,0,104,98,0,107,0,87,0,75,51,0,27,37,73,83,0,35,68,0,0,0,0,0,0,7,7,5,4,6,4,5,3,6,7,3,6,6,7,7,3,8,2,6,5,4,4,3,10,4,6,11,6,2,7,5,5,9,6,9,9,7,10,10,4,6,2,3,9,4,2,6,5,7,4,5,7,6,6,5,6,5,5,9,7,7,3,2,4,4,7,3,6,4,7,6,12,6,9,4,6,5,4,7,6,5,6,7,5,4,5,6,5,7,3,7,13,2,2,4,6,6,8,5,17,12,7,8,8,2,4,4,4,4,4,2,2,6,5,8,5,8,3,5,5,6,4,9,3,0,0,0,0,0,0,2,0,2,0,8,0,9,0,14,0,16,0,20,0,23,0,25,0,25,0,29,0,33,0,36,0,41,0,46,0,48,0,53,0,54,0,59,0,62,0,65,0,67,0,69,0,78,0,81,0,86,0,91,0,95,0,96,0,101,0,105,0,109,0,117,0,122,0,128,0,136,0,142,0,152,0,159,0,162,0,162,0,165,0,167,0,167,0,171,0,176,0,179,0,184,0,184,0,188,0,192,0,199,0,204,0,209,0,212,0,218,0,221,0,225,0,234,0,240,0,240,0,240,0,243,0,246,0,250,0,251,0,255,0,5,1,9,1,16,1,22,1,34,1,40,1,49,1,51,1,57,1,62,1,64,1,71,1,76,1,81,1,87,1,93,1,98,1,102,1,105,1,111,1,115,1,122,1,124,1,131,1,133,1,135,1,144,1,148,1,154,1,160,1,168,1,173,1,173,1,189,1,196,1,203,1,204,1,211,1,215,1,219,1,223,1,227,1,230,1,232,1,234,1,240,1,244,1,252,1,1,2,9,2,12,2,17,2,22,2,28,2,32,2,37,2,67,28,140,42,84,44,104,53,35,113,46,47,50,2,49,142,41,24,119,16,98,138,11,112,139,117,6,30,107,98,141,57,9,20,13,118,62,105,99,131,55,54,111,21,21,71,103,3,25,66,98,14,34,128,127,110,5,98,58,74,77,19,52,101,50,37,33,109,136,95,17,69,43,8,124,108,51,4,32,56,29,120,65,129,137,130,68,31,59,72,100,106,15,75,38,39,10,40,98,69,69,102,7,121,73,114,45,123,98,50,36,18,76,126,60,98,12,61,115,125,63,64,48,116,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,95,82,79,87,73,68,95,0,82,79,87,73,68,0,0,0,79,73,68,0,0,0,0,0,67,82,69,65,84,69,32,84,65,66,76,69,32,115,113,108,105,116,101,95,109,97,115,116,101,114,40,10,32,32,116,121,112,101,32,116,101,120,116,44,10,32,32,110,97,109,101,32,116,101,120,116,44,10,32,32,116,98,108,95,110,97,109,101,32,116,101,120,116,44,10,32,32,114,111,111,116,112,97,103,101,32,105,110,116,101,103,101,114,44,10,32,32,115,113,108,32,116,101,120,116,10,41,0,67,82,69,65,84,69,32,84,69,77,80,32,84,65,66,76,69,32,115,113,108,105,116,101,95,116,101,109,112,95,109,97,115,116,101,114,40,10,32,32,116,121,112,101,32,116,101,120,116,44,10,32,32,110,97,109,101,32,116,101,120,116,44,10,32,32,116,98,108,95,110,97,109,101,32,116,101,120,116,44,10,32,32,114,111,111,116,112,97,103,101,32,105,110,116,101,103,101,114,44,10,32,32,115,113,108,32,116,101,120,116,10,41,0,0,0,0,0,0,0,115,113,108,105,116,101,95,116,101,109,112,95,109,97,115,116,101,114,0,0,0,0,0,0,115,113,108,105,116,101,95,109,97,115,116,101,114,0,0,0,49,0,0,0,0,0,0,0,97,116,116,97,99,104,101,100,32,100,97,116,97,98,97,115,101,115,32,109,117,115,116,32,117,115,101,32,116,104,101,32,115,97,109,101,32,116,101,120,116,32,101,110,99,111,100,105,110,103,32,97,115,32,109,97,105,110,32,100,97,116,97,98,97,115,101,0,0,0,0,0,117,110,115,117,112,112,111,114,116,101,100,32,102,105,108,101,32,102,111,114,109,97,116,0,83,69,76,69,67,84,32,110,97,109,101,44,32,114,111,111,116,112,97,103,101,44,32,115,113,108,32,70,82,79,77,32,39,37,113,39,46,37,115,32,79,82,68,69,82,32,66,89,32,114,111,119,105,100,0,0,115,113,108,105,116,101,95,115,116,97,116,49,0,0,0,0,83,69,76,69,67,84,32,116,98,108,44,105,100,120,44,115,116,97,116,32,70,82,79,77,32,37,81,46,115,113,108,105,116,101,95,115,116,97,116,49,0,0,0,0,0,0,0,0,117,110,111,114,100,101,114,101,100,42,0,0,0,0,0,0,115,122,61,91,48,45,57,93,42,0,0,0,0,0,0,0,110,111,115,107,105,112,115,99,97,110,42,0,0,0,0,0,0,0,2,0,3,0,5,0,6,0,7,0,8,0,9,0,33,0,32,0,30,0,28,0,26,0,0,0,0,0,0,0,105,110,118,97,108,105,100,32,114,111,111,116,112,97,103,101,0,0,0,0,0,0,0,0,63,0,0,0,0,0,0,0,109,97,108,102,111,114,109,101,100,32,100,97,116,97,98,97,115,101,32,115,99,104,101,109,97,32,40,37,115,41,0,0,37,115,32,45,32,37,115,0,100,97,116,97,98,97,115,101,32,99,111,114,114,117,112,116,105,111,110,32,97,116,32,108,105,110,101,32,37,100,32,111,102,32,91,37,46,49,48,115,93,0,0,0,0,0,0,0,109,105,115,117,115,101,32,97,116,32,108,105,110,101,32,37,100,32,111,102,32,91,37,46,49,48,115,93,0,0,0,0,117,110,97,98,108,101,32,116,111,32,100,101,108,101,116,101,47,109,111,100,105,102,121,32,99,111,108,108,97,116,105,111,110,32,115,101,113,117,101,110,99,101,32,100,117,101,32,116,111,32,97,99,116,105,118,101,32,115,116,97,116,101,109,101,110,116,115,0,0,0,0,0,78,79,67,65,83,69,0,0,82,84,82,73,77,0,0,0,109,97,105,110,0,0,0,0,10,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,6,0,0,0,3,0,0,0,11,0,0,0,2,0,0,0,12,0,0,0,13,0,0,0,3,0,0,0,4,0,0,0,7,0,0,0,8,0,0,0,14,0,0,0,3,0,0,0,4,0,0,0,9,0,0,0,10,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,19,0,0,0,1,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,11,0,0,0,6,0,0,0,7,0,0,0,5,0,0,0,6,0,0,0,1,0,0,0,2,0,0,0,4,0,0,0,8,0,0,0,9,0,0,0,28,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,7,0,0,0,14,0,0,0,15,0,0,0,1,0,0,0,2,0,0,0,16,0,0,0,29,0,0,0,1,0,0,0,0,0,0,0,3,0,0,0,17,0,0,0,1,0,0,0,2,0,0,0,18,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,8,0,0,0,9,0,0,0,12,0,0,0,1,0,0,0,33,0,0,0,19,0,0,0,2,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,2,0,0,0,4,0,0,0,4,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,3,0,0,0,13,0,0,0,14,0,0,0,7,0,0,0,5,0,0,0,20,0,0,0,1,0,0,0,1,0,0,0,21,0,0,0,15,0,0,0,34,0,0,0,16,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,1,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,35,0,0,0,17,0,0,0,10,0,0,0,11,0,0,0,34,0,0,0,12,0,0,0,18,0,0,0,35,0,0,0,36,0,0,0,3,0,0,0,6,0,0,0,7,0,0,0,2,0,0,0,8,0,0,0,37,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,38,0,0,0,5,0,0,0,6,0,0,0,39,0,0,0,7,0,0,0,40,0,0,0,36,0,0,0,41,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,37,0,0,0,6,0,0,0,42,0,0,0,38,0,0,0,19,0,0,0,39,0,0,0,43,0,0,0,10,0,0,0,44,0,0,0,11,0,0,0,45,0,0,0,46,0,0,0,40,0,0,0,47,0,0,0,48,0,0,0,2,0,0,0,20,0,0,0,49,0,0,0,13,0,0,0,50,0,0,0,5,0,0,0,41,0,0,0,5,0,0,0,21,0,0,0,22,0,0,0,0,0,0,0,42,0,0,0,43,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,51,0,0,0,52,0,0,0,44,0,0,0,45,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,46,0,0,0,26,0,0,0,12,0,0,0,47,0,0,0,13,0,0,0,14,0,0,0,57,0,0,0,3,0,0,0,1,0,0,0,58,0,0,0,14,0,0,0,48,0,0,0,59,0,0,0,27,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,49,0,0,0,97,117,116,111,109,97,116,105,99,32,101,120,116,101,110,115,105,111,110,32,108,111,97,100,105,110,103,32,102,97,105,108,101,100,58,32,37,115,0,0,77,65,84,67,72,0,0,0,58,109,101,109,111,114,121,58,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,60,0,0,0,15,0,0,0,16,0,0,0,28,0,0,0,50,0,0,0,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,114,101,99,111,118,101,114,101,100,32,37,100,32,112,97,103,101,115,32,102,114,111,109,32,37,115,0,0,0,0,0,0,217,213,5,249,32,161,99,215,99,97,110,110,111,116,32,108,105,109,105,116,32,87,65,76,32,115,105,122,101,58,32,37,115,0,0,0,0,0,0,0,99,97,110,110,111,116,32,111,112,101,110,32,102,105,108,101,32,97,116,32,108,105,110,101,32,37,100,32,111,102,32,91,37,46,49,48,115,93,0,0,114,101,99,111,118,101,114,101,100,32,37,100,32,102,114,97,109,101,115,32,102,114,111,109,32,87,65,76,32,102,105,108,101,32,37,115,0,0,0,0,45,106,111,117,114,110,97,108,0,0,0,0,0,0,0,0,45,119,97,108,0,0,0,0,110,111,108,111,99,107,0,0,105,109,109,117,116,97,98,108,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,102,105,108,101,58,0,0,0,108,111,99,97,108,104,111,115,116,0,0,0,0,0,0,0,105,110,118,97,108,105,100,32,117,114,105,32,97,117,116,104,111,114,105,116,121,58,32,37,46,42,115,0,0,0,0,0,118,102,115,0,0,0,0,0,99,97,99,104,101,0,0,0,232,58,0,0,0,0,2,0,240,58,0,0,0,0,4,0,0,0,0,0,0,0,0,0,115,104,97,114,101,100,0,0,112,114,105,118,97,116,101,0,109,111,100,101,0,0,0,0,40,59,0,0,1,0,0,0,48,59,0,0,2,0,0,0,56,59,0,0,6,0,0,0,64,59,0,0,128,0,0,0,0,0,0,0,0,0,0,0,114,111,0,0,0,0,0,0,114,119,0,0,0,0,0,0,114,119,99,0,0,0,0,0,109,101,109,111,114,121,0,0,97,99,99,101,115,115,0,0,110,111,32,115,117,99,104,32,37,115,32,109,111,100,101,58,32,37,115,0,0,0,0,0,37,115,32,109,111,100,101,32,110,111,116,32,97,108,108,111,119,101,100,58,32,37,115,0,110,111,32,115,117,99,104,32,118,102,115,58,32,37,115,0,105,110,118,97,108,105,100,0,65,80,73,32,99,97,108,108,32,119,105,116,104,32,37,115,32,100,97,116,97,98,97,115,101,32,99,111,110,110,101,99,116,105,111,110,32,112,111,105,110,116,101,114,0,0,0,0,117,110,97,98,108,101,32,116,111,32,117,115,101,32,102,117,110,99,116,105,111,110,32,37,115,32,105,110,32,116,104,101,32,114,101,113,117,101,115,116,101,100,32,99,111,110,116,101,120,116,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,0,1,2,3,0,1,0,0,117,110,97,98,108,101,32,116,111,32,100,101,108,101,116,101,47,109,111,100,105,102,121,32,117,115,101,114,45,102,117,110,99,116,105,111,110,32,100,117,101,32,116,111,32,97,99,116,105,118,101,32,115,116,97,116,101,109,101,110,116,115,0,0,240,60,0,0,0,61,0,0,0,0,0,0,40,61,0,0,72,61,0,0,104,61,0,0,128,61,0,0,160,61,0,0,176,61,0,0,216,61,0,0,232,61,0,0,248,61,0,0,32,62,0,0,56,62,0,0,88,62,0,0,120,62,0,0,144,62,0,0,168,62,0,0,112,39,0,0,200,62,0,0,224,62,0,0,248,62,0,0,32,63,0,0,64,63,0,0,88,63,0,0,120,63,0,0,160,63,0,0,0,0,0,0,110,111,116,32,97,110,32,101,114,114,111,114,0,0,0,0,83,81,76,32,108,111,103,105,99,32,101,114,114,111,114,32,111,114,32,109,105,115,115,105,110,103,32,100,97,116,97,98,97,115,101,0,0,0,0,0,97,99,99,101,115,115,32,112,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,0,0,0,0,0,0,0,99,97,108,108,98,97,99,107,32,114,101,113,117,101,115,116,101,100,32,113,117,101,114,121,32,97,98,111,114,116,0,0,100,97,116,97,98,97,115,101,32,105,115,32,108,111,99,107,101,100,0,0,0,0,0,0,100,97,116,97,98,97,115,101,32,116,97,98,108,101,32,105,115,32,108,111,99,107,101,100,0,0,0,0,0,0,0,0,111,117,116,32,111,102,32,109,101,109,111,114,121,0,0,0,97,116,116,101,109,112,116,32,116,111,32,119,114,105,116,101,32,97,32,114,101,97,100,111,110,108,121,32,100,97,116,97,98,97,115,101,0,0,0,0,105,110,116,101,114,114,117,112,116,101,100,0,0,0,0,0,100,105,115,107,32,73,47,79,32,101,114,114,111,114,0,0,100,97,116,97,98,97,115,101,32,100,105,115,107,32,105,109,97,103,101,32,105,115,32,109,97,108,102,111,114,109,101,100,0,0,0,0,0,0,0,0,117,110,107,110,111,119,110,32,111,112,101,114,97,116,105,111,110,0,0,0,0,0,0,0,100,97,116,97,98,97,115,101,32,111,114,32,100,105,115,107,32,105,115,32,102,117,108,108,0,0,0,0,0,0,0,0,117,110,97,98,108,101,32,116,111,32,111,112,101,110,32,100,97,116,97,98,97,115,101,32,102,105,108,101,0,0,0,0,108,111,99,107,105,110,103,32,112,114,111,116,111,99,111,108,0,0,0,0,0,0,0,0,116,97,98,108,101,32,99,111,110,116,97,105,110,115,32,110,111,32,100,97,116,97,0,0,100,97,116,97,98,97,115,101,32,115,99,104,101,109,97,32,104,97,115,32,99,104,97,110,103,101,100,0,0,0,0,0,99,111,110,115,116,114,97,105,110,116,32,102,97,105,108,101,100,0,0,0,0,0,0,0,100,97,116,97,116,121,112,101,32,109,105,115,109,97,116,99,104,0,0,0,0,0,0,0,108,105,98,114,97,114,121,32,114,111,117,116,105,110,101,32,99,97,108,108,101,100,32,111,117,116,32,111,102,32,115,101,113,117,101,110,99,101,0,0,108,97,114,103,101,32,102,105,108,101,32,115,117,112,112,111,114,116,32,105,115,32,100,105,115,97,98,108,101,100,0,0,97,117,116,104,111,114,105,122,97,116,105,111,110,32,100,101,110,105,101,100,0,0,0,0,97,117,120,105,108,105,97,114,121,32,100,97,116,97,98,97,115,101,32,102,111,114,109,97,116,32,101,114,114,111,114,0,98,105,110,100,32,111,114,32,99,111,108,117,109,110,32,105,110,100,101,120,32,111,117,116,32,111,102,32,114,97,110,103,101,0,0,0,0,0,0,0,102,105,108,101,32,105,115,32,101,110,99,114,121,112,116,101,100,32,111,114,32,105,115,32,110,111,116,32,97,32,100,97,116,97,98,97,115,101,0,0,117,110,107,110,111,119,110,32,101,114,114,111,114,0,0,0,97,98,111,114,116,32,100,117,101,32,116,111,32,82,79,76,76,66,65,67,75,0,0,0,117,110,97,98,108,101,32,116,111,32,99,108,111,115,101,32,100,117,101,32,116,111,32,117,110,102,105,110,97,108,105,122,101,100,32,115,116,97,116,101,109,101,110,116,115,32,111,114,32,117,110,102,105,110,105,115,104,101,100,32,98,97,99,107,117,112,115,0,0,0,0,0,1,0,0,0,0,0,0,0,61,0,0,0,8,0,0,0,29,0,0,0,7,0,0,0,62,0,0,0,30,0,0,0,6,0,0,0,8,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,0,0,0,0,63,0,0,0,11,0,0,0,52,0,0,0,64,0,0,0,65,0,0,0,66,0,0,0,12,0,0,0,0,0,0,0,102,97,105,108,101,100,32,109,101,109,111,114,121,32,114,101,115,105,122,101,32,37,117,32,116,111,32,37,117,32,98,121,116,101,115,0,0,0,0,0,102,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,37,117,32,98,121,116,101,115,32,111,102,32,109,101,109,111,114,121,0,0,0,1,0,1,8,1,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,48,73,0,0,0,0,0,0,0,0,0,0,2,0,1,8,1,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,48,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,2,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,56,73,0,0,0,0,0,0,0,0,0,0,2,0,1,8,2,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,56,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,3,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,64,73,0,0,0,0,0,0,0,0,0,0,2,0,1,8,3,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,64,73,0,0,0,0,0,0,0,0,0,0,255,255,33,8,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,72,73,0,0,0,0,0,0,0,0,0,0,0,0,33,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,73,0,0,0,0,0,0,0,0,0,0,1,0,33,16,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,13,0,0,0,72,73,0,0,0,0,0,0,0,0,0,0,255,255,33,8,1,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,80,73,0,0,0,0,0,0,0,0,0,0,0,0,33,8,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,80,73,0,0,0,0,0,0,0,0,0,0,1,0,33,16,1,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,13,0,0,0,80,73,0,0,0,0,0,0,0,0,0,0,1,0,129,8,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,88,73,0,0,0,0,0,0,0,0,0,0,1,0,65,8,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,96,73,0,0,0,0,0,0,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,104,73,0,0,0,0,0,0,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,112,73,0,0,0,0,0,0,0,0,0,0,3,0,1,8,0,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,112,73,0,0,0,0,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,120,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0,128,73,0,0,0,0,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,136,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,144,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,152,73,0,0,0,0,0,0,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,152,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,160,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,168,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,176,73,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,176,73,0,0,0,0,0,0,0,0,0,0,255,255,1,10,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,176,73,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0,192,73,0,0,0,0,0,0,0,0,0,0,2,0,1,10,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,200,73,0,0,0,0,0,0,0,0,0,0,1,0,1,12,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,208,73,0,0,0,0,0,0,0,0,0,0,2,0,1,12,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,224,73,0,0,0,0,0,0,0,0,0,0,1,0,1,12,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,240,73,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,248,73,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,74,0,0,0,0,0,0,0,0,0,0,2,0,33,8,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,16,74,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,24,74,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,40,74,0,0,0,0,0,0,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,0,64,74,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0,0,0,80,74,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,112,74,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,30,0,0,0,0,0,0,0,0,0,0,0,144,74,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,152,74,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,176,74,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0,0,184,74,0,0,0,0,0,0,0,0,0,0,3,0,1,8,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0,0,0,0,200,74,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,208,74,0,0,0,0,0,0,0,0,0,0,1,0,1,8,0,0,0,0,0,0,0,0,36,0,0,0,0,0,0,0,0,0,0,0,224,74,0,0,0,0,0,0,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,36,0,0,0,0,0,0,0,0,0,0,0,224,74,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,37,0,0,0,14,0,0,0,240,74,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,37,0,0,0,15,0,0,0,248,74,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,37,0,0,0,16,0,0,0,0,75,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,38,0,0,0,17,0,0,0,8,75,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,38,0,0,0,17,0,0,0,8,75,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,39,0,0,0,18,0,0,0,16,75,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,39,0,0,0,18,0,0,0,16,75,0,0,0,0,0,0,0,0,0,0,2,0,13,8,112,40,0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,32,75,0,0,0,0,0,0,0,0,0,0,2,0,5,8,40,75,0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,48,75,0,0,0,0,0,0,0,0,0,0,3,0,5,8,40,75,0,0,0,0,0,0,40],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+8464);allocate([48,75,0,0,0,0,0,0,0,0,0,0,0,0,0,0,108,116,114,105,109,0,0,0,114,116,114,105,109,0,0,0,116,114,105,109,0,0,0,0,109,105,110,0,0,0,0,0,109,97,120,0,0,0,0,0,116,121,112,101,111,102,0,0,108,101,110,103,116,104,0,0,105,110,115,116,114,0,0,0,115,117,98,115,116,114,0,0,112,114,105,110,116,102,0,0,117,110,105,99,111,100,101,0,99,104,97,114,0,0,0,0,97,98,115,0,0,0,0,0,114,111,117,110,100,0,0,0,117,112,112,101,114,0,0,0,108,111,119,101,114,0,0,0,99,111,97,108,101,115,99,101,0,0,0,0,0,0,0,0,104,101,120,0,0,0,0,0,105,102,110,117,108,108,0,0,117,110,108,105,107,101,108,121,0,0,0,0,0,0,0,0,108,105,107,101,108,105,104,111,111,100,0,0,0,0,0,0,108,105,107,101,108,121,0,0,114,97,110,100,111,109,0,0,114,97,110,100,111,109,98,108,111,98,0,0,0,0,0,0,110,117,108,108,105,102,0,0,115,113,108,105,116,101,95,118,101,114,115,105,111,110,0,0,115,113,108,105,116,101,95,115,111,117,114,99,101,95,105,100,0,0,0,0,0,0,0,0,115,113,108,105,116,101,95,108,111,103,0,0,0,0,0,0,115,113,108,105,116,101,95,99,111,109,112,105,108,101,111,112,116,105,111,110,95,117,115,101,100,0,0,0,0,0,0,0,115,113,108,105,116,101,95,99,111,109,112,105,108,101,111,112,116,105,111,110,95,103,101,116,0,0,0,0,0,0,0,0,113,117,111,116,101,0,0,0,108,97,115,116,95,105,110,115,101,114,116,95,114,111,119,105,100,0,0,0,0,0,0,0,99,104,97,110,103,101,115,0,116,111,116,97,108,95,99,104,97,110,103,101,115,0,0,0,114,101,112,108,97,99,101,0,122,101,114,111,98,108,111,98,0,0,0,0,0,0,0,0,108,111,97,100,95,101,120,116,101,110,115,105,111,110,0,0,115,117,109,0,0,0,0,0,116,111,116,97,108,0,0,0,97,118,103,0,0,0,0,0,99,111,117,110,116,0,0,0,103,114,111,117,112,95,99,111,110,99,97,116,0,0,0,0,103,108,111,98,0,0,0,0,37,95,0,1,0,0,0,0,108,105,107,101,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,168,75,0,0,0,0,0,0,0,0,0,0,2,0,1,8,0,0,0,0,0,0,0,0,42,0,0,0,0,0,0,0,0,0,0,0,192,75,0,0,0,0,0,0,0,0,0,0,3,0,1,8,0,0,0,0,0,0,0,0,43,0,0,0,0,0,0,0,0,0,0,0,216,75,0,0,0,0,0,0,0,0,0,0,0,0,0,0,115,113,108,105,116,101,95,114,101,110,97,109,101,95,116,97,98,108,101,0,0,0,0,0,115,113,108,105,116,101,95,114,101,110,97,109,101,95,116,114,105,103,103,101,114,0,0,0,115,113,108,105,116,101,95,114,101,110,97,109,101,95,112,97,114,101,110,116,0,0,0,0,37,115,37,46,42,115,34,37,119,34,0,0,0,0,0,0,37,115,37,115,0,0,0,0,37,46,42,115,34,37,119,34,37,115,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,56,77,0,0,0,0,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,45,0,0,0,0,0,0,0,0,0,0,0,72,77,0,0,0,0,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,46,0,0,0,0,0,0,0,0,0,0,0,80,77,0,0,0,0,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,88,77,0,0,0,0,0,0,0,0,0,0,255,255,1,8,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,104,77,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0,120,77,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,0,0,0,0,136,77,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,51,0,0,0,0,0,0,0,0,0,0,0,160,77,0,0,0,0,0,0,0,0,0,0,106,117,108,105,97,110,100,97,121,0,0,0,0,0,0,0,100,97,116,101,0,0,0,0,116,105,109,101,0,0,0,0,100,97,116,101,116,105,109,101,0,0,0,0,0,0,0,0,115,116,114,102,116,105,109,101,0,0,0,0,0,0,0,0,99,117,114,114,101,110,116,95,116,105,109,101,0,0,0,0,99,117,114,114,101,110,116,95,116,105,109,101,115,116,97,109,112,0,0,0,0,0,0,0,99,117,114,114,101,110,116,95,100,97,116,101,0,0,0,0,37,48,50,100,0,0,0,0,37,48,54,46,51,102,0,0,37,48,51,100,0,0,0,0,37,46,49,54,103,0,0,0,37,108,108,100,0,0,0,0,37,48,52,100,0,0,0,0,108,111,99,97,108,116,105,109,101,0,0,0,0,0,0,0,117,110,105,120,101,112,111,99,104,0,0,0,0,0,0,0,117,116,99,0,0,0,0,0,119,101,101,107,100,97,121,32,0,0,0,0,0,0,0,0,115,116,97,114,116,32,111,102,32,0,0,0,0,0,0,0,109,111,110,116,104,0,0,0,121,101,97,114,0,0,0,0,100,97,121,0,0,0,0,0,104,111,117,114,0,0,0,0,109,105,110,117,116,101,0,0,115,101,99,111,110,100,0,0,108,111,99,97,108,32,116,105,109,101,32,117,110,97,118,97,105,108,97,98,108,101,0,0,110,111,119,0,0,0,0,0,37,48,52,100,45,37,48,50,100,45,37,48,50,100,32,37,48,50,100,58,37,48,50,100,58,37,48,50,100,0,0,0,37,48,50,100,58,37,48,50,100,58,37,48,50,100,0,0,37,48,52,100,45,37,48,50,100,45,37,48,50,100,0,0,76,73,75,69,32,111,114,32,71,76,79,66,32,112,97,116,116,101,114,110,32,116,111,111,32,99,111,109,112,108,101,120,0,0,0,0,0,0,0,0,69,83,67,65,80,69,32,101,120,112,114,101,115,115,105,111,110,32,109,117,115,116,32,98,101,32,97,32,115,105,110,103,108,101,32,99,104,97,114,97,99,116,101,114,0,0,0,0,44,0,0,0,0,0,0,0,105,110,116,101,103,101,114,32,111,118,101,114,102,108,111,119,0,0,0,0,0,0,0,0,37,33,46,49,53,103,0,0,37,33,46,50,48,101,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,78,85,76,76,0,0,0,0,37,46,42,102,0,0,0,0,105,110,116,101,103,101,114,0,116,101,120,116,0,0,0,0,114,101,97,108,0,0,0,0,98,108,111,98,0,0,0,0,110,117,108,108,0,0,0,0,1,0,0,0,0,0,0,0,152,79,0,0,0,0,0,0,32,0,0,0,0,0,0,0,105,110,116,101,114,114,117,112,116,0,0,0,0,0,0,0,117,110,114,101,99,111,103,110,105,122,101,100,32,116,111,107,101,110,58,32,34,37,84,34,0,0,0,0,0,0,0,0,110,101,97,114,32,34,37,84,34,58,32,115,121,110,116,97,120,32,101,114,114,111,114,0,114,111,119,105,100,0,0,0,117,110,107,110,111,119,110,32,116,97,98,108,101,32,111,112,116,105,111,110,58,32,37,46,42,115,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,116,111,111,32,109,97,110,121,32,116,101,114,109,115,32,105,110,32,99,111,109,112,111,117,110,100,32,83,69,76,69,67,84,0,0,0,0,0,0,0,115,101,116,32,108,105,115,116,0,0,0,0,0,0,0,0,116,111,111,32,109,97,110,121,32,97,114,103,117,109,101,110,116,115,32,111,110,32,102,117,110,99,116,105,111,110,32,37,84,0,0,0,0,0,0,0,8,130,0,0,1,0,0,0,168,51,0,0,1,0,0,0,105,110,100,101,120,0,0,0,113,117,97,108,105,102,105,101,100,32,116,97,98,108,101,32,110,97,109,101,115,32,97,114,101,32,110,111,116,32,97,108,108,111,119,101,100,32,111,110,32,73,78,83,69,82,84,44,32,85,80,68,65,84,69,44,32,97,110,100,32,68,69,76,69,84,69,32,115,116,97,116,101,109,101,110,116,115,32,119,105,116,104,105,110,32,116,114,105,103,103,101,114,115,0,0,116,104,101,32,73,78,68,69,88,69,68,32,66,89,32,99,108,97,117,115,101,32,105,115,32,110,111,116,32,97,108,108,111,119,101,100,32,111,110,32,85,80,68,65,84,69,32,111,114,32,68,69,76,69,84,69,32,115,116,97,116,101,109,101,110,116,115,32,119,105,116,104,105,110,32,116,114,105,103,103,101,114,115,0,0,0,0,0,116,104,101,32,78,79,84,32,73,78,68,69,88,69,68,32,99,108,97,117,115,101,32,105,115,32,110,111,116,32,97,108,108,111,119,101,100,32,111,110,32,85,80,68,65,84,69,32,111,114,32,68,69,76,69,84,69,32,115,116,97,116,101,109,101,110,116,115,32,119,105,116,104,105,110,32,116,114,105,103,103,101,114,115,0,0,0,0,144,1,145,2,145,1,146,1,146,3,147,0,147,1,147,3,148,1,149,3,151,0,151,1,151,2,150,0,150,1,150,1,150,1,149,2,149,2,149,2,153,1,153,0,149,2,149,3,149,5,149,2,154,6,156,1,158,0,158,3,157,1,157,0,155,5,155,2,162,0,162,2,160,3,160,1,164,3,165,1,152,1,152,1,152,1,166,0,166,1,168,1,168,4,168,6,169,1,169,2,170,1,170,1,167,2,167,0,173,2,173,2,173,4,173,3,173,3,173,2,173,2,173,3,173,5,173,2,173,4,173,4,173,1,173,2,178,0,178,1,180,0,180,2,182,2,182,3,182,3,182,3,183,2,183,2,183,1,183,1,183,2,181,3,181,2,184,0,184,2,184,2,161,0,161,2,185,3,185,1,186,1,186,0,187,2,187,7,187,5,187,5,187,10,189,0,189,1,176,0,176,3,190,0,190,2,191,1,191,1,191,1,149,4,193,2,193,0,149,8,149,4,149,1,163,2,195,1,195,3,198,1,198,2,198,1,196,9,196,1,207,4,207,5,199,1,199,1,199,0,210,2,210,0,200,3,200,2,200,4,211,2,211,1,211,0,201,0,201,2,213,2,213,0,212,7,212,7,212,7,159,0,159,2,194,2,214,1,214,2,214,3,214,4,216,2,216,0,215,0,215,3,215,2,217,4,217,0,205,0,205,3,220,4,220,2,177,1,177,1,177,0,203,0,203,3,204,0,204,2,206,0,206,2,206,4,206,4,149,6,202,0,202,2,149,8,221,5,221,3,149,6,149,7,222,2,222,1,223,0,223,3,219,3,219,1,175,1,175,3,174,1,175,1,175,1,175,3,175,5,174,1,174,1,175,1,175,3,175,6,175,5,175,4,174,1,175,3,175,3,175,3,175,3,175,3,175,3,175,3,175,3,224,1,224,2,175,3,175,5,175,2,175,3,175,3,175,4,175,2,175,2,175,2,175,2,225,1,225,2,175,5,226,1,226,2,175,5,175,3,175,5,175,4,175,4,175,5,228,5,228,4,229,2,229,0,227,1,227,0,209,1,209,0,208,3,208,1,149,12,230,1,230,0,179,0,179,3,188,5,188,3,231,0,231,2,149,4,149,1,149,2,149,3,149,5,149,6,149,5,149,6,232,1,232,1,232,1,232,1,232,1,171,2,171,1,172,2,149,5,233,11,235,1,235,1,235,2,235,0,236,1,236,1,236,3,237,0,237,3,238,0,238,2,234,3,234,2,240,1,240,3,241,0,241,3,241,2,239,7,239,5,239,5,239,1,175,4,175,6,192,1,192,1,192,1,149,4,149,6,149,3,243,0,243,2,242,1,242,0,149,1,149,3,149,1,149,3,149,6,149,6,244,1,245,0,245,1,149,1,149,4,246,8,247,1,247,3,248,0,248,2,249,1,249,3,250,1,251,0,251,4,251,2,197,0,197,2,197,3,252,6,252,8,0,0,238,0,186,3,213,0,33,1,54,1,234,0,144,0,61,1,147,255,126,1,121,1,47,1,205,1,133,1,122,1,112,1,46,1,38,1,253,0,139,1,37,1,68,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,254,3,244,3,237,3,230,3,195,3,193,3,191,3,189,3,182,3,179,3,162,3,144,3,105,3,93,3,55,3,42,3,3,3,247,2,208,2,196,2,158,2,145,2,107,2,102,2,100,2,98,2,96,2,94,2,92,2,86,2,83,2,81,2,68,2,30,2,28,2,25,2,23,2,21,2,19,2,17,2,15,2,247,1,130,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,95,0,191,1,82,0,78,1,248,1,211,1,147,1,221,1,208,1,147,1,147,1,147,1,147,1,92,3,235,2,232,2,17,3,126,2,126,2,158,3,123,3,132,3,131,3,119,3,76,3,72,3,67,3,80,3,62,3,75,3,61,3,24,3,71,3,58,3,225,2,70,3,27,3,21,3,47,0,222,2,18,2,184,2,9,3,199,2,165,2,221,2,218,2,217,2,216,2,215,2,115,2,192,1,64,0,187,0,25,5,22,5,228,4,10,5,249,4,43,5,42,5,41,5,39,5,38,5,36,5,35,5,34,5,33,5,32,5,31,5,30,5,28,5,27,5,24,5,23,5,21,5,18,5,14,5,12,5,9,5,242,4,240,4,235,4,8,5,7,5,214,4,5,5,1,5,0,5,255,4,254,4,227,4,253,4,252,4,251,4,249,4,244,4,243,4,241,4,239,4,237,4,233,4,224,4,213,4,223,4,222,4,219,4,214,4,216,4,211,4,225,4,210,4,209,4,206,4,196,4,190,4,186,4,201,4,195,4,208,4,207,4,173,4,171,4,203,4,200,4,177,4,184,4,218,4,113,4,212,4,205,4,169,4,157,4,197,4,153,4,172,4,155,4,167,4,166,4,162,4,158,4,194,4,192,4,152,4,138,4,159,4,156,4,136,4,175,4,179,4,109,4,71,4,174,4,170,4,164,4,168,4,147,4,145,4,144,4,149,4,150,4,142,4,135,4,117,4,146,4,134,4,143,4,133,4,108,4,121,4,119,4,100,4,104,4,79,4,78,4,76,4,72,4,126,4,125,4,61,4,101,4,56,4,40,4,96,4,73,4,58,4,54,4,49,4,43,4,85,4,83,4,95,4,93,4,92,4,89,4,87,4,84,4,239,3,232,3,234,3,52,4,51,4,57,4,0,0,0,0,50,1,212,0,176,1,187,3,127,2,191,0,187,3,39,1,47,2,88,0,88,0,88,0,88,0,81,0,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,185,0,184,0,183,0,123,2,123,2,36,1,94,2,94,2,88,0,88,0,88,0,88,0,171,2,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,16,0,180,1,85,2,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,172,2,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,47,2,84,0,84,0,84,0,83,0,74,1,65,0,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,123,2,123,2,122,2,121,2,182,0,170,2,38,2,123,1,120,1,119,1,17,0,66,1,94,2,94,2,115,1,198,0,223,1,91,0,118,1,82,0,79,0,165,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,86,2,123,2,123,2,107,0,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,186,0,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,82,2,82,2,142,0,72,1,71,1,228,1,249,0,88,1,238,0,123,2,123,2,122,2,121,2,73,2,192,1,14,2,13,2,229,0,132,1,1,0,138,1,194,1,72,2,193,1,123,2,123,2,123,2,123,2,63,1,139,1,94,2,94,2,199,0,157,0,17,1,126,1,12,1,125,1,187,0,123,2,123,2,122,2,121,2,55,1,43,2,10,1,81,2,81,2,10,1,91,1,76,2,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,222,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,16,1,24,2,122,2,121,2,146,0,98,2,197,0,54,1,63,2,182,0,226,1,15,1,123,1,120,1,119,1,250,1,21,0,122,2,121,2,122,2,121,2,123,2,123,2,118,1,99,2,62,2,36,2,184,1,111,0,51,2,94,2,94,2,122,2,121,2,68,1,223,1,96,2,96,2,96,2,44,1,179,1,61,2,119,0,151,1,210,0,162,0,50,2,115,3,80,2,80,2,50,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,250,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,108,2,111,0,123,2,123,2,105,1,94,2,94,2,102,1,249,0,93,1,248,0,177,1,243,0,223,1,74,2,122,2,121,2,195,0,99,2,93,0,119,0,221,0,63,2,241,1,22,2,22,2,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,62,2,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,77,0,173,1,126,2,61,2,77,2,18,2,240,0,230,0,242,0,105,0,249,0,93,1,248,0,3,2,76,2,208,0,204,1,17,2,52,2,173,0,122,2,121,2,202,3,144,0,174,1,2,0,168,1,228,0,124,1,45,2,94,2,94,2,190,0,153,0,159,0,158,0,2,2,51,0,120,2,119,2,118,2,71,0,24,2,176,1,186,3,196,0,98,2,186,3,102,2,45,0,18,0,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,5,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,96,2,96,2,96,2,30,2,168,1,146,1,129,1,241,0,250,1,195,1,64,1,211,0,31,2,164,0,180,1,130,1,37,1,195,1,75,2,108,0,240,1,111,0,78,1,135,1,79,2,168,1,102,2,27,0,196,1,197,1,94,2,94,2,72,0,1,1,70,0,3,1,196,1,83,1,86,1,52,2,70,2,68,0,159,1,213,1,72,1,71,1,62,0,102,2,45,0,110,0,137,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,152,0,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,110,0,243,1,8,2,26,2,146,1,133,1,168,1,110,0,54,2,244,1,81,2,81,2,198,1,82,0,79,0,165,0,168,1,79,2,128,1,52,2,84,1,103,2,188,0,162,0,168,1,94,1,104,2,168,1,102,2,44,0,94,2,94,2,189,1,70,2,44,1,178,1,151,0,19,0,102,2,9,0,56,2,68,2,92,1,103,2,213,1,55,2,102,2,26,0,104,2,102,2,45,0,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,155,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,67,2,110,0,66,2,9,2,26,1,177,1,142,1,144,1,255,0,230,1,82,0,79,0,165,0,231,1,164,0,82,0,79,0,165,0,232,1,232,1,108,1,131,1,168,1,32,2,32,2,253,1,94,1,106,1,155,0,191,0,94,2,94,2,47,2,130,2,128,2,77,1,82,0,79,0,165,0,49,1,52,2,251,1,56,1,101,1,102,2,45,0,73,1,84,2,83,2,194,0,81,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,20,0,67,1,150,0,7,1,211,0,31,2,165,1,84,2,83,2,102,2,22,0,168,1,193,0,168,1,28,1,168,1,135,1,168,1,253,1,168,1,65,2,168,1,186,0,79,1,168,1,47,2,168,1,57,1,120,0,34,2,94,2,94,2,67,0,102,2,47,0,102,2,50,0,102,2,48,0,102,2,100,0,102,2,99,0,102,2,101,0,64,2,102,2,102,0,102,2,109,0,70,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,50,1,168,1,55,1,168,1,73,2,54,0,168,1,4,2,5,2,78,2,102,2,112,0,168,1,72,2,168,1,60,2,168,1,195,0,168,1,59,2,168,1,67,0,168,1,102,2,94,0,102,2,98,0,168,1,102,2,97,0,8,1,94,2,94,2,195,0,102,2,46,0,102,2,96,0,102,2,30,0,102,2,49,0,102,2,115,0,102,2,114,0,162,1,229,0,132,1,102,2,113,0,50,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,119,0,168,1,78,2,110,0,116,1,94,2,94,2,195,0,53,0,250,0,102,2,29,0,195,0,216,1,182,1,217,2,190,0,46,1,242,1,14,0,11,2,129,2,2,0,102,2,43,0,50,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,168,1,101,2,196,3,196,3,98,1,94,2,94,2,164,1,56,1,64,0,102,2,42,0,135,1,99,1,27,1,181,1,45,1,255,0,158,1,154,1,239,1,236,1,102,2,28,0,215,1,50,1,89,0,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,168,1,110,0,110,0,110,0,110,0,94,2,94,2,110,0,254,0,13,0,102,2,41,0,20,2,19,2,27,1,225,1,19,2,201,1,28,1,119,0,49,2,100,1,102,2,40,0,28,1,50,1,89,0,78,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,110,0,168,1,85,1,220,0,43,2,94,2,94,2,95,1,43,2,62,1,102,2,95,0,157,1,255,0,83,0,74,1,28,1,28,1,255,0,128,2,77,1,100,1,255,0,102,2,39,0,50,1,100,1,90,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,168,1,61,1,60,1,141,0,209,1,94,2,94,2,219,0,107,2,207,1,102,2,10,0,161,1,206,1,255,0,189,0,254,1,41,2,95,1,207,0,107,1,161,0,102,2,38,0,59,1,218,0,255,0,255,0,80,0,88,2,87,2,89,2,89,2,87,0,87,0,88,0,88,0,88,0,88,0,168,1,86,0,86,0,86,0,86,0,85,0,85,0,84,0,84,0,84,0,83,0,74,1,76,0,163,1,255,0,3,0,110,3,205,1,168,1,247,0,75,1,75,1,102,2,37,0,217,0,76,0,163,1,134,1,3,0,216,0,215,0,166,1,4,0,75,1,75,1,168,1,35,2,12,0,168,1,33,2,102,2,36,0,168,1,29,2,166,1,168,1,28,2,168,1,214,0,168,1,152,1,168,1,27,2,147,1,93,2,93,2,237,0,102,2,25,0,119,0,102,2,24,0,76,2,152,1,102,2,45,0,118,0,102,2,35,0,102,2,34,0,102,2,33,0,102,2,23,0,76,2,60,0,223,0,91,2,90,2,1,2,122,1,73,0,74,0,140,0,139,0,168,1,110,0,9,1,75,0,170,1,169,1,59,0,168,1,98,2,73,0,74,0,37,2,146,1,148,1,168,1,117,1,75,0,170,1,169,1,92,2,138,0,98,2,102,2,11,0,136,1,76,0,163,1,181,0,3,0,102,2,32,0,15,1,113,1,75,1,75,1,237,1,102,2,31,0,149,0,96,2,96,2,96,2,95,2,15,0,166,1,109,1,102,2,8,0,137,0,233,1,136,0,190,0,96,2,96,2,96,2,95,2,15,0,229,1,176,0,135,0,7,0,252,0,221,1,152,1,174,0,133,0,175,0,218,1,57,0,56,0,132,0,130,0,119,0,76,0,163,1,76,2,3,0,212,1,245,0,208,1,171,0,75,1,75,1,125,0,123,0,200,1,191,1,122,0,190,1,104,0,80,1,231,0,166,1,166,0,154,0,73,0,74,0,76,1,116,0,175,1,121,0,53,1,75,0,170,1,169,1,222,0,106,0,98,2,52,1,125,2,204,0,152,1,117,2,115,2,116,2,6,0,200,0,172,1,171,1,34,1,203,0,110,2,201,0,76,2,62,0,63,0,33,1,66,0,163,1,143,1,3,0,145,1,32,1,92,0,143,0,75,1,75,1,31,1,96,2,96,2,96,2,95,2,15,0,73,0,74,0,227,0,166,1,69,1,69,0,160,1,75,0,170,1,169,1,100,2,156,1,98,2,192,0,61,0,57,2,209,0,140,1,226,0,22,1,225,0,127,1,152,1,15,2,46,2,20,1,21,2,40,2,16,2,65,1,11,2,114,1,252,1,180,0,76,2,238,1,179,0,110,1,117,0,253,0,13,1,10,2,247,1,96,2,96,2,96,2,95,2,15,0,39,2,246,1,58,0,18,1,12,2,178,0,73,0,74,0,48,1,245,1,112,1,47,1,206,0,75,0,170,1,169,1,235,1,104,1,98,2,213,0,177,0,227,1,131,0,89,1,42,1,41,1,40,1,202,0,38,1,224,1,234,1,210,1,134,0,172,0,129,0,188,1,90,1,214,1,128,0,58,1,203,1,103,0,127,0,126,0,148,0,124,0,167,0,187,1,235,0,96,2,96,2,96,2,95,2,15,0,186,1,183,1,111,2,234,0,43,1,145,0,71,2,35,1,121,1,69,2,160,0,119,0,156,0,14,1,124,2,203,3,169,0,23,1,114,2,8,2,113,2,217,1,112,2,170,0,109,2,106,2,119,0,168,0,55,0,153,1,167,1,25,2,97,2,30,1,29,1,149,1,58,2,48,2,44,2,5,0,52,0,202,1,42,2,147,0,11,1,7,2,248,1,6,2,150,1,6,1,239,0,4,1,0,2,87,1,255,1,2,1,97,1,53,2,0,1,224,0,251,0,103,1,21,1,19,1,220,1,219,1,246,0,96,1,244,0,211,1,199,1,236,0,233,0,232,0,51,1,185,1,25,1,205,0,163,0,141,1,24,1,23,2,249,1,74,1,105,2,203,3,203,3,203,3,203,3,111,1,203,3,203,3,203,3,203,3,203,3,203,3,203,3,203,3,203,3,203,3,203,3,82,1,0,0,0,0,0,0,100,117,112,108,105,99,97,116,101,32,87,73,84,72,32,116,97,98,108,101,32,110,97,109,101,58,32,37,115,0,0,0,110,111,116,32,97,117,116,104,111,114,105,122,101,100,0,0,97,117,116,104,111,114,105,122,101,114,32,109,97,108,102,117,110,99,116,105,111,110,0,0,67,82,69,65,84,69,32,86,73,82,84,85,65,76,32,84,65,66,76,69,32,37,84,0,85,80,68,65,84,69,32,37,81,46,37,115,32,83,69,84,32,116,121,112,101,61,39,116,97,98,108,101,39,44,32,110,97,109,101,61,37,81,44,32,116,98,108,95,110,97,109,101,61,37,81,44,32,114,111,111,116,112,97,103,101,61,48,44,32,115,113,108,61,37,81,32,87,72,69,82,69,32,114,111,119,105,100,61,35,37,100,0,110,97,109,101,61,39,37,113,39,32,65,78,68,32,116,121,112,101,61,39,116,97,98,108,101,39,0,0,0,0,0,0,118,105,114,116,117,97,108,32,116,97,98,108,101,115,32,109,97,121,32,110,111,116,32,98,101,32,97,108,116,101,114,101,100,0,0,0,0,0,0,0,67,97,110,110,111,116,32,97,100,100,32,97,32,99,111,108,117,109,110,32,116,111,32,97,32,118,105,101,119,0,0,0,115,113,108,105,116,101,95,97,108,116,101,114,116,97,98,95,37,115,0,0,0,0,0,0,117,110,97,98,108,101,32,116,111,32,111,112,101,110,32,97,32,116,101,109,112,111,114,97,114,121,32,100,97,116,97,98,97,115,101,32,102,105,108,101,32,102,111,114,32,115,116,111,114,105,110,103,32,116,101,109,112,111,114,97,114,121,32,116,97,98,108,101,115,0,0,0,115,113,108,105,116,101,95,0,116,97,98,108,101,32,37,115,32,109,97,121,32,110,111,116,32,98,101,32,97,108,116,101,114,101,100,0,0,0,0,0,67,97,110,110,111,116,32,97,100,100,32,97,32,80,82,73,77,65,82,89,32,75,69,89,32,99,111,108,117,109,110,0,67,97,110,110,111,116,32,97,100,100,32,97,32,85,78,73,81,85,69,32,99,111,108,117,109,110,0,0,0,0,0,0,67,97,110,110,111,116,32,97,100,100,32,97,32,82,69,70,69,82,69,78,67,69,83,32,99,111,108,117,109,110,32,119,105,116,104,32,110,111,110,45,78,85,76,76,32,100,101,102,97,117,108,116,32,118,97,108,117,101,0,0,0,0,0,0,67,97,110,110,111,116,32,97,100,100,32,97,32,78,79,84,32,78,85,76,76,32,99,111,108,117,109,110,32,119,105,116,104,32,100,101,102,97,117,108,116,32,118,97,108,117,101,32,78,85,76,76,0,0,0,0,67,97,110,110,111,116,32,97,100,100,32,97,32,99,111,108,117,109,110,32,119,105,116,104,32,110,111,110,45,99,111,110,115,116,97,110,116,32,100,101,102,97,117,108,116,0,0,0,85,80,68,65,84,69,32,34,37,119,34,46,37,115,32,83,69,84,32,115,113,108,32,61,32,115,117,98,115,116,114,40,115,113,108,44,49,44,37,100,41,32,124,124,32,39,44,32,39,32,124,124,32,37,81,32,124,124,32,115,117,98,115,116,114,40,115,113,108,44,37,100,41,32,87,72,69,82,69,32,116,121,112,101,32,61,32,39,116,97,98,108,101,39,32,65,78,68,32,110,97,109,101,32,61,32,37,81,0,0,0,0,116,98,108,95,110,97,109,101,61,37,81,0,0,0,0,0,116,121,112,101,61,39,116,114,105,103,103,101,114,39,32,65,78,68,32,40,37,115,41,0,110,97,109,101,61,37,81,0,37,115,32,79,82,32,110,97,109,101,61,37,81,0,0,0,45,0,0,0,0,0,0,0,116,104,101,114,101,32,105,115,32,97,108,114,101,97,100,121,32,97,110,111,116,104,101,114,32,116,97,98,108,101,32,111,114,32,105,110,100,101,120,32,119,105,116,104,32,116,104,105,115,32,110,97,109,101,58,32,37,115,0,0,0,0,0,0,118,105,101,119,32,37,115,32,109,97,121,32,110,111,116,32,98,101,32,97,108,116,101,114,101,100,0,0,0,0,0,0,85,80,68,65,84,69,32,34,37,119,34,46,37,115,32,83,69,84,32,115,113,108,32,61,32,115,113,108,105,116,101,95,114,101,110,97,109,101,95,112,97,114,101,110,116,40,115,113,108,44,32,37,81,44,32,37,81,41,32,87,72,69,82,69,32,37,115,59,0,0,0,0,85,80,68,65,84,69,32,37,81,46,37,115,32,83,69,84,32,115,113,108,32,61,32,67,65,83,69,32,87,72,69,78,32,116,121,112,101,32,61,32,39,116,114,105,103,103,101,114,39,32,84,72,69,78,32,115,113,108,105,116,101,95,114,101,110,97,109,101,95,116,114,105,103,103,101,114,40,115,113,108,44,32,37,81,41,69,76,83,69,32,115,113,108,105,116,101,95,114,101,110,97,109,101,95,116,97,98,108,101,40,115,113,108,44,32,37,81,41,32,69,78,68,44,32,116,98,108,95,110,97,109,101,32,61,32,37,81,44,32,110,97,109,101,32,61,32,67,65,83,69,32,87,72,69,78,32,116,121,112,101,61,39,116,97,98,108,101,39,32,84,72,69,78,32,37,81,32,87,72,69,78,32,110,97,109,101,32,76,73,75,69,32,39,115,113,108,105,116,101,95,97,117,116,111,105,110,100,101,120,37,37,39,32,65,78,68,32,116,121,112,101,61,39,105,110,100,101,120,39,32,84,72,69,78,32,39,115,113,108,105,116,101,95,97,117,116,111,105,110,100,101,120,95,39,32,124,124,32,37,81,32,124,124,32,115,117,98,115,116,114,40,110,97,109,101,44,37,100,43,49,56,41,32,69,76,83,69,32,110,97,109,101,32,69,78,68,32,87,72,69,82,69,32,116,98,108,95,110,97,109,101,61,37,81,32,67,79,76,76,65,84,69,32,110,111,99,97,115,101,32,65,78,68,32,40,116,121,112,101,61,39,116,97,98,108,101,39,32,79,82,32,116,121,112,101,61,39,105,110,100,101,120,39,32,79,82,32,116,121,112,101,61,39,116,114,105,103,103,101,114,39,41,59,0,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,0,85,80,68,65,84,69,32,34,37,119,34,46,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,32,115,101,116,32,110,97,109,101,32,61,32,37,81,32,87,72,69,82,69,32,110,97,109,101,32,61,32,37,81,0,0,0,0,0,0,0,85,80,68,65,84,69,32,115,113,108,105,116,101,95,116,101,109,112,95,109,97,115,116,101,114,32,83,69,84,32,115,113,108,32,61,32,115,113,108,105,116,101,95,114,101,110,97,109,101,95,116,114,105,103,103,101,114,40,115,113,108,44,32,37,81,41,44,32,116,98,108,95,110,97,109,101,32,61,32,37,81,32,87,72,69,82,69,32,37,115,59,0,0,0,0,0,118,105,101,119,32,37,115,32,105,115,32,99,105,114,99,117,108,97,114,108,121,32,100,101,102,105,110,101,100,0,0,0,110,111,32,115,117,99,104,32,99,111,108,108,97,116,105,111,110,32,115,101,113,117,101,110,99,101,58,32,37,115,0,0,3,2,1,0,0,0,0,0,37,115,58,37,100,0,0,0,97,32,71,82,79,85,80,32,66,89,32,99,108,97,117,115,101,32,105,115,32,114,101,113,117,105,114,101,100,32,98,101,102,111,114,101,32,72,65,86,73,78,71,0,0,0,0,0,79,82,68,69,82,0,0,0,71,82,79,85,80,0,0,0,97,103,103,114,101,103,97,116,101,32,102,117,110,99,116,105,111,110,115,32,97,114,101,32,110,111,116,32,97,108,108,111,119,101,100,32,105,110,32,116,104,101,32,71,82,79,85,80,32,66,89,32,99,108,97,117,115,101,0,0,0,0,0,0,116,111,111,32,109,97,110,121,32,116,101,114,109,115,32,105,110,32,79,82,68,69,82,32,66,89,32,99,108,97,117,115,101,0,0,0,0,0,0,0,37,114,32,79,82,68,69,82,32,66,89,32,116,101,114,109,32,100,111,101,115,32,110,111,116,32,109,97,116,99,104,32,97,110,121,32,99,111,108,117,109,110,32,105,110,32,116,104,101,32,114,101,115,117,108,116,32,115,101,116,0,0,0,0,37,114,32,37,115,32,66,89,32,116,101,114,109,32,111,117,116,32,111,102,32,114,97,110,103,101,32,45,32,115,104,111,117,108,100,32,98,101,32,98,101,116,119,101,101,110,32,49,32,97,110,100,32,37,100,0,116,111,111,32,109,97,110,121,32,116,101,114,109,115,32,105,110,32,37,115,32,66,89,32,99,108,97,117,115,101,0,0,69,120,112,114,101,115,115,105,111,110,32,116,114,101,101,32,105,115,32,116,111,111,32,108,97,114,103,101,32,40,109,97,120,105,109,117,109,32,100,101,112,116,104,32,37,100,41,0,102,117,110,99,116,105,111,110,115,0,0,0,0,0,0,0,115,101,99,111,110,100,32,97,114,103,117,109,101,110,116,32,116,111,32,108,105,107,101,108,105,104,111,111,100,40,41,32,109,117,115,116,32,98,101,32,97,32,99,111,110,115,116,97,110,116,32,98,101,116,119,101,101,110,32,48,46,48,32,97,110,100,32,49,46,48,0,0,110,111,116,32,97,117,116,104,111,114,105,122,101,100,32,116,111,32,117,115,101,32,102,117,110,99,116,105,111,110,58,32,37,115,0,0,0,0,0,0,109,105,115,117,115,101,32,111,102,32,97,103,103,114,101,103,97,116,101,32,102,117,110,99,116,105,111,110,32,37,46,42,115,40,41,0,0,0,0,0,110,111,32,115,117,99,104,32,102,117,110,99,116,105,111,110,58,32,37,46,42,115,0,0,119,114,111,110,103,32,110,117,109,98,101,114,32,111,102,32,97,114,103,117,109,101,110,116,115,32,116,111,32,102,117,110,99,116,105,111,110,32,37,46,42,115,40,41,0,0,0,0,115,117,98,113,117,101,114,105,101,115,0,0,0,0,0,0,112,97,114,97,109,101,116,101,114,115,0,0,0,0,0,0,37,115,32,112,114,111,104,105,98,105,116,101,100,32,105,110,32,67,72,69,67,75,32,99,111,110,115,116,114,97,105,110,116,115,0,0,0,0,0,0,37,115,32,112,114,111,104,105,98,105,116,101,100,32,105,110,32,112,97,114,116,105,97,108,32,105,110,100,101,120,32,87,72,69,82,69,32,99,108,97,117,115,101,115,0,0,0,0,110,101,119,0,0,0,0,0,111,108,100,0,0,0,0,0,109,105,115,117,115,101,32,111,102,32,97,108,105,97,115,101,100,32,97,103,103,114,101,103,97,116,101,32,37,115,0,0,110,111,32,115,117,99,104,32,99,111,108,117,109,110,0,0,97,109,98,105,103,117,111,117,115,32,99,111,108,117,109,110,32,110,97,109,101,0,0,0,37,115,58,32,37,115,46,37,115,46,37,115,0,0,0,0,37,115,58,32,37,115,46,37,115,0,0,0,0,0,0,0,37,115,58,32,37,115,0,0,97,99,99,101,115,115,32,116,111,32,37,115,46,37,115,46,37,115,32,105,115,32,112,114,111,104,105,98,105,116,101,100,0,0,0,0,0,0,0,0,97,99,99,101,115,115,32,116,111,32,37,115,46,37,115,32,105,115,32,112,114,111,104,105,98,105,116,101,100,0,0,0,115,113,108,105,116,101,95,115,113,95,37,112,0,0,0,0,116,111,111,32,109,97,110,121,32,114,101,102,101,114,101,110,99,101,115,32,116,111,32,34,37,115,34,58,32,109,97,120,32,54,53,53,51,53,0,0,42,0,0,0,0,0,0,0,37,115,46,37,115,0,0,0,37,115,46,37,115,46,37,115,0,0,0,0,0,0,0,0,110,111,32,115,117,99,104,32,116,97,98,108,101,58,32,37,115,0,0,0,0,0,0,0,110,111,32,116,97,98,108,101,115,32,115,112,101,99,105,102,105,101,100,0,0,0,0,0,116,111,111,32,109,97,110,121,32,99,111,108,117,109,110,115,32,105,110,32,114,101,115,117,108,116,32,115,101,116,0,0,97,32,78,65,84,85,82,65,76,32,106,111,105,110,32,109,97,121,32,110,111,116,32,104,97,118,101,32,97,110,32,79,78,32,111,114,32,85,83,73,78,71,32,99,108,97,117,115,101,0,0,0,0,0,0,0,99,97,110,110,111,116,32,104,97,118,101,32,98,111,116,104,32,79,78,32,97,110,100,32,85,83,73,78,71,32,99,108,97,117,115,101,115,32,105,110,32,116,104,101,32,115,97,109,101,32,106,111,105,110,0,0,99,97,110,110,111,116,32,106,111,105,110,32,117,115,105,110,103,32,99,111,108,117,109,110,32,37,115,32,45,32,99,111,108,117,109,110,32,110,111,116,32,112,114,101,115,101,110,116,32,105,110,32,98,111,116,104,32,116,97,98,108,101,115,0,110,111,32,115,117,99,104,32,105,110,100,101,120,58,32,37,115,0,0,0,0,0,0,0,109,117,108,116,105,112,108,101,32,114,101,102,101,114,101,110,99,101,115,32,116,111,32,114,101,99,117,114,115,105,118,101,32,116,97,98,108,101,58,32,37,115,0,0,0,0,0,0,99,105,114,99,117,108,97,114,32,114,101,102,101,114,101,110,99,101,58,32,37,115,0,0,116,97,98,108,101,32,37,115,32,104,97,115,32,37,100,32,118,97,108,117,101,115,32,102,111,114,32,37,100,32,99,111,108,117,109,110,115,0,0,0,109,117,108,116,105,112,108,101,32,114,101,99,117,114,115,105,118,101,32,114,101,102,101,114,101,110,99,101,115,58,32,37,115,0,0,0,0,0,0,0,114,101,99,117,114,115,105,118,101,32,114,101,102,101,114,101,110,99,101,32,105,110,32,97,32,115,117,98,113,117,101,114,121,58,32,37,115,0,0,0,110,111,32,115,117,99,104,32,109,111,100,117,108,101,58,32,37,115,0,0,0,0,0,0,118,116,97,98,108,101,32,99,111,110,115,116,114,117,99,116,111,114,32,102,97,105,108,101,100,58,32,37,115,0,0,0,118,116,97,98,108,101,32,99,111,110,115,116,114,117,99,116,111,114,32,100,105,100,32,110,111,116,32,100,101,99,108,97,114,101,32,115,99,104,101,109,97,58,32,37,115,0,0,0,104,105,100,100,101,110,0,0,32,104,105,100,100,101,110,0,111,98,106,101,99,116,32,110,97,109,101,32,114,101,115,101,114,118,101,100,32,102,111,114,32,105,110,116,101,114,110,97,108,32,117,115,101,58,32,37,115,0,0,0,0,0,0,0,99,111,114,114,117,112,116,32,100,97,116,97,98,97,115,101,0,0,0,0,0,0,0,0,117,110,107,110,111,119,110,32,100,97,116,97,98,97,115,101,32,37,84,0,0,0,0,0,105,100,120,0,0,0,0,0,116,98,108,0,0,0,0,0,2,0,1,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0,0,0,0,56,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,0,0,0,0,0,0,0,53,0,0,0,0,0,0,0,0,0,0,0,40,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,66,66,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,54,0,0,0,0,0,0,0,0,0,0,0,8,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,115,116,97,116,95,103,101,116,0,0,0,0,0,0,0,0,37,108,108,117,0,0,0,0,32,37,108,108,117,0,0,0,115,116,97,116,95,112,117,115,104,0,0,0,0,0,0,0,115,116,97,116,95,105,110,105,116,0,0,0,0,0,0,0,72,52,0,0,96,112,0,0,112,112,0,0,0,0,0,0,128,112,0,0,0,0,0,0,116,98,108,44,105,100,120,44,115,116,97,116,0,0,0,0,115,113,108,105,116,101,95,115,116,97,116,51,0,0,0,0,115,113,108,105,116,101,95,115,116,97,116,52,0,0,0,0,67,82,69,65,84,69,32,84,65,66,76,69,32,37,81,46,37,115,40,37,115,41,0,0,68,69,76,69,84,69,32,70,82,79,77,32,37,81,46,37,115,32,87,72,69,82,69,32,37,115,61,37,81,0,0,0,117,110,97,98,108,101,32,116,111,32,105,100,101,110,116,105,102,121,32,116,104,101,32,111,98,106,101,99,116,32,116,111,32,98,101,32,114,101,105,110,100,101,120,101,100,0,0,0,44,32,0,0,0,0,0,0,46,0,0,0,0,0,0,0,109,105,115,117,115,101,32,111,102,32,97,103,103,114,101,103,97,116,101,58,32,37,115,40],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+18712);allocate([41,0,0,0,0,0,0,0,117,110,107,110,111,119,110,32,102,117,110,99,116,105,111,110,58,32,37,46,42,115,40,41,0,0,0,0,0,0,0,0,82,65,73,83,69,40,41,32,109,97,121,32,111,110,108,121,32,98,101,32,117,115,101,100,32,119,105,116,104,105,110,32,97,32,116,114,105,103,103,101,114,45,112,114,111,103,114,97,109,0,0,0,0,0,0,0,69,88,69,67,85,84,69,32,37,115,37,115,32,83,85,66,81,85,69,82,89,32,37,100,0,0,0,0,0,0,0,0,67,79,82,82,69,76,65,84,69,68,32,0,0,0,0,0,76,73,83,84,0,0,0,0,83,67,65,76,65,82,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,120,0,0,0,0,0,0,104,101,120,32,108,105,116,101,114,97,108,32,116,111,111,32,98,105,103,58,32,37,115,0,1,0,1,0,0,0,0,0,0,0,0,0,55,0,0,0,0,0,0,0,0,0,0,0,32,114,0,0,0,0,0,0,0,0,0,0,0,0,0,0,115,113,108,105,116,101,95,100,101,116,97,99,104,0,0,0,110,111,32,115,117,99,104,32,100,97,116,97,98,97,115,101,58,32,37,115,0,0,0,0,99,97,110,110,111,116,32,100,101,116,97,99,104,32,100,97,116,97,98,97,115,101,32,37,115,0,0,0,0,0,0,0,99,97,110,110,111,116,32,68,69,84,65,67,72,32,100,97,116,97,98,97,115,101,32,119,105,116,104,105,110,32,116,114,97,110,115,97,99,116,105,111,110,0,0,0,0,0,0,0,100,97,116,97,98,97,115,101,32,37,115,32,105,115,32,108,111,99,107,101,100,0,0,0,3,0,1,0,0,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,216,114,0,0,0,0,0,0,0,0,0,0,0,0,0,0,115,113,108,105,116,101,95,97,116,116,97,99,104,0,0,0,116,111,111,32,109,97,110,121,32,97,116,116,97,99,104,101,100,32,100,97,116,97,98,97,115,101,115,32,45,32,109,97,120,32,37,100,0,0,0,0,99,97,110,110,111,116,32,65,84,84,65,67,72,32,100,97,116,97,98,97,115,101,32,119,105,116,104,105,110,32,116,114,97,110,115,97,99,116,105,111,110,0,0,0,0,0,0,0,100,97,116,97,98,97,115,101,32,37,115,32,105,115,32,97,108,114,101,97,100,121,32,105,110,32,117,115,101,0,0,0,100,97,116,97,98,97,115,101,32,105,115,32,97,108,114,101,97,100,121,32,97,116,116,97,99,104,101,100,0,0,0,0,117,110,97,98,108,101,32,116,111,32,111,112,101,110,32,100,97,116,97,98,97,115,101,58,32,37,115,0,0,0,0,0,110,111,32,115,117,99,104,32,116,114,105,103,103,101,114,58,32,37,83,0,0,0,0,0,108,0,246,0,97,0,1,0,47,0,1,2,78,2,247,1,97,0,1,0,47,0,0,2,78,2,247,1,95,0,0,0,9,0,254,0,0,0,0,0,116,101,109,112,111,114,97,114,121,32,116,114,105,103,103,101,114,32,109,97,121,32,110,111,116,32,104,97,118,101,32,113,117,97,108,105,102,105,101,100,32,110,97,109,101,0,0,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,116,114,105,103,103,101,114,115,32,111,110,32,118,105,114,116,117,97,108,32,116,97,98,108,101,115,0,0,0,0,0,0,0,0,116,114,105,103,103,101,114,32,37,84,32,97,108,114,101,97,100,121,32,101,120,105,115,116,115,0,0,0,0,0,0,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,116,114,105,103,103,101,114,32,111,110,32,115,121,115,116,101,109,32,116,97,98,108,101,0,0,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,37,115,32,116,114,105,103,103,101,114,32,111,110,32,118,105,101,119,58,32,37,83,0,0,0,0,66,69,70,79,82,69,0,0,65,70,84,69,82,0,0,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,73,78,83,84,69,65,68,32,79,70,32,116,114,105,103,103,101,114,32,111,110,32,116,97,98,108,101,58,32,37,83,0,0,0,37,115,32,37,84,32,99,97,110,110,111,116,32,114,101,102,101,114,101,110,99,101,32,111,98,106,101,99,116,115,32,105,110,32,100,97,116,97,98,97,115,101,32,37,115,0,0,0,37,115,32,99,97,110,110,111,116,32,117,115,101,32,118,97,114,105,97,98,108,101,115,0,73,78,83,69,82,84,32,73,78,84,79,32,37,81,46,37,115,32,86,65,76,85,69,83,40,39,116,114,105,103,103,101,114,39,44,37,81,44,37,81,44,48,44,39,67,82,69,65,84,69,32,84,82,73,71,71,69,82,32,37,113,39,41,0,116,121,112,101,61,39,116,114,105,103,103,101,114,39,32,65,78,68,32,110,97,109,101,61,39,37,113,39,0,0,0,0,45,37,84,0,0,0,0,0,114,101,115,117,108,116,0,0,16,126,0,0,0,0,0,0,8,0,0,0,0,121,0,0,1,1,0,0,0,0,0,0,32,126,0,0,2,0,0,0,0,0,16,0,48,126,0,0,3,0,0,0,0,0,0,0,128,120,0,0,4,1,0,0,0,0,0,0,64,126,0,0,2,0,0,0,16,0,0,0,80,126,0,0,5,0,0,0,0,0,0,0,104,126,0,0,2,0,0,0,8,0,0,0,128,126,0,0,6,0,0,0,0,0,0,0,144,126,0,0,7,0,0,0,0,0,0,0,160,126,0,0,2,0,0,0,128,0,0,0,176,126,0,0,0,2,0,0,15,0,0,0,192,126,0,0,9,1,0,0,0,0,0,0,208,126,0,0,10,1,0,0,0,0,0,0,232,126,0,0,2,0,0,0,0,0,0,1,0,127,0,0,2,0,0,0,0,1,0,0,40,124,0,0,11,0,0,0,0,0,0,0,24,127,0,0,12,1,0,0,0,0,0,0,48,127,0,0,13,1,0,0,0,0,0,0,72,127,0,0,2,0,0,0,0,0,8,0,88,127,0,0,0,2,0,0,0,0,0,0,104,127,0,0,2,0,0,0,32,0,0,0,128,127,0,0,2,0,0,0,4,0,0,0,144,127,0,0,2,0,0,0,0,32,0,0,176,127,0,0,14,1,0,0,0,0,0,0,200,127,0,0,15,1,0,0,0,0,0,0,216,127,0,0,16,1,0,0,0,0,0,0,232,127,0,0,15,1,0,0,1,0,0,0,232,122,0,0,17,1,0,0,0,0,0,0,216,120,0,0,18,1,0,0,0,0,0,0,232,120,0,0,19,0,0,0,0,0,0,0,248,127,0,0,2,0,0,0,0,128,0,0,200,120,0,0,21,0,0,0,0,0,0,0,16,128,0,0,22,1,0,0,0,0,0,0,40,121,0,0,23,0,0,0,0,0,0,0,32,128,0,0,22,1,0,0,0,0,0,0,144,120,0,0,24,0,0,0,0,0,0,0,48,128,0,0,2,0,0,0,0,0,0,2,64,128,0,0,17,1,0,0,0,0,0,0,80,128,0,0,2,0,0,0,0,64,0,0,104,128,0,0,2,0,0,0,0,0,4,0,128,128,0,0,2,0,0,0,0,0,2,0,160,128,0,0,0,0,0,0,1,0,0,0,160,120,0,0,25,0,0,0,0,0,0,0,176,128,0,0,2,0,0,0,64,0,0,0,200,128,0,0,26,0,0,0,0,0,0,0,232,124,0,0,27,0,0,0,0,0,0,0,216,128,0,0,28,1,0,0,0,0,0,0,128,121,0,0,29,1,0,0,0,0,0,0,224,128,0,0,30,1,0,0,0,0,0,0,56,121,0,0,31,0,0,0,0,0,0,0,72,121,0,0,32,0,0,0,0,0,0,0,248,124,0,0,33,0,0,0,0,0,0,0,240,128,0,0,0,0,0,0,6,0,0,0,200,124,0,0,34,0,0,0,0,0,0,0,0,129,0,0,35,1,0,0,0,0,0,0,16,129,0,0,2,0,0,0,0,8,1,0,0,0,0,0,4,0,0,0,51,0,1,3,137,1,8,0,25,0,2,0,90,1,2,1,137,1,8,0,25,0,1,0,156,0,0,0,35,1,1,0,0,0,0,0,99,97,99,104,101,95,115,105,122,101,0,0,0,0,0,0,112,97,103,101,95,115,105,122,101,0,0,0,0,0,0,0,115,101,99,117,114,101,95,100,101,108,101,116,101,0,0,0,110,111,114,109,97,108,0,0,101,120,99,108,117,115,105,118,101,0,0,0,0,0,0,0,108,111,99,107,105,110,103,95,109,111,100,101,0,0,0,0,106,111,117,114,110,97,108,95,109,111,100,101,0,0,0,0,106,111,117,114,110,97,108,95,115,105,122,101,95,108,105,109,105,116,0,0,0,0,0,0,97,117,116,111,95,118,97,99,117,117,109,0,0,0,0,0,4,0,1,0,51,0,1,4,45,1,0,0,24,0,2,0,25,0,1,0,52,0,7,1,109,109,97,112,95,115,105,122,101,0,0,0,0,0,0,0,116,101,109,112,95,115,116,111,114,101,0,0,0,0,0,0,116,101,109,112,95,115,116,111,114,101,95,100,105,114,101,99,116,111,114,121,0,0,0,0,110,111,116,32,97,32,119,114,105,116,97,98,108,101,32,100,105,114,101,99,116,111,114,121,0,0,0,0,0,0,0,0,115,121,110,99,104,114,111,110,111,117,115,0,0,0,0,0,83,97,102,101,116,121,32,108,101,118,101,108,32,109,97,121,32,110,111,116,32,98,101,32,99,104,97,110,103,101,100,32,105,110,115,105,100,101,32,97,32,116,114,97,110,115,97,99,116,105,111,110,0,0,0,0,99,105,100,0,0,0,0,0,110,97,109,101,0,0,0,0,116,121,112,101,0,0,0,0,110,111,116,110,117,108,108,0,100,102,108,116,95,118,97,108,117,101,0,0,0,0,0,0,112,107,0,0,0,0,0,0,116,97,98,108,101,0,0,0,119,105,100,116,104,0,0,0,104,101,105,103,104,116,0,0,115,101,113,110,111,0,0,0,100,101,115,99,0,0,0,0,99,111,108,108,0,0,0,0,107,101,121,0,0,0,0,0,115,101,113,0,0,0,0,0,117,110,105,113,117,101,0,0,111,114,105,103,105,110,0,0,112,97,114,116,105,97,108,0,99,0,0,0,0,0,0,0,117,0,0,0,0,0,0,0,88,122,0,0,96,122,0,0,248,121,0,0,0,0,0,0,102,105,108,101,0,0,0,0,105,100,0,0,0,0,0,0,102,114,111,109,0,0,0,0,116,111,0,0,0,0,0,0,111,110,95,117,112,100,97,116,101,0,0,0,0,0,0,0,111,110,95,100,101,108,101,116,101,0,0,0,0,0,0,0,109,97,116,99,104,0,0,0,78,79,78,69,0,0,0,0,112,97,114,101,110,116,0,0,102,107,105,100,0,0,0,0,138,1,0,0,97,0,3,0,35,3,1,0,0,0,0,0,105,110,116,101,103,114,105,116,121,95,99,104,101,99,107,0,42,42,42,32,105,110,32,100,97,116,97,98,97,115,101,32,37,115,32,42,42,42,10,0,78,85,76,76,32,118,97,108,117,101,32,105,110,32,37,115,46,37,115,0,0,0,0,0,114,111,119,32,0,0,0,0,32,109,105,115,115,105,110,103,32,102,114,111,109,32,105,110,100,101,120,32,0,0,0,0,110,111,110,45,117,110,105,113,117,101,32,101,110,116,114,121,32,105,110,32,105,110,100,101,120,32,0,0,0,0,0,0,119,114,111,110,103,32,35,32,111,102,32,101,110,116,114,105,101,115,32,105,110,32,105,110,100,101,120,32,0,0,0,0,111,107,0,0,0,0,0,0,216,123,0,0,1,0,0,0,224,123,0,0,1,0,0,0,232,123,0,0,2,0,0,0,248,123,0,0,3,0,0,0,8,124,0,0,2,0,0,0,16,124,0,0,3,0,0,0,24,124,0,0,0,0,0,0,32,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,85,84,70,56,0,0,0,0,85,84,70,45,56,0,0,0,85,84,70,45,49,54,108,101,0,0,0,0,0,0,0,0,85,84,70,45,49,54,98,101,0,0,0,0,0,0,0,0,85,84,70,49,54,108,101,0,85,84,70,49,54,98,101,0,85,84,70,45,49,54,0,0,85,84,70,49,54,0,0,0,101,110,99,111,100,105,110,103,0,0,0,0,0,0,0,0,117,110,115,117,112,112,111,114,116,101,100,32,101,110,99,111,100,105,110,103,58,32,37,115,0,0,0,0,0,0,0,0,4,0,1,0,25,0,1,0,52,0,0,1,0,0,0,0,4,0,0,0,51,0,1,0,35,1,1,0,0,0,0,0,99,111,109,112,105,108,101,95,111,112,116,105,111,110,0,0,102,117,108,108,0,0,0,0,114,101,115,116,97,114,116,0,116,114,117,110,99,97,116,101,0,0,0,0,0,0,0,0,98,117,115,121,0,0,0,0,108,111,103,0,0,0,0,0,99,104,101,99,107,112,111,105,110,116,101,100,0,0,0,0,119,97,108,95,97,117,116,111,99,104,101,99,107,112,111,105,110,116,0,0,0,0,0,0,116,105,109,101,111,117,116,0,115,111,102,116,95,104,101,97,112,95,108,105,109,105,116,0,116,104,114,101,97,100,115,0,37,95,0,0,0,0,0,0,102,111,114,101,105,103,110,32,107,101,121,32,109,105,115,109,97,116,99,104,32,45,32,34,37,119,34,32,114,101,102,101,114,101,110,99,105,110,103,32,34,37,119,34,0,0,0,0,83,69,84,32,78,85,76,76,0,0,0,0,0,0,0,0,83,69,84,32,68,69,70,65,85,76,84,0,0,0,0,0,67,65,83,67,65,68,69,0,82,69,83,84,82,73,67,84,0,0,0,0,0,0,0,0,78,79,32,65,67,84,73,79,78,0,0,0,0,0,0,0,116,101,109,112,111,114,97,114,121,32,115,116,111,114,97,103,101,32,99,97,110,110,111,116,32,98,101,32,99,104,97,110,103,101,100,32,102,114,111,109,32,119,105,116,104,105,110,32,97,32,116,114,97,110,115,97,99,116,105,111,110,0,0,0,110,111,110,101,0,0,0,0,105,110,99,114,101,109,101,110,116,97,108,0,0,0,0,0,240,125,0,0,248,125,0,0,0,126,0,0,152,124,0,0,64,59,0,0,8,126,0,0,100,101,108,101,116,101,0,0,112,101,114,115,105,115,116,0,111,102,102,0,0,0,0,0,119,97,108,0,0,0,0,0,97,112,112,108,105,99,97,116,105,111,110,95,105,100,0,0,97,117,116,111,109,97,116,105,99,95,105,110,100,101,120,0,98,117,115,121,95,116,105,109,101,111,117,116,0,0,0,0,99,97,99,104,101,95,115,112,105,108,108,0,0,0,0,0,99,97,115,101,95,115,101,110,115,105,116,105,118,101,95,108,105,107,101,0,0,0,0,0,99,104,101,99,107,112,111,105,110,116,95,102,117,108,108,102,115,121,110,99,0,0,0,0,99,111,108,108,97,116,105,111,110,95,108,105,115,116,0,0,99,111,109,112,105,108,101,95,111,112,116,105,111,110,115,0,99,111,117,110,116,95,99,104,97,110,103,101,115,0,0,0,100,97,116,97,95,118,101,114,115,105,111,110,0,0,0,0,100,97,116,97,98,97,115,101,95,108,105,115,116,0,0,0,100,101,102,97,117,108,116,95,99,97,99,104,101,95,115,105,122,101,0,0,0,0,0,0,100,101,102,101,114,95,102,111,114,101,105,103,110,95,107,101,121,115,0,0,0,0,0,0,101,109,112,116,121,95,114,101,115,117,108,116,95,99,97,108,108,98,97,99,107,115,0,0,102,111,114,101,105,103,110,95,107,101,121,95,99,104,101,99,107,0,0,0,0,0,0,0,102,111,114,101,105,103,110,95,107,101,121,95,108,105,115,116,0,0,0,0,0,0,0,0,102,111,114,101,105,103,110,95,107,101,121,115,0,0,0,0,102,114,101,101,108,105,115,116,95,99,111,117,110,116,0,0,102,117,108,108,95,99,111,108,117,109,110,95,110,97,109,101,115,0,0,0,0,0,0,0,102,117,108,108,102,115,121,110,99,0,0,0,0,0,0,0,105,103,110,111,114,101,95,99,104,101,99,107,95,99,111,110,115,116,114,97,105,110,116,115,0,0,0,0,0,0,0,0,105,110,99,114,101,109,101,110,116,97,108,95,118,97,99,117,117,109,0,0,0,0,0,0,105,110,100,101,120,95,105,110,102,111,0,0,0,0,0,0,105,110,100,101,120,95,108,105,115,116,0,0,0,0,0,0,105,110,100,101,120,95,120,105,110,102,111,0,0,0,0,0,108,101,103,97,99,121,95,102,105,108,101,95,102,111,114,109,97,116,0,0,0,0,0,0,109,97,120,95,112,97,103,101,95,99,111,117,110,116,0,0,112,97,103,101,95,99,111,117,110,116,0,0,0,0,0,0,113,117,101,114,121,95,111,110,108,121,0,0,0,0,0,0,113,117,105,99,107,95,99,104,101,99,107,0,0,0,0,0,114,101,97,100,95,117,110,99,111,109,109,105,116,116,101,100,0,0,0,0,0,0,0,0,114,101,99,117,114,115,105,118,101,95,116,114,105,103,103,101,114,115,0,0,0,0,0,0,114,101,118,101,114,115,101,95,117,110,111,114,100,101,114,101,100,95,115,101,108,101,99,116,115,0,0,0,0,0,0,0,115,99,104,101,109,97,95,118,101,114,115,105,111,110,0,0,115,104,111,114,116,95,99,111,108,117,109,110,95,110,97,109,101,115,0,0,0,0,0,0,115,104,114,105,110,107,95,109,101,109,111,114,121,0,0,0,115,116,97,116,115,0,0,0,116,97,98,108,101,95,105,110,102,111,0,0,0,0,0,0,117,115,101,114,95,118,101,114,115,105,111,110,0,0,0,0,119,97,108,95,99,104,101,99,107,112,111,105,110,116,0,0,119,114,105,116,97,98,108,101,95,115,99,104,101,109,97,0,110,111,32,115,117,99,104,32,105,110,100,101,120,58,32,37,83,0,0,0,0,0,0,0,105,110,100,101,120,32,97,115,115,111,99,105,97,116,101,100,32,119,105,116,104,32,85,78,73,81,85,69,32,111,114,32,80,82,73,77,65,82,89,32,75,69,89,32,99,111,110,115,116,114,97,105,110,116,32,99,97,110,110,111,116,32,98,101,32,100,114,111,112,112,101,100,0,0,0,0,0,0,0,0,68,69,76,69,84,69,32,70,82,79,77,32,37,81,46,37,115,32,87,72,69,82,69,32,110,97,109,101,61,37,81,32,65,78,68,32,116,121,112,101,61,39,105,110,100,101,120,39,0,0,0,0,0,0,0,0,85,80,68,65,84,69,32,37,81,46,37,115,32,83,69,84,32,114,111,111,116,112,97,103,101,61,37,100,32,87,72,69,82,69,32,35,37,100,32,65,78,68,32,114,111,111,116,112,97,103,101,61,35,37,100,0,115,113,108,105,116,101,95,115,116,97,116,37,100,0,0,0,48,0,0,0,0,0,0,0,118,97,114,105,97,98,108,101,32,110,117,109,98,101,114,32,109,117,115,116,32,98,101,32,98,101,116,119,101,101,110,32,63,49,32,97,110,100,32,63,37,100,0,0,0,0,0,0,116,111,111,32,109,97,110,121,32,83,81,76,32,118,97,114,105,97,98,108,101,115,0,0,116,97,98,108,101,32,37,83,32,104,97,115,32,110,111,32,99,111,108,117,109,110,32,110,97,109,101,100,32,37,115,0,116,97,98,108,101,32,37,83,32,104,97,115,32,37,100,32,99,111,108,117,109,110,115,32,98,117,116,32,37,100,32,118,97,108,117,101,115,32,119,101,114,101,32,115,117,112,112,108,105,101,100,0,0,0,0,0,37,100,32,118,97,108,117,101,115,32,102,111,114,32,37,100,32,99,111,108,117,109,110,115,0,0,0,0,0,0,0,0,114,111,119,115,32,105,110,115,101,114,116,101,100,0,0,0,97,116,32,109,111,115,116,32,37,100,32,116,97,98,108,101,115,32,105,110,32,97,32,106,111,105,110,0,0,0,0,0,65,63,62,64,0,0,0,0,0,0,108,105,65,62,64,63,116,114,113,115,0,0,0,0,9,8,0,0,0,0,0,0,108,105,0,0,0,0,0,0,83,69,65,82,67,72,0,0,83,67,65,78,0,0,0,0,32,83,85,66,81,85,69,82,89,32,37,100,0,0,0,0,32,84,65,66,76,69,32,37,115,0,0,0,0,0,0,0,32,65,83,32,37,115,0,0,80,82,73,77,65,82,89,32,75,69,89,0,0,0,0,0,65,85,84,79,77,65,84,73,67,32,80,65,82,84,73,65,76,32,67,79,86,69,82,73,78,71,32,73,78,68,69,88,0,0,0,0,0,0,0,0,65,85,84,79,77,65,84,73,67,32,67,79,86,69,82,73,78,71,32,73,78,68,69,88,0,0,0,0,0,0,0,0,67,79,86,69,82,73,78,71,32,73,78,68,69,88,32,37,115,0,0,0,0,0,0,0,73,78,68,69,88,32,37,115,0,0,0,0,0,0,0,0,32,85,83,73,78,71,32,0,40,114,111,119,105,100,61,63,41,0,0,0,0,0,0,0,40,114,111,119,105,100,62,63,32,65,78,68,32,114,111,119,105,100,60,63,41,0,0,0,40,114,111,119,105,100,62,63,41,0,0,0,0,0,0,0,40,114,111,119,105,100,60,63,41,0,0,0,0,0,0,0,32,85,83,73,78,71,32,73,78,84,69,71,69,82,32,80,82,73,77,65,82,89,32,75,69,89,32,0,0,0,0,0,32,86,73,82,84,85,65,76,32,84,65,66,76,69,32,73,78,68,69,88,32,37,100,58,37,115,0,0,0,0,0,0,32,40,0,0,0,0,0,0,61,0,0,0,0,0,0,0,32,65,78,68,32,0,0,0,65,78,89,40,37,115,41,0,62,0,0,0,0,0,0,0,60,0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,97,117,116,111,109,97,116,105,99,32,105,110,100,101,120,32,111,110,32,37,115,40,37,115,41,0,0,0,0,0,0,0,97,117,116,111,45,105,110,100,101,120,0,0,0,0,0,0,110,111,32,113,117,101,114,121,32,115,111,108,117,116,105,111,110,0,0,0,0,0,0,0,10,10,9,9,8,8,7,7,7,6,6,6,5,5,5,4,4,4,4,3,3,3,3,3,3,2,2,2,2,2,2,2,37,115,46,120,66,101,115,116,73,110,100,101,120,40,41,32,109,97,108,102,117,110,99,116,105,111,110,0,0,0,0,0,116,97,98,108,101,32,37,115,58,32,120,66,101,115,116,73,110,100,101,120,32,114,101,116,117,114,110,101,100,32,97,110,32,105,110,118,97,108,105,100,32,112,108,97,110,0,0,0,83,81,0,0,0,0,0,0,45,45,32,84,82,73,71,71,69,82,32,37,115,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,2,0,1,0,1,1,4,36,1,4,5,16,0,2,2,2,2,0,2,2,0,0,32,0,0,4,5,4,4,0,0,1,1,5,5,0,0,0,2,2,16,0,0,0,0,0,0,0,0,0,17,17,17,17,8,17,17,17,17,76,76,2,2,0,5,5,21,21,21,21,21,21,0,76,76,76,76,76,76,76,76,76,76,0,36,2,0,0,0,0,0,2,0,1,1,1,1,8,8,0,2,1,1,1,1,2,0,0,2,2,0,0,0,0,0,0,12,69,21,1,2,2,0,1,8,5,5,5,5,5,0,1,0,0,0,0,0,0,0,1,0,2,2,1,0,0,0,0,16,16,2,16,0,0,0,0,0,1,2,3,4,6,8,8,0,0,0,0,0,0,0,0,176,107,0,0,3,0,0,0,168,107,0,0,3,0,0,0,111,105,100,0,0,0,0,0,70,79,82,69,73,71,78,32,75,69,89,32,99,111,110,115,116,114,97,105,110,116,32,102,97,105,108,101,100,0,0,0,37,115,46,114,111,119,105,100,0,0,0,0,0,0,0,0,116,97,98,108,101,32,37,115,32,109,97,121,32,110,111,116,32,98,101,32,109,111,100,105,102,105,101,100,0,0,0,0,99,97,110,110,111,116,32,109,111,100,105,102,121,32,37,115,32,98,101,99,97,117,115,101,32,105,116,32,105,115,32,97,32,118,105,101,119,0,0,0,110,111,32,115,117,99,104,32,99,111,108,117,109,110,58,32,37,115,0,0,0,0,0,0,114,111,119,115,32,117,112,100,97,116,101,100,0,0,0,0,95,114,111,119,105,100,95,0,116,111,111,32,109,97,110,121,32,99,111,108,117,109,110,115,32,105,110,32,37,115,0,0,114,111,119,115,32,100,101,108,101,116,101,100,0,0,0,0,110,97,116,117,114,97,108,101,102,116,111,117,116,101,114,105,103,104,116,102,117,108,108,105,110,110,101,114,99,114,111,115,115,0,0,0,0,0,0,0,0,7,4,6,4,40,10,5,32,14,5,48,19,4,56,23,5,1,28,5,3,0,0,0,117,110,107,110,111,119,110,32,111,114,32,117,110,115,117,112,112,111,114,116,101,100,32,106,111,105,110,32,116,121,112,101,58,32,37,84,32,37,84,37,115,37,84,0,0,0,0,0,82,73,71,72,84,32,97,110,100,32,70,85,76,76,32,79,85,84,69,82,32,74,79,73,78,115,32,97,114,101,32,110,111,116,32,99,117,114,114,101,110,116,108,121,32,115,117,112,112,111,114,116,101,100,0,0,97,32,74,79,73,78,32,99,108,97,117,115,101,32,105,115,32,114,101,113,117,105,114,101,100,32,98,101,102,111,114,101,32,37,115,0,0,0,0,0,79,78,0,0,0,0,0,0,85,83,73,78,71,0,0,0,68,73,83,84,73,78,67,84,0,0,0,0,0,0,0,0,71,82,79,85,80,32,66,89,0,0,0,0,0,0,0,0,82,73,71,72,84,32,80,65,82,84,32,79,70,32,79,82,68,69,82,32,66,89,0,0,79,82,68,69,82,32,66,89,0,0,0,0,0,0,0,0,99,111,108,117,109,110,37,100,0,0,0,0,0,0,0,0,83,67,65,78,32,84,65,66,76,69,32,37,115,37,115,37,115,0,0,0,0,0,0,0,32,85,83,73,78,71,32,67,79,86,69,82,73,78,71,32,73,78,68,69,88,32,0,0,68,73,83,84,73,78,67,84,32,97,103,103,114,101,103,97,116,101,115,32,109,117,115,116,32,104,97,118,101,32,101,120,97,99,116,108,121,32,111,110,101,32,97,114,103,117,109,101,110,116,0,0,0,0,0,0,85,83,69,32,84,69,77,80,32,66,45,84,82,69,69,32,70,79,82,32,37,115,0,0,79,82,68,69,82,32,66,89,32,99,108,97,117,115,101,32,115,104,111,117,108,100,32,99,111,109,101,32,97,102,116,101,114,32,37,115,32,110,111,116,32,98,101,102,111,114,101,0,76,73,77,73,84,32,99,108,97,117,115,101,32,115,104,111,117,108,100,32,99,111,109,101,32,97,102,116,101,114,32,37,115,32,110,111,116,32,98,101,102,111,114,101,0,0,0,0,67,79,77,80,79,85,78,68,32,83,85,66,81,85,69,82,73,69,83,32,37,100,32,65,78,68,32,37,100,32,37,115,40,37,115,41,0,0,0,0,85,83,73,78,71,32,84,69,77,80,32,66,45,84,82,69,69,32,0,0,0,0,0,0,97,108,108,32,86,65,76,85,69,83,32,109,117,115,116,32,104,97,118,101,32,116,104,101,32,115,97,109,101,32,110,117,109,98,101,114,32,111,102,32,116,101,114,109,115,0,0,0,83,69,76,69,67,84,115,32,116,111,32,116,104,101,32,108,101,102,116,32,97,110,100,32,114,105,103,104,116,32,111,102,32,37,115,32,100,111,32,110,111,116,32,104,97,118,101,32,116,104,101,32,115,97,109,101,32,110,117,109,98,101,114,32,111,102,32,114,101,115,117,108,116,32,99,111,108,117,109,110,115,0,0,0,0,0,0,0,85,78,73,79,78,32,65,76,76,0,0,0,0,0,0,0,73,78,84,69,82,83,69,67,84,0,0,0,0,0,0,0,69,88,67,69,80,84,0,0,85,78,73,79,78,0,0,0,111,110,108,121,32,97,32,115,105,110,103,108,101,32,114,101,115,117,108,116,32,97,108,108,111,119,101,100,32,102,111,114,32,97,32,83,69,76,69,67,84,32,116,104,97,116,32,105,115,32,112,97,114,116,32,111,102,32,97,110,32,101,120,112,114,101,115,115,105,111,110,0,112,97,114,97,109,101,116,101,114,115,32,97,114,101,32,110,111,116,32,97,108,108,111,119,101,100,32,105,110,32,118,105,101,119,115,0,0,0,0,0,118,105,101,119,0,0,0,0,115,113,108,105,116,101,95,115,116,97,116,0,0,0,0,0,116,97,98,108,101,32,37,115,32,109,97,121,32,110,111,116,32,98,101,32,100,114,111,112,112,101,100,0,0,0,0,0,117,115,101,32,68,82,79,80,32,84,65,66,76,69,32,116,111,32,100,101,108,101,116,101,32,116,97,98,108,101,32,37,115,0,0,0,0,0,0,0,117,115,101,32,68,82,79,80,32,86,73,69,87,32,116,111,32,100,101,108,101,116,101,32,118,105,101,119,32,37,115,0,68,69,76,69,84,69,32,70,82,79,77,32,37,81,46,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,32,87,72,69,82,69,32,110,97,109,101,61,37,81,0,0,0,0,68,69,76,69,84,69,32,70,82,79,77,32,37,81,46,37,115,32,87,72,69,82,69,32,116,98,108,95,110,97,109,101,61,37,81,32,97,110,100,32,116,121,112,101,33,61,39,116,114,105,103,103,101,114,39,0,102,111,114,101,105,103,110,32,107,101,121,32,111,110,32,37,115,32,115,104,111,117,108,100,32,114,101,102,101,114,101,110,99,101,32,111,110,108,121,32,111,110,101,32,99,111,108,117,109,110,32,111,102,32,116,97,98,108,101,32,37,84,0,0,110,117,109,98,101,114,32,111,102,32,99,111,108,117,109,110,115,32,105,110,32,102,111,114,101,105,103,110,32,107,101,121,32,100,111,101,115,32,110,111,116,32,109,97,116,99,104,32,116,104,101,32,110,117,109,98,101,114,32,111,102,32,99,111,108,117,109,110,115,32,105,110,32,116,104,101,32,114,101,102,101,114,101,110,99,101,100,32,116,97,98,108,101,0,0,0,117,110,107,110,111,119,110,32,99,111,108,117,109,110,32,34,37,115,34,32,105,110,32,102,111,114,101,105,103,110,32,107,101,121,32,100,101,102,105,110,105,116,105,111,110,0,0,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,97,32,84,69,77,80,32,105,110,100,101,120,32,111,110,32,110,111,110,45,84,69,77,80,32,116,97,98,108,101,32,34,37,115,34,0,0,0,0,0,0,0,97,108,116,101,114,116,97,98,95,0,0,0,0,0,0,0,116,97,98,108,101,32,37,115,32,109,97,121,32,110,111,116,32,98,101,32,105,110,100,101,120,101,100,0,0,0,0,0,118,105,101,119,115,32,109,97,121,32,110,111,116,32,98,101,32,105,110,100,101,120,101,100,0,0,0,0,0,0,0,0,118,105,114,116,117,97,108,32,116,97,98,108,101,115,32,109,97,121,32,110,111,116,32,98,101,32,105,110,100,101,120,101,100,0,0,0,0,0,0,0,116,104,101,114,101,32,105,115,32,97,108,114,101,97,100,121,32,97,32,116,97,98,108,101,32,110,97,109,101,100,32,37,115,0,0,0,0,0,0,0,105,110,100,101,120,32,37,115,32,97,108,114,101,97,100,121,32,101,120,105,115,116,115,0,115,113,108,105,116,101,95,97,117,116,111,105,110,100,101,120,95,37,115,95,37,100,0,0,116,97,98,108,101,32,37,115,32,104,97,115,32,110,111,32,99,111,108,117,109,110,32,110,97,109,101,100,32,37,115,0,99,111,110,102,108,105,99,116,105,110,103,32,79,78,32,67,79,78,70,76,73,67,84,32,99,108,97,117,115,101,115,32,115,112,101,99,105,102,105,101,100,0,0,0,0,0,0,0,67,82,69,65,84,69,37,115,32,73,78,68,69,88,32,37,46,42,115,0,0,0,0,0,32,85,78,73,81,85,69,0,73,78,83,69,82,84,32,73,78,84,79,32,37,81,46,37,115,32,86,65,76,85,69,83,40,39,105,110,100,101,120,39,44,37,81,44,37,81,44,35,37,100,44,37,81,41,59,0,110,97,109,101,61,39,37,113,39,32,65,78,68,32,116,121,112,101,61,39,105,110,100,101,120,39,0,0,0,0,0,0,116,97,98,108,101,32,34,37,115,34,32,104,97,115,32,109,111,114,101,32,116,104,97,110,32,111,110,101,32,112,114,105,109,97,114,121,32,107,101,121,0,0,0,0,0,0,0,0,65,85,84,79,73,78,67,82,69,77,69,78,84,32,105,115,32,111,110,108,121,32,97,108,108,111,119,101,100,32,111,110,32,97,110,32,73,78,84,69,71,69,82,32,80,82,73,77,65,82,89,32,75,69,89,0,100,101,102,97,117,108,116,32,118,97,108,117,101,32,111,102,32,99,111,108,117,109,110,32,91,37,115,93,32,105,115,32,110,111,116,32,99,111,110,115,116,97,110,116,0,0,0,0,116,111,111,32,109,97,110,121,32,99,111,108,117,109,110,115,32,111,110,32,37,115,0,0,100,117,112,108,105,99,97,116,101,32,99,111,108,117,109,110,32,110,97,109,101,58,32,37,115,0,0,0,0,0,0,0,65,85,84,79,73,78,67,82,69,77,69,78,84,32,110,111,116,32,97,108,108,111,119,101,100,32,111,110,32,87,73,84,72,79,85,84,32,82,79,87,73,68,32,116,97,98,108,101,115,0,0,0,0,0,0,0,80,82,73,77,65,82,89,32,75,69,89,32,109,105,115,115,105,110,103,32,111,110,32,116,97,98,108,101,32,37,115,0,84,65,66,76,69,0,0,0,86,73,69,87,0,0,0,0,67,82,69,65,84,69,32,37,115,32,37,46,42,115,0,0,85,80,68,65,84,69,32,37,81,46,37,115,32,83,69,84,32,116,121,112,101,61,39,37,115,39,44,32,110,97,109,101,61,37,81,44,32,116,98,108,95,110,97,109,101,61,37,81,44,32,114,111,111,116,112,97,103,101,61,35,37,100,44,32,115,113,108,61,37,81,32,87,72,69,82,69,32,114,111,119,105,100,61,35,37,100,0,0,67,82,69,65,84,69,32,84,65,66,76,69,32,37,81,46,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,40,110,97,109,101,44,115,101,113,41,0,0,0,0,0,0,0,116,98,108,95,110,97,109,101,61,39,37,113,39,32,65,78,68,32,116,121,112,101,33,61,39,116,114,105,103,103,101,114,39,0,0,0,0,0,0,0,10,32,32,0,0,0,0,0,44,10,32,32,0,0,0,0,10,41,0,0,0,0,0,0,67,82,69,65,84,69,32,84,65,66,76,69,32,0,0,0,120,40,0,0,80,144,0,0,88,144,0,0,96,144,0,0,104,144,0,0,0,0,0,0,32,84,69,88,84,0,0,0,32,78,85,77,0,0,0,0,32,73,78,84,0,0,0,0,32,82,69,65,76,0,0,0,116,101,109,112,111,114,97,114,121,32,116,97,98,108,101,32,110,97,109,101,32,109,117,115,116,32,98,101,32,117,110,113,117,97,108,105,102,105,101,100,0,0,0,0,0,0,0,0,116,97,98,108,101,32,37,84,32,97,108,114,101,97,100,121,32,101,120,105,115,116,115,0,116,104,101,114,101,32,105,115,32,97,108,114,101,97,100,121,32,97,110,32,105,110,100,101,120,32,110,97,109,101,100,32,37,115,0,0,0,0,0,0,240,144,0,0,248,144,0,0,0,145,0,0,0,0,0,0,66,69,71,73,78,0,0,0,82,69,76,69,65,83,69,0,82,79,76,76,66,65,67,75,0,0,0,0,0,0,0,0,67,79,77,77,73,84,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,97,114,115,101,114,32,115,116,97,99,107,32,111,118,101,114,102,108,111,119,0,0,0,224,3,33,4,75,5,132,4,180,4,180,4,1,0,6,1,237,255,135,0,135,0,8,3,180,4,180,4,180,4,180,4,69,0,69,0,53,0,208,0,27,1,243,2,58,0,213,2,136,2,59,2,238,1,161,1,84,1,7,1,212,0,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,59,3,110,3,59,3,161,3,212,3,212,3,46,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,234,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,180,4,185,255,209,255,209,255,209,255,209,255,209,255,0,0,29,0,244,255,27,1,27,1,139,0,91,0,136,1,136,1,126,3,160,2,214,2,103,5,170,255,170,255,170,255,88,0,62,1,62,1,99,0,125,1,236,255,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,112,2,108,3,214,2,160,2,60,5,60,5,60,5,60,5,60,5,60,5,170,255,170,255,170,255,49,1,136,0,136,0,142,0,167,0,226,0,154,0,137,0,152,0,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,80,1,80,1,80,1,27,1,27,1,96,1,27,1,27,1,27,1,27,1,27,1,228,0,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,245,1,57,2,84,2,84,2,84,2,251,1,241,1,185,1,135,1,97,1,156,0,156,0,89,3,97,1,89,3,223,2,45,3,127,2,203,2,156,0,76,1,203,2,203,2,240,1,163,1,134,2,77,5,160,4,160,4,55,5,55,5,160,4,61,5,236,4,120,4,66,5,66,5,66,5,66,5,160,4,26,5,120,4,61,5,236,4,236,4,120,4,160,4,26,5,182,4,4,5,160,4,160,4,26,5,160,4,26,5,160,4,26,5,238,4,183,4,183,4,183,4,250,4,238,4,183,4,193,4,183,4,250,4,183,4,183,4,161,4,176,4,161,4,176,4,161,4,176,4,160,4,160,4,137,4,238,4,178,4,178,4,238,4,130,4,131,4,123,4,128,4,120,4,217,4,215,4,226,4,226,4,230,4,230,4,230,4,230,4,170,255,170,255,170,255,170,255,170,255,170,255,44,4,48,1,14,2,249,0,152,1,173,255,178,1,44,3,27,0,43,3,39,3,34,3,239,2,77,2,139,2,163,0,131,0,162,2,110,1,194,1,43,1,148,0,23,0,102,0,229,0,235,255,221,4,220,4,198,4,75,4,204,4,148,4,199,4,191,4,189,4,91,4,82,4,99,4,86,4,185,4,81,4,188,4,202,4,74,4,65,4,116,4,115,4,80,4,165,4,154,4,70,4,187,4,181,4,163,4,77,4,47,4,129,4,151,4,122,4,114,4,127,4,67,4,140,4,141,4,139,4,45,4,48,4,124,4,88,4,110,4,103,4,105,4,102,4,68,4,90,4,94,4,64,4,66,4,69,4,63,4,60,4,219,3,55,4,53,4,50,4,41,4,156,3,253,3,246,3,236,3,238,3,51,3,227,2,128,3,87,3,36,3,227,2,228,2,224,2,178,2,142,2,153,2,106,2,70,2,56,2,16,2,42,2,123,1,20,2,223,1,199,1,123,1,176,1,115,1,85,1,28,0,82,1,116,0,245,255,199,255,171,255,7,0,248,255,3,0,0,0,0,0,135,2,196,3,196,3,196,3,110,3,110,3,201,3,196,3,6,3,34,3,34,3,170,3,201,3,201,3,201,3,108,3,201,3,201,3,201,3,196,3,201,3,10,3,40,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,169,3,171,3,48,3,47,3,150,3,21,3,45,3,38,3,42,3,111,3,104,3,105,3,103,3,107,3,112,3,201,3,41,3,73,3,88,3,72,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,82,3,87,3,94,3,86,3,83,3,75,3,74,3,76,3,77,3,201,3,201,3,161,2,227,2,201,3,201,3,78,3,201,3,173,2,79,3,91,3,90,3,89,3,168,2,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,135,2,196,3,201,3,201,3,196,3,196,3,196,3,196,3,196,3,196,3,188,3,10,3,0,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,176,3,174,3,201,3,123,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,141,2,201,3,143,3,6,3,6,3,6,3,8,3,242,2,254,2,143,2,44,3,23,3,23,3,155,3,44,3,155,3,198,2,221,2,195,2,34,3,23,3,106,3,34,3,34,3,7,3,254,2,201,3,181,3,14,3,14,3,173,3,173,3,14,3,53,3,231,2,44,3,238,2,238,2,238,2,238,2,14,3,158,2,44,3,53,3,231,2,231,2,44,3,14,3,158,2,149,3,147,3,14,3,14,3,158,2,14,3,158,2,14,3,158,2,116,3,229,2,229,2,229,2,213,2,116,3,229,2,198,2,229,2,213,2,229,2,229,2,27,3,22,3,27,3,22,3,27,3,22,3,14,3,14,3,201,3,116,3,120,3,120,3,116,3,39,3,28,3,37,3,35,3,44,3,164,2,216,2,151,2,151,2,140,2,140,2,140,2,140,2,193,3,193,3,188,3,200,2,200,2,183,2,201,3,201,3,201,3,201,3,201,3,201,3,175,2,201,3,125,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,60,3,201,3,136,2,183,3,201,3,201,3,180,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,153,3,201,3,201,3,201,3,201,3,201,3,201,3,146,3,145,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,245,2,201,3,201,3,201,3,249,2,201,3,201,3,201,3,201,3,201,3,201,3,36,3,201,3,29,3,201,3,109,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,201,3,198,3,201,3,201,3,201,3,197,3,201,3,201,3,201,3,201,3,201,3,62,3,201,3,61,3,65,3,201,3,149,2,201,3,132,2,137,2,192,3,195,3,194,3,191,3,190,3,189,3,184,3,182,3,179,3,178,3,177,3,175,3,172,3,168,3,129,3,127,3,134,3,133,3,132,3,131,3,130,3,128,3,126,3,124,3,50,3,49,3,46,3,43,3,241,2,167,3,122,3,240,2,237,2,236,2,157,2,185,3,152,3,161,3,160,3,159,3,54,3,158,3,157,3,156,3,154,3,151,3,138,3,52,3,51,3,232,2,114,3,113,3,160,2,142,3,141,3,140,3,144,3,148,3,139,3,16,3,239,2,159,2,156,2,163,2,167,2,219,2,220,2,228,2,226,2,225,2,224,2,223,2,222,2,218,2,169,2,174,2,212,2,197,2,196,2,205,2,204,2,210,2,209,2,208,2,207,2,206,2,203,2,202,2,201,2,194,2,193,2,199,2,192,2,215,2,214,2,211,2,191,2,235,2,234,2,233,2,230,2,190,2,189,2,188,2,65,3,187,2,186,2,70,3,69,3,98,3,58,3,243,2,247,2,246,2,250,2,251,2,3,3,2,3,1,3,12,3,13,3,25,3,24,3,56,3,55,3,26,3,11,3,5,3,4,3,20,3,19,3,18,3,17,3,9,3,255,2,31,3,30,3,100,3,15,3,99,3,97,3,166,3,165,3,164,3],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+28952);allocate([163,3,162,3,102,3,199,3,200,3,119,3,121,3,118,3,33,3,32,3,117,3,101,3,71,3,68,3,178,2,179,2,137,3,136,3,135,3,181,2,180,2,177,2,176,2,95,3,92,3,84,3,96,3,93,3,85,3,81,3,80,3,66,3,64,3,63,3,59,3,67,3,248,2,244,2,57,3,253,2,252,2,185,2,184,2,182,2,166,2,165,2,162,2,155,2,153,2,152,2,154,2,150,2,148,2,147,2,146,2,145,2,144,2,172,2,171,2,170,2,142,2,139,2,138,2,134,2,133,2,131,2,0,0,0,0,19,22,22,23,1,24,26,15,27,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,108,109,110,27,28,23,50,51,80,81,82,83,122,85,86,87,88,89,90,91,92,93,94,95,22,70,23,71,72,73,74,75,76,77,78,79,80,81,82,83,122,85,86,87,88,89,90,91,92,93,94,95,19,97,91,92,93,94,95,26,85,86,87,88,89,90,91,92,93,94,95,27,28,97,98,99,122,211,102,103,104,79,19,50,51,19,122,59,55,113,224,225,226,89,90,91,92,93,94,95,23,27,28,26,71,72,73,74,75,76,77,78,79,80,81,82,83,51,85,86,87,88,89,90,91,92,93,94,95,19,132,133,58,89,90,21,108,109,110,27,28,97,98,33,100,7,8,119,120,22,19,107,42,109,27,28,27,28,95,28,50,51,99,100,101,102,103,104,105,27,28,97,98,107,152,112,132,133,112,65,69,71,72,73,74,75,76,77,78,79,80,81,82,83,11,85,86,87,88,89,90,91,92,93,94,95,19,101,97,97,98,24,101,122,157,12,99,103,112,102,103,104,152,22,97,98,97,98,27,28,113,27,29,91,164,165,124,50,51,97,98,219,59,132,133,134,22,23,45,66,47,212,213,124,140,132,133,19,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,164,165,27,28,230,50,51,233,108,109,110,70,16,59,23,97,98,26,97,22,66,185,12,187,27,28,71,72,73,74,75,76,77,78,79,80,81,82,83,29,85,86,87,88,89,90,91,92,93,94,95,19,22,148,149,45,23,47,62,154,64,156,108,109,110,37,69,23,163,59,26,26,97,98,144,145,146,147,152,200,52,23,50,51,26,22,89,90,60,210,7,8,9,138,97,22,23,26,101,26,174,175,197,71,72,73,74,75,76,77,78,79,80,81,82,83,16,85,86,87,88,89,90,91,92,93,94,95,19,132,133,134,23,152,208,209,140,152,152,111,195,196,98,70,163,160,152,23,22,164,165,246,207,27,152,174,175,171,172,50,51,137,62,139,64,171,172,222,124,27,138,24,163,89,90,130,174,175,197,163,71,72,73,74,75,76,77,78,79,80,81,82,83,22,85,86,87,88,89,90,91,92,93,94,95,19,197,181,182,23,208,209,152,197,26,189,132,133,232,224,225,226,152,97,91,26,232,116,212,213,152,222,121,152,174,175,50,51,243,97,22,23,22,234,174,175,177,23,239,116,163,177,174,175,121,174,175,71,72,73,74,75,76,77,78,79,80,81,82,83,24,85,86,87,88,89,90,91,92,93,94,95,19,23,197,11,23,227,70,208,220,152,31,224,225,226,35,98,224,225,226,108,109,110,115,152,117,118,27,222,49,123,24,50,51,27,0,1,2,224,225,226,166,124,168,169,239,174,175,170,171,172,22,194,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,19,22,208,24,23,195,196,170,171,172,174,175,152,26,152,152,152,207,152,97,152,23,152,51,244,152,97,152,247,248,23,50,51,26,174,175,174,175,174,175,174,175,174,175,174,175,23,174,175,174,175,188,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,19,152,107,152,33,24,152,100,101,27,174,175,152,42,152,23,152,26,152,23,152,26,152,174,175,174,175,152,174,175,23,50,51,26,174,175,174,175,174,175,174,175,174,175,174,175,163,119,120,174,175,19,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,66,152,97,197,23,50,51,26,53,23,174,175,26,23,23,23,26,26,26,36,106,146,147,174,175,19,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,152,196,119,120,19,50,51,168,169,26,174,175,207,28,152,249,250,152,163,163,163,163,174,175,163,19,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,152,197,197,197,197,50,51,197,194,36,174,175,191,192,152,191,192,163,152,66,124,152,174,175,152,19,71,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,197,152,100,188,152,50,51,152,152,188,174,175,252,152,94,95,152,152,152,1,2,152,152,174,175,19,152,72,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,152,188,188,22,194,50,51,240,173,194,174,175,252,194,152,36,181,28,152,23,219,122,174,175,219,221,152,152,73,74,75,76,77,78,79,80,81,82,83,152,85,86,87,88,89,90,91,92,93,94,95,19,20,152,22,23,194,152,240,27,28,174,175,240,19,20,26,22,194,194,38,22,27,28,152,23,22,152,116,174,175,152,23,38,152,23,152,221,152,57,152,23,163,50,51,194,174,175,66,174,175,69,57,174,175,40,174,175,174,175,174,175,174,175,69,22,53,74,75,30,53,89,90,22,22,152,197,23,96,97,98,22,152,101,89,90,91,208,209,152,53,96,97,98,101,22,101,174,175,152,19,20,105,22,174,175,112,19,27,28,20,174,175,24,132,133,134,135,136,38,44,174,175,107,61,54,26,132,133,134,135,136,54,107,22,5,140,1,57,36,111,122,28,79,79,131,123,66,19,20,69,22,1,16,20,125,27,28,123,111,120,23,131,23,16,68,142,38,15,22,89,90,3,167,4,248,251,96,97,98,180,180,101,251,151,6,57,151,13,151,26,25,151,161,202,153,162,153,69,130,128,203,19,20,127,22,126,204,129,22,27,28,205,132,133,134,135,136,89,90,231,38,95,137,179,96,97,98,206,179,101,122,107,159,159,125,231,216,228,107,57,184,217,216,176,217,176,48,106,18,184,158,69,159,158,46,71,237,176,176,176,132,133,134,135,136,217,176,137,216,178,158,89,90,179,176,159,179,159,96,97,98,159,159,101,5,158,202,22,18,10,11,12,13,14,190,238,17,190,158,193,41,159,202,193,159,202,245,193,193,223,190,32,159,34,132,133,134,135,136,159,39,155,43,150,223,177,201,178,177,186,66,199,177,152,253,56,215,152,182,152,202,152,63,152,152,66,67,242,229,152,174,152,152,152,152,152,152,152,199,242,202,152,198,152,152,152,183,192,152,215,152,183,215,183,152,241,214,152,211,152,152,211,211,152,152,241,152,152,152,152,152,152,152,114,152,152,235,152,152,152,174,187,95,174,253,253,253,253,236,253,253,253,253,253,253,253,253,253,253,253,141,0,0,0,0,0,0,0,0,0,27,27,27,27,0,27,27,27,0,27,27,27,27,0,0,0,27,0,0,27,0,0,0,27,0,0,0,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,0,0,115,113,108,105,116,101,51,95,103,101,116,95,116,97,98,108,101,40,41,32,99,97,108,108,101,100,32,119,105,116,104,32,116,119,111,32,111,114,32,109,111,114,101,32,105,110,99,111,109,112,97,116,105,98,108,101,32,113,117,101,114,105,101,115,0,0,0,0,0,0,0,0,100,97,116,97,98,97,115,101,32,115,99,104,101,109,97,32,105,115,32,108,111,99,107,101,100,58,32,37,115,0,0,0,115,116,97,116,101,109,101,110,116,32,116,111,111,32,108,111,110,103,0,0,0,0,0,0,128,160,0,0,136,160,0,0,144,160,0,0,152,160,0,0,160,160,0,0,168,160,0,0,176,160,0,0,184,160,0,0,192,160,0,0,208,160,0,0,136,122,0,0,216,160,0,0,97,100,100,114,0,0,0,0,111,112,99,111,100,101,0,0,112,49,0,0,0,0,0,0,112,50,0,0,0,0,0,0,112,51,0,0,0,0,0,0,112,52,0,0,0,0,0,0,112,53,0,0,0,0,0,0,99,111,109,109,101,110,116,0,115,101,108,101,99,116,105,100,0,0,0,0,0,0,0,0,111,114,100,101,114,0,0,0,100,101,116,97,105,108,0,0,115,111,0,0,0,0,0,0,115,113,108,105,116,101,51,95,101,120,116,101,110,115,105,111,110,95,105,110,105,116,0,0,117,110,97,98,108,101,32,116,111,32,111,112,101,110,32,115,104,97,114,101,100,32,108,105,98,114,97,114,121,32,91,37,115,93,0,0,0,0,0,0,108,105,98,0,0,0,0,0,95,105,110,105,116,0,0,0,110,111,32,101,110,116,114,121,32,112,111,105,110,116,32,91,37,115,93,32,105,110,32,115,104,97,114,101,100,32,108,105,98,114,97,114,121,32,91,37,115,93,0,0,0,0,0,0,101,114,114,111,114,32,100,117,114,105,110,103,32,105,110,105,116,105,97,108,105,122,97,116,105,111,110,58,32,37,115,0,117,110,111,112,101,110,101,100,0,0,0,0,0,0,0,0,110,111,32,115,117,99,104,32,118,105,101,119,0,0,0,0,110,111,32,115,117,99,104,32,116,97,98,108,101,0,0,0,99,97,110,110,111,116,32,111,112,101,110,32,118,97,108,117,101,32,111,102,32,116,121,112,101,32,37,115,0,0,0,0,110,111,32,115,117,99,104,32,114,111,119,105,100,58,32,37,108,108,100,0,0,0,0,0,98,105,110,100,32,111,110,32,97,32,98,117,115,121,32,112,114,101,112,97,114,101,100,32,115,116,97,116,101,109,101,110,116,58,32,91,37,115,93,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,80,162,0,0,96,162,0,0,104,162,0,0,112,162,0,0,78,79,84,32,78,85,76,76,0,0,0,0,0,0,0,0,85,78,73,81,85,69,0,0,67,72,69,67,75,0,0,0,70,79,82,69,73,71,78,32,75,69,89,0,0,0,0,0,97,98,111,114,116,32,97,116,32,37,100,32,105,110,32,91,37,115,93,58,32,37,115,0,37,115,32,99,111,110,115,116,114,97,105,110,116,32,102,97,105,108,101,100,58,32,37,115,0,0,0,0,0,0,0,0,37,115,32,99,111,110,115,116,114,97,105,110,116,32,102,97,105,108,101,100,0,0,0,0,0,0,0,0,1,2,0,2,2,0,0,0,0,0,0,0,0,1,2,1,1,1,2,1,2,0,0,0,0,0,0,0,99,97,110,110,111,116,32,111,112,101,110,32,115,97,118,101,112,111,105,110,116,32,45,32,83,81,76,32,115,116,97,116,101,109,101,110,116,115,32,105,110,32,112,114,111,103,114,101,115,115,0,0,0,0,0,0,110,111,32,115,117,99,104,32,115,97,118,101,112,111,105,110,116,58,32,37,115,0,0,0,99,97,110,110,111,116,32,114,101,108,101,97,115,101,32,115,97,118,101,112,111,105,110,116,32,45,32,83,81,76,32,115,116,97,116,101,109,101,110,116,115,32,105,110,32,112,114,111,103,114,101,115,115,0,0,0,99,97,110,110,111,116,32,99,111,109,109,105,116,32,116,114,97,110,115,97,99,116,105,111,110,32,45,32,83,81,76,32,115,116,97,116,101,109,101,110,116,115,32,105,110,32,112,114,111,103,114,101,115,115,0,0,99,97,110,110,111,116,32,115,116,97,114,116,32,97,32,116,114,97,110,115,97,99,116,105,111,110,32,119,105,116,104,105,110,32,97,32,116,114,97,110,115,97,99,116,105,111,110,0,99,97,110,110,111,116,32,114,111,108,108,98,97,99,107,32,45,32,110,111,32,116,114,97,110,115,97,99,116,105,111,110,32,105,115,32,97,99,116,105,118,101,0,0,0,0,0,0,99,97,110,110,111,116,32,99,111,109,109,105,116,32,45,32,110,111,32,116,114,97,110,115,97,99,116,105,111,110,32,105,115,32,97,99,116,105,118,101,0,0,0,0,0,0,0,0,83,69,76,69,67,84,32,110,97,109,101,44,32,114,111,111,116,112,97,103,101,44,32,115,113,108,32,70,82,79,77,32,39,37,113,39,46,37,115,32,87,72,69,82,69,32,37,115,32,79,82,68,69,82,32,66,89,32,114,111,119,105,100,0,116,111,111,32,109,97,110,121,32,108,101,118,101,108,115,32,111,102,32,116,114,105,103,103,101,114,32,114,101,99,117,114,115,105,111,110,0,0,0,0,99,97,110,110,111,116,32,99,104,97,110,103,101,32,37,115,32,119,97,108,32,109,111,100,101,32,102,114,111,109,32,119,105,116,104,105,110,32,97,32,116,114,97,110,115,97,99,116,105,111,110,0,0,0,0,0,105,110,116,111,0,0,0,0,111,117,116,32,111,102,0,0,100,97,116,97,98,97,115,101,32,116,97,98,108,101,32,105,115,32,108,111,99,107,101,100,58,32,37,115,0,0,0,0,115,116,97,116,101,109,101,110,116,32,97,98,111,114,116,115,32,97,116,32,37,100,58,32,91,37,115,93,32,37,115,0,45,45,32,0,0,0,0,0,39,37,46,42,113,39,0,0,122,101,114,111,98,108,111,98,40,37,100,41,0,0,0,0,120,39,0,0,0,0,0,0,37,48,50,120,0,0,0,0,39,0,0,0,0,0,0,0,99,97,110,110,111,116,32,86,65,67,85,85,77,32,102,114,111,109,32,119,105,116,104,105,110,32,97,32,116,114,97,110,115,97,99,116,105,111,110,0,99,97,110,110,111,116,32,86,65,67,85,85,77,32,45,32,83,81,76,32,115,116,97,116,101,109,101,110,116,115,32,105,110,32,112,114,111,103,114,101,115,115,0,0,0,0,0,0,65,84,84,65,67,72,32,39,58,109,101,109,111,114,121,58,39,32,65,83,32,118,97,99,117,117,109,95,100,98,59,0,65,84,84,65,67,72,32,39,39,32,65,83,32,118,97,99,117,117,109,95,100,98,59,0,80,82,65,71,77,65,32,118,97,99,117,117,109,95,100,98,46,115,121,110,99,104,114,111,110,111,117,115,61,79,70,70,0,0,0,0,0,0,0,0,66,69,71,73,78,59,0,0,83,69,76,69,67,84,32,39,67,82,69,65,84,69,32,84,65,66,76,69,32,118,97,99,117,117,109,95,100,98,46,39,32,124,124,32,115,117,98,115,116,114,40,115,113,108,44,49,52,41,32,32,32,70,82,79,77,32,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69,82,69,32,116,121,112,101,61,39,116,97,98,108,101,39,32,65,78,68,32,110,97,109,101,33,61,39,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,39,32,32,32,65,78,68,32,99,111,97,108,101,115,99,101,40,114,111,111,116,112,97,103,101,44,49,41,62,48,0,0,0,0,0,83,69,76,69,67,84,32,39,67,82,69,65,84,69,32,73,78,68,69,88,32,118,97,99,117,117,109,95,100,98,46,39,32,124,124,32,115,117,98,115,116,114,40,115,113,108,44,49,52,41,32,32,70,82,79,77,32,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69,82,69,32,115,113,108,32,76,73,75,69,32,39,67,82,69,65,84,69,32,73,78,68,69,88,32,37,39,32,0,83,69,76,69,67,84,32,39,67,82,69,65,84,69,32,85,78,73,81,85,69,32,73,78,68,69,88,32,118,97,99,117,117,109,95,100,98,46,39,32,124,124,32,115,117,98,115,116,114,40,115,113,108,44,50,49,41,32,32,32,70,82,79,77,32,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69,82,69,32,115,113,108,32,76,73,75,69,32,39,67,82,69,65,84,69,32,85,78,73,81,85,69,32,73,78,68,69,88,32,37,39,0,0,0,83,69,76,69,67,84,32,39,73,78,83,69,82,84,32,73,78,84,79,32,118,97,99,117,117,109,95,100,98,46,39,32,124,124,32,113,117,111,116,101,40,110,97,109,101,41,32,124,124,32,39,32,83,69,76,69,67,84,32,42,32,70,82,79,77,32,109,97,105,110,46,39,32,124,124,32,113,117,111,116,101,40,110,97,109,101,41,32,124,124,32,39,59,39,70,82,79,77,32,109,97,105,110,46,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69,82,69,32,116,121,112,101,32,61,32,39,116,97,98,108,101,39,32,65,78,68,32,110,97,109,101,33,61,39,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,39,32,32,32,65,78,68,32,99,111,97,108,101,115,99,101,40,114,111,111,116,112,97,103,101,44,49,41,62,48,0,0,0,0,0,83,69,76,69,67,84,32,39,68,69,76,69,84,69,32,70,82,79,77,32,118,97,99,117,117,109,95,100,98,46,39,32,124,124,32,113,117,111,116,101,40,110,97,109,101,41,32,124,124,32,39,59,39,32,70,82,79,77,32,118,97,99,117,117,109,95,100,98,46,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69,82,69,32,110,97,109,101,61,39,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,39,32,0,0,0,0,0,0,0,0,83,69,76,69,67,84,32,39,73,78,83,69,82,84,32,73,78,84,79,32,118,97,99,117,117,109,95,100,98,46,39,32,124,124,32,113,117,111,116,101,40,110,97,109,101,41,32,124,124,32,39,32,83,69,76,69,67,84,32,42,32,70,82,79,77,32,109,97,105,110,46,39,32,124,124,32,113,117,111,116,101,40,110,97,109,101,41,32,124,124,32,39,59,39,32,70,82,79,77,32,118,97,99,117,117,109,95,100,98,46,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69,82,69,32,110,97,109,101,61,61,39,115,113,108,105,116,101,95,115,101,113,117,101,110,99,101,39,59,0,0,0,0,0,0,73,78,83,69,82,84,32,73,78,84,79,32,118,97,99,117,117,109,95,100,98,46,115,113,108,105,116,101,95,109,97,115,116,101,114,32,32,32,83,69,76,69,67,84,32,116,121,112,101,44,32,110,97,109,101,44,32,116,98,108,95,110,97,109,101,44,32,114,111,111,116,112,97,103,101,44,32,115,113,108,32,32,32,32,70,82,79,77,32,109,97,105,110,46,115,113,108,105,116,101,95,109,97,115,116,101,114,32,32,32,87,72,69,82,69,32,116,121,112,101,61,39,118,105,101,119,39,32,79,82,32,116,121,112,101,61,39,116,114,105,103,103,101,114,39,32,32,32,32,32,32,79,82,32,40,116,121,112,101,61,39,116,97,98,108,101,39,32,65,78,68,32,114,111,111,116,112,97,103,101,61,48,41,0,1,1,3,0,5,0,6,0,8,0,0,0,0,0,0,0,77,97,105,110,32,102,114,101,101,108,105,115,116,58,32,0,76,105,115,116,32,111,102,32,116,114,101,101,32,114,111,111,116,115,58,32,0,0,0,0,80,97,103,101,32,37,100,32,105,115,32,110,101,118,101,114,32,117,115,101,100,0,0,0,80,111,105,110,116,101,114,32,109,97,112,32,112,97,103,101,32,37,100,32,105,115,32,114,101,102,101,114,101,110,99,101,100,0,0,0,0,0,0,0,79,117,116,115,116,97,110,100,105,110,103,32,112,97,103,101,32,99,111,117,110,116,32,103,111,101,115,32,102,114,111,109,32,37,100,32,116,111,32,37,100,32,100,117,114,105,110,103,32,116,104,105,115,32,97,110,97,108,121,115,105,115,0,0,10,0,0,0,0,0,0,0,80,97,103,101,32,37,100,58,32,0,0,0,0,0,0,0,117,110,97,98,108,101,32,116,111,32,103,101,116,32,116,104,101,32,112,97,103,101,46,32,101,114,114,111,114,32,99,111,100,101,61,37,100,0,0,0,98,116,114,101,101,73,110,105,116,80,97,103,101,40,41,32,114,101,116,117,114,110,115,32,101,114,114,111,114,32,99,111,100,101,32,37,100,0,0,0,79,110,32,116,114,101,101,32,112,97,103,101,32,37,100,32,99,101,108,108,32,37,100,58,32,0,0,0,0,0,0,0,82,111,119,105,100,32,37,108,108,100,32,111,117,116,32,111,102,32,111,114,100,101,114,32,40,112,114,101,118,105,111,117,115,32,119,97,115,32,37,108,108,100,41,0,0,0,0,0,67,104,105,108,100,32,112,97,103,101,32,100,101,112,116,104,32,100,105,102,102,101,114,115,0,0,0,0,0,0,0,0,79,110,32,112,97,103,101,32,37,100,32,97,116,32,114,105,103,104,116,32,99,104,105,108,100,58,32,0,0,0,0,0,82,111,119,105,100,32,37,108,108,100,32,111,117,116,32,111,102,32,111,114,100,101,114,32,40,109,97,120,32,108,97,114,103,101,114,32,116,104,97,110,32,112,97,114,101,110,116,32,109,105,110,32,111,102,32,37,108,108,100,41,0,0,0,0,82,111,119,105,100,32,37,108,108,100,32,111,117,116,32,111,102,32,111,114,100,101,114,32,40,109,105,110,32,108,101,115,115,32,116,104,97,110,32,112,97,114,101,110,116,32,109,105,110,32,111,102,32,37,108,108,100,41,0,0,0,0,0,0,82,111,119,105,100,32,37,108,108,100,32,111,117,116,32,111,102,32,111,114,100,101,114,32,40,109,97,120,32,108,97,114,103,101,114,32,116,104,97,110,32,112,97,114,101,110,116,32,109,97,120,32,111,102,32,37,108,108,100,41,0,0,0,0,82,111,119,105,100,32,37,108,108,100,32,111,117,116,32,111,102,32,111,114,100,101,114,32,40,109,105,110,32,108,101,115,115,32,116,104,97,110,32,112,97,114,101,110,116,32,109,97,120,32,111,102,32,37,108,108,100,41,0,0,0,0,0,0,67,111,114,114,117,112,116,105,111,110,32,100,101,116,101,99,116,101,100,32,105,110,32,99,101,108,108,32,37,100,32,111,110,32,112,97,103,101,32,37,100,0,0,0,0,0,0,0,77,117,108,116,105,112,108,101,32,117,115,101,115,32,102,111,114,32,98,121,116,101,32,37,100,32,111,102,32,112,97,103,101,32,37,100,0,0,0,0,70,114,97,103,109,101,110,116,97,116,105,111,110,32,111,102,32,37,100,32,98,121,116,101,115,32,114,101,112,111,114,116,101,100,32,97,115,32,37,100,32,111,110,32,112,97,103,101,32,37,100,0,0,0,0,0,105,110,118,97,108,105,100,32,112,97,103,101,32,110,117,109,98,101,114,32,37,100,0,0,50,110,100,32,114,101,102,101,114,101,110,99,101,32,116,111,32,112,97,103,101,32,37,100,0,0,0,0,0,0,0,0,70,97,105,108,101,100,32,116,111,32,114,101,97,100,32,112,116,114,109,97,112,32,107,101,121,61,37,100,0,0,0,0,66,97,100,32,112,116,114,32,109,97,112,32,101,110,116,114,121,32,107,101,121,61,37,100,32,101,120,112,101,99,116,101,100,61,40,37,100,44,37,100,41,32,103,111,116,61,40,37,100,44,37,100,41,0,0,0,37,100,32,111,102,32,37,100,32,112,97,103,101,115,32,109,105,115,115,105,110,103,32,102,114,111,109,32,111,118,101,114,102,108,111,119,32,108,105,115,116,32,115,116,97,114,116,105,110,103,32,97,116,32,37,100,0,0,0,0,0,0,0,0,102,97,105,108,101,100,32,116,111,32,103,101,116,32,112,97,103,101,32,37,100,0,0,0,102,114,101,101,108,105,115,116,32,108,101,97,102,32,99,111,117,110,116,32,116,111,111,32,98,105,103,32,111,110,32,112,97,103,101,32,37,100,0,0,83,81,76,105,116,101,32,102,111,114,109,97,116,32,51,0,37,115,45,109,106,88,88,88,88,88,88,57,88,88,122,0,77,74,32,100,101,108,101,116,101,58,32,37,115,0,0,0,77,74,32,99,111,108,108,105,100,101,58,32,37,115,0,0,45,109,106,37,48,54,88,57,37,48,50,88,0,0,0,0,37,46,50,120,0,0,0,0,107,40,37,100,0,0,0,0,110,105,108,0,0,0,0,0,66,0,0,0,0,0,0,0,40,37,46,50,48,115,41,0,37,115,40,37,100,41,0,0,37,100,0,0,0,0,0,0,40,98,108,111,98,41,0,0,118,116,97,98,58,37,112,0,105,110,116,97,114,114,97,121,0,0,0,0,0,0,0,0,112,114,111,103,114,97,109,0,240,52,0,0,176,177,0,0,192,177,0,0,208,177,0,0,224,177,0,0,240,177,0,0,0,178,0,0,16,178,0,0,32,178,0,0,40,178,0,0,48,178,0,0,56,178,0,0,72,178,0,0,88,178,0,0,96,178,0,0,104,178,0,0,112,178,0,0,120,178,0,0,128,178,0,0,136,178,0,0,144,178,0,0,160,178,0,0,176,178,0,0,184,178,0,0,200,178,0,0,208,178,0,0,216,178,0,0,224,178,0,0,232,178,0,0,240,178,0,0,0,179,0,0,8,179,0,0,24,179,0,0,32,179,0,0,40,179,0,0,48,179,0,0,64,179,0,0,72,179,0,0,80,179,0,0,96,179,0,0,112,179,0,0,120,179,0,0,136,179,0,0,144,179,0,0,152,179,0,0,160,179,0,0,168,179,0,0,176,179,0,0,184,179,0,0,200,179,0,0,216,179,0,0,224,179,0,0,240,179,0,0,0,180,0,0,16,180,0,0,32,180,0,0,48,180,0,0,64,180,0,0,80,180,0,0,96,180,0,0,112,180,0,0,128,180,0,0,136,180,0,0,144,180,0,0,152,180,0,0,160,180,0,0,168,180,0,0,176,180,0,0,192,180,0,0,208,180,0,0,216,180,0,0,232,180,0,0,240,180,0,0,248,180,0,0,8,181,0,0,24,181,0,0,32,181,0,0,40,181,0,0,48,181,0,0,56,181,0,0,64,181,0,0,72,181,0,0,80,181,0,0,88,181,0,0,96,181,0,0,112,181,0,0,120,181,0,0,128,181,0,0,144,181,0,0,160,181,0,0,168,181,0,0,184,181,0,0,200,181,0,0,208,181,0,0,224,181,0,0,232,181,0,0,240,181,0,0,248,181,0,0,0,182,0,0,16,182,0,0,32,182,0,0,48,182,0,0,56,182,0,0,64,182,0,0,72,182,0,0,80,182,0,0,88,182,0,0,104,182,0,0,112,182,0,0,120,182,0,0,136,182,0,0,152,182,0,0,168,182,0,0,184,182,0,0,192,182,0,0,200,182,0,0,208,182,0,0,216,182,0,0,224,182,0,0,232,182,0,0,248,182,0,0,8,183,0,0,24,183,0,0,40,183,0,0,56,183,0,0,72,183,0,0,88,183,0,0,104,183,0,0,120,183,0,0,136,183,0,0,152,183,0,0,168,183,0,0,176,183,0,0,184,183,0,0,192,183,0,0,208,183,0,0,224,183,0,0,232,183,0,0,240,183,0,0,248,183,0,0,8,184,0,0,24,184,0,0,40,184,0,0,56,184,0,0,72,184,0,0,80,184,0,0,96,184,0,0,104,184,0,0,112,184,0,0,128,184,0,0,136,184,0,0,144,184,0,0,152,184,0,0,160,184,0,0,176,184,0,0,192,184,0,0,200,184,0,0,208,184,0,0,70,117,110,99,116,105,111,110,0,0,0,0,0,0,0,0,83,97,118,101,112,111,105,110,116,0,0,0,0,0,0,0,65,117,116,111,67,111,109,109,105,116,0,0,0,0,0,0,84,114,97,110,115,97,99,116,105,111,110,0,0,0,0,0,83,111,114,116,101,114,78,101,120,116,0,0,0,0,0,0,80,114,101,118,73,102,79,112,101,110,0,0,0,0,0,0,78,101,120,116,73,102,79,112,101,110,0,0,0,0,0,0,80,114,101,118,0,0,0,0,78,101,120,116,0,0,0,0,65,103,103,83,116,101,112,0,67,104,101,99,107,112,111,105,110,116,0,0,0,0,0,0,74,111,117,114,110,97,108,77,111,100,101,0,0,0,0,0,86,97,99,117,117,109,0,0,86,70,105,108,116,101,114,0,86,85,112,100,97,116,101,0,71,111,116,111,0,0,0,0,71,111,115,117,98,0,0,0,82,101,116,117,114,110,0,0,78,111,116,0,0,0,0,0,73,110,105,116,67,111,114,111,117,116,105,110,101,0,0,0,69,110,100,67,111,114,111,117,116,105,110,101,0,0,0,0,89,105,101,108,100,0,0,0,72,97,108,116,73,102,78,117,108,108,0,0,0,0,0,0,72,97,108,116,0,0,0,0,73,110,116,101,103,101,114,0,73,110,116,54,52,0,0,0,83,116,114,105,110,103,0,0,78,117,108,108,0,0,0,0,83,111,102,116,78,117,108,108,0,0,0,0,0,0,0,0,66,108,111,98,0,0,0,0,86,97,114,105,97,98,108,101,0,0,0,0,0,0,0,0,77,111,118,101,0,0,0,0,67,111,112,121,0,0,0,0,83,67,111,112,121,0,0,0,82,101,115,117,108,116,82,111,119,0,0,0,0,0,0,0,67,111,108,108,83,101,113,0,65,100,100,73,109,109,0,0,77,117,115,116,66,101,73,110,116,0,0,0,0,0,0,0,82,101,97,108,65,102,102,105,110,105,116,121,0,0,0,0,67,97,115,116,0,0,0,0,80,101,114,109,117,116,97,116,105,111,110,0,0,0,0,0,67,111,109,112,97,114,101,0,74,117,109,112,0,0,0,0,79,110,99,101,0,0,0,0,73,102,0,0,0,0,0,0,73,102,78,111,116,0,0,0,67,111,108,117,109,110,0,0,65,102,102,105,110,105,116,121,0,0,0,0,0,0,0,0,77,97,107,101,82,101,99,111,114,100,0,0,0,0,0,0,67,111,117,110,116,0,0,0,82,101,97,100,67,111,111,107,105,101,0,0,0,0,0,0,83,101,116,67,111,111,107,105,101,0,0,0,0,0,0,0,82,101,111,112,101,110,73,100,120,0,0,0,0,0,0,0,79,112,101,110,82,101,97,100,0,0,0,0,0,0,0,0,79,112,101,110,87,114,105,116,101,0,0,0,0,0,0,0,79,112,101,110,65,117,116,111,105,110,100,101,120,0,0,0,79,112,101,110,69,112,104,101,109,101,114,97,108,0,0,0,83,111,114,116,101,114,79,112,101,110,0,0,0,0,0,0,83,101,113,117,101,110,99,101,84,101,115,116,0,0,0,0,79,112,101,110,80,115,101,117,100,111,0,0,0,0,0,0,67,108,111,115,101,0,0,0,83,101,101,107,76,84,0,0,83,101,101,107,76,69,0,0,83,101,101,107,71,69,0,0,83,101,101,107,71,84,0,0,83,101,101,107,0,0,0,0,78,111,67,111,110,102,108,105,99,116,0,0,0,0,0,0,78,111,116,70,111,117,110,100,0,0,0,0,0,0,0,0,70,111,117,110,100,0,0,0,78,111,116,69,120,105,115,116,115,0,0,0,0,0,0,0,79,114,0,0,0,0,0,0,65,110,100,0,0,0,0,0,83,101,113,117,101,110,99,101,0,0,0,0,0,0,0,0,78,101,119,82,111,119,105,100,0,0,0,0,0,0,0,0,73,110,115,101,114,116,0,0,73,115,78,117,108,108,0,0,78,111,116,78,117,108,108,0,78,101,0,0,0,0,0,0,69,113,0,0,0,0,0,0,71,116,0,0,0,0,0,0,76,101,0,0,0,0,0,0,76,116,0,0,0,0,0,0,71,101,0,0,0,0,0,0,73,110,115,101,114,116,73,110,116,0,0,0,0,0,0,0,66,105,116,65,110,100,0,0,66,105,116,79,114,0,0,0,83,104,105,102,116,76,101,102,116,0,0,0,0,0,0,0,83,104,105,102,116,82,105,103,104,116,0,0,0,0,0,0,65,100,100,0,0,0,0,0,83,117,98,116,114,97,99,116,0,0,0,0,0,0,0,0,77,117,108,116,105,112,108,121,0,0,0,0,0,0,0,0,68,105,118,105,100,101,0,0,82,101,109,97,105,110,100,101,114,0,0,0,0,0,0,0,67,111,110,99,97,116,0,0,68,101,108,101,116,101,0,0,66,105,116,78,111,116,0,0,83,116,114,105,110,103,56,0,82,101,115,101,116,67,111,117,110,116,0,0,0,0,0,0,83,111,114,116,101,114,67,111,109,112,97,114,101,0,0,0,83,111,114,116,101,114,68,97,116,97,0,0,0,0,0,0,82,111,119,75,101,121,0,0,82,111,119,68,97,116,97,0,82,111,119,105,100,0,0,0,78,117,108,108,82,111,119,0,76,97,115,116,0,0,0,0,83,111,114,116,101,114,83,111,114,116,0,0,0,0,0,0,83,111,114,116,0,0,0,0,82,101,119,105,110,100,0,0,83,111,114,116,101,114,73,110,115,101,114,116,0,0,0,0,73,100,120,73,110,115,101,114,116,0,0,0,0,0,0,0,73,100,120,68,101,108,101,116,101,0,0,0,0,0,0,0,73,100,120,82,111,119,105,100,0,0,0,0,0,0,0,0,73,100,120,76,69,0,0,0,73,100,120,71,84,0,0,0,73,100,120,76,84,0,0,0,73,100,120,71,69,0,0,0,68,101,115,116,114,111,121,0,67,108,101,97,114,0,0,0,82,101,115,101,116,83,111,114,116,101,114,0,0,0,0,0,67,114,101,97,116,101,73,110,100,101,120,0,0,0,0,0,67,114,101,97,116,101,84,97,98,108,101,0,0,0,0,0,80,97,114,115,101,83,99,104,101,109,97,0,0,0,0,0,76,111,97,100,65,110,97,108,121,115,105,115,0,0,0,0,68,114,111,112,84,97,98,108,101,0,0,0,0,0,0,0,68,114,111,112,73,110,100,101,120,0,0,0,0,0,0,0,68,114,111,112,84,114,105,103,103,101,114,0,0,0,0,0,73,110,116,101,103,114,105,116,121,67,107,0,0,0,0,0,82,111,119,83,101,116,65,100,100,0,0,0,0,0,0,0,82,111,119,83,101,116,82,101,97,100,0,0,0,0,0,0,82,111,119,83,101,116,84,101,115,116,0,0,0,0,0,0,80,114,111,103,114,97,109,0,80,97,114,97,109,0,0,0,82,101,97,108,0,0,0,0,70,107,67,111,117,110,116,101,114,0,0,0,0,0,0,0,70,107,73,102,90,101,114,111,0,0,0,0,0,0,0,0,77,101,109,77,97,120,0,0,73,102,80,111,115,0,0,0,73,102,78,101,103,0,0,0,73,102,78,111,116,90,101,114,111,0,0,0,0,0,0,0,68,101,99,114,74,117,109,112,90,101,114,111,0,0,0,0,74,117,109,112,90,101,114,111,73,110,99,114,0,0,0,0,65,103,103,70,105,110,97,108,0,0,0,0,0,0,0,0,73,110,99,114,86,97,99,117,117,109,0,0,0,0,0,0,69,120,112,105,114,101,0,0,84,97,98,108,101,76,111,99,107,0,0,0,0,0,0,0,86,66,101,103,105,110,0,0,86,67,114,101,97,116,101,0,86,68,101,115,116,114,111,121,0,0,0,0,0,0,0,0,86,79,112,101,110,0,0,0,86,67,111,108,117,109,110,0,86,78,101,120,116,0,0,0,86,82,101,110,97,109,101,0,80,97,103,101,99,111,117,110,116,0,0,0,0,0,0,0,77,97,120,80,103,99,110,116,0,0,0,0,0,0,0,0,73,110,105,116,0,0,0,0,78,111,111,112,0,0,0,0,69,120,112,108,97,105,110,0,65,80,73,32,99,97,108,108,101,100,32,119,105,116,104,32,78,85,76,76,32,112,114,101,112,97,114,101,100,32,115,116,97,116,101,109,101,110,116,0,65,80,73,32,99,97,108,108,101,100,32,119,105,116,104,32,102,105,110,97,108,105,122,101,100,32,112,114,101,112,97,114,101,100,32,115,116,97,116,101,109,101,110,116,0,0,0,0,64,32,32,0,0,0,0,0,100,101,115,116,105,110,97,116,105,111,110,32,100,97,116,97,98,97,115,101,32,105,115,32,105,110,32,117,115,101,0,0,117,110,107,110,111,119,110,32,100,97,116,97,98,97,115,101,32,37,115,0,0,0,0,0,1,0,0,0,67,0,0,0,17,0,0,0,18,0,0,0,31,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,32,0,0,0,68,0,0,0,69,0,0,0,0,0,0,0,15,0,0,0,19,0,0,0,58,0,0,0,19,0,0,0,16,0,0,0,0,0,0,0,24,187,0,0,33,0,0,0,0,0,0,0,240,186,0,0,70,0,0,0,0,0,0,0,72,59,0,0,59,0,0,0,0,0,0,0,32,187,0,0,60,0,0,0,0,0,0,0,40,187,0,0,61,0,0,0,0,0,0,0,48,187,0,0,62,0,0,0,0,0,0,0,56,187,0,0,63,0,0,0,0,0,0,0,72,187,0,0,34,0,0,0,0,0,0,0,80,187,0,0,35,0,0,0,0,0,0,0,88,187,0,0,0,0,0,0,0,0,0,0,96,187,0,0,0,0,0,0,0,0,0,0,104,187,0,0,36,0,0,0,0,0,0,0,112,187,0,0,0,0,0,0,0,0,0,0,120,187,0,0,0,0,0,0,0,0,0,0,136,187,0,0,64,0,0,0,0,0,0,0,144,187,0,0,0,0,0,0,0,0,0,0,160,187,0,0,71,0,0,0,0,0,0,0,168,187,0,0,65,0,0,0,0,0,0,0,184,187,0,0,66,0,0,0,0,0,0,0,192,187,0,0,72,0,0,0,0,0,0,0,200,187,0,0,37,0,0,0,0,0,0,0,208,187,0,0,4,0,0,0,0,0,0,0,216,187,0,0,67,0,0,0,0,0,0,0,224,187,0,0,0,0,0,0,0,0,0,0,232,187,0,0,6,0,0,0,0,0,0,0,0,0,0,0,99,108,111,115,101,0,0,0,111,115,95,117,110,105,120,46,99,58,37,100,58,32,40,37,100,41,32,37,115,40,37,115,41,32,45,32,37,115,0,0,111,112,101,110,0,0,0,0,103,101,116,99,119,100,0,0,115,116,97,116,0,0,0,0,102,115,116,97,116,0,0,0,102,116,114,117,110,99,97,116,101,0,0,0,0,0,0,0,102,99,110,116,108,0,0,0,114,101,97,100,0,0,0,0,112,114,101,97,100,0,0,0,112,114,101,97,100,54,52,0,119,114,105,116,101,0,0,0,112,119,114,105,116,101,0,0,112,119,114,105,116,101,54,52,0,0,0,0,0,0,0,0,102,99,104,109,111,100,0,0,102,97,108,108,111,99,97,116,101,0,0,0,0,0,0,0,117,110,108,105,110,107,0,0,111,112,101,110,68,105,114,101,99,116,111,114,121,0,0,0,109,107,100,105,114,0,0,0,114,109,100,105,114,0,0,0,102,99,104,111,119,110,0,0,109,109,97,112,0,0,0,0,109,117,110,109,97,112,0,0,109,114,101,109,97,112,0,0,103,101,116,112,97,103,101,115,105,122,101,0,0,0,0,0,97,116,116,101,109,112,116,32,116,111,32,111,112,101,110,32,34,37,115,34,32,97,115,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,37,100,0,0,0,0,0,0,47,100,101,118,47,110,117,108,108,0,0,0,0,0,0,0,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,48,49,50,51,52,53,54,55,56,57,0,0,37,115,47,101,116,105,108,113,115,95,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,168,188,0,0,184,188,0,0,200,188,0,0,0,0,0,0,0,0,0,0,47,118,97,114,47,116,109,112,0,0,0,0,0,0,0,0,47,117,115,114,47,116,109,112,0,0,0,0,0,0,0,0,47,116,109,112,0,0,0,0,83,81,76,73,84,69,95,84,77,80,68,73,82,0,0,0,84,77,80,68,73,82,0,0,102,117,108,108,95,102,115,121,110,99,0,0,0,0,0,0,3,0,0,0,73,0,0,0,17,0,0,0,18,0,0,0,31,0,0,0,53,0,0,0,54,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,32,0,0,0,68,0,0,0,69,0,0,0,0,0,0,0,15,0,0,0,19,0,0,0,58,0,0,0,19,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,47,100,101,118,47,117,114,97,110,100,111,109,0,0,0,0,47,37,115,0,0,0,0,0,102,115,121,110,99,0,0,0,112,115,111,119,0,0,0,0,3,0,0,0,74,0,0,0,17,0,0,0,18,0,0,0,31,0,0,0,53,0,0,0,54,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,32,0,0,0,68,0,0,0,69,0,0,0,20,0,0,0,15,0,0,0,19,0,0,0,58,0,0,0,19,0,0,0,16,0,0,0,0,0,0,0,37,115,46,108,111,99,107,0,99,97,110,110,111,116,32,102,115,116,97,116,32,100,98,32,102,105,108,101,32,37,115,0,102,105,108,101,32,117,110,108,105,110,107,101,100,32,119,104,105,108,101,32,111,112,101,110,58,32,37,115,0,0,0,0,109,117,108,116,105,112,108,101,32,108,105,110,107,115,32,116,111,32,102,105,108,101,58,32,37,115,0,0,0,0,0,0,102,105,108,101,32,114,101,110,97,109,101,100,32,119,104,105,108,101,32,111,112,101,110,58,32,37,115,0,0,0,0,0,0,0,0,0,0,0,0,0,37,115,45,115,104,109,0,0,114,101,97,100,111,110,108,121,95,115,104,109,0,0,0,0,37,0,0,0,0,0,0,0,100,10,1,1,0,0,115,0,4,6,0,0,103,0,1,4,30,0,122,0,4,7,0,0,113,0,4,10,0,0,81,0,4,11,0,0,119,0,4,15,0,0,99,0,0,9,0,0,111,8,0,1,0,2,117,10,0,1,0,0,120,16,0,1,16,1,88,16,0,1,0,4,102,0,1,2,0,0,101,0,1,3,30,0,69,0,1,3,14,0,71,0,1,4,14,0,105,10,1,1,0,0,110,0,0,5,0,0,37,0,0,8,0,0,112,16,0,14,0,1,84,0,2,12,0,0,83,0,2,13,0,0,114,10,3,16,0,0,0,0,0,0,0,0,116,104,115,116,110,100,114,100,0,0,0,0,0,0,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,0,0,0,0,0,0,0,0,45,120,48,0,88,48,0,0,78,97,78,0,0,0,0,0,45,73,110,102,0,0,0,0,43,73,110,102,0,0,0,0,73,110,102,0,0,0,0,0,40,78,85,76,76,41,0,0,68,73,83,65,66,76,69,95,76,70,83,0,0,0,0,0,73,78,84,54,52,95,84,89,80,69,0,0,0,0,0,0,83,89,83,84,69,77,95,77,65,76,76,79,67,0,0,0,84,72,82,69,65,68,83,65,70,69,61,48],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+39192);var tempDoublePtr=Runtime.alignMemory(allocate(12,"i8",ALLOC_STATIC),8);assert(tempDoublePtr%8==0);function copyTempFloat(ptr){HEAP8[tempDoublePtr]=HEAP8[ptr];HEAP8[tempDoublePtr+1]=HEAP8[ptr+1];HEAP8[tempDoublePtr+2]=HEAP8[ptr+2];HEAP8[tempDoublePtr+3]=HEAP8[ptr+3]}function copyTempDouble(ptr){HEAP8[tempDoublePtr]=HEAP8[ptr];HEAP8[tempDoublePtr+1]=HEAP8[ptr+1];HEAP8[tempDoublePtr+2]=HEAP8[ptr+2];HEAP8[tempDoublePtr+3]=HEAP8[ptr+3];HEAP8[tempDoublePtr+4]=HEAP8[ptr+4];HEAP8[tempDoublePtr+5]=HEAP8[ptr+5];HEAP8[tempDoublePtr+6]=HEAP8[ptr+6];HEAP8[tempDoublePtr+7]=HEAP8[ptr+7]}var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can   access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};var ___errno_state=0;function ___setErrNo(value){SAFE_HEAP_STORE(___errno_state|0,value|0,4,0)|0;return value}var PATH={splitPath:(function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)}),normalizeArray:(function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}),normalize:(function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path}),dirname:(function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir}),basename:(function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)}),extname:(function(path){return PATH.splitPath(path)[3]}),join:(function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))}),join2:(function(l,r){return PATH.normalize(l+"/"+r)}),resolve:(function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter((function(p){return!!p})),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."}),relative:(function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")})};var TTY={ttys:[],init:(function(){}),shutdown:(function(){}),register:(function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)}),stream_ops:{open:(function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}stream.tty=tty;stream.seekable=false}),close:(function(stream){stream.tty.ops.flush(stream.tty)}),flush:(function(stream){stream.tty.ops.flush(stream.tty)}),read:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}for(var i=0;i<length;i++){try{stream.tty.ops.put_char(stream.tty,buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})},default_tty_ops:{get_char:(function(tty){if(!tty.input.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=new Buffer(BUFSIZE);var bytesRead=0;var fd=process.stdin.fd;var usingDevice=false;try{fd=fs.openSync("/dev/stdin","r");usingDevice=true}catch(e){}bytesRead=fs.readSync(fd,buf,0,BUFSIZE,null);if(usingDevice){fs.closeSync(fd)}if(bytesRead>0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()}),put_char:(function(tty,val){if(val===null||val===10){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}})}};var MEMFS={ops_table:null,mount:(function(mount){return MEMFS.createNode(null,"/",16384|511,0)}),createNode:(function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node}),getFileDataAsRegularArray:(function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i<node.usedBytes;++i)arr.push(node.contents[i]);return arr}return node.contents}),getFileDataAsTypedArray:(function(node){if(!node.contents)return new Uint8Array;if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)}),expandFileStorage:(function(node,newCapacity){if(node.contents&&node.contents.subarray&&newCapacity>node.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.buffer.byteLength:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)|0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.length<newCapacity)node.contents.push(0)}),resizeFileStorage:(function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length<newSize)node.contents.push(0);node.usedBytes=newSize}),node_ops:{getattr:(function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}}),lookup:(function(parent,name){throw FS.genericErrors[ERRNO_CODES.ENOENT]}),mknod:(function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)}),rename:(function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}}}delete old_node.parent.contents[old_node.name];old_node.name=new_name;new_dir.contents[new_name]=old_node;old_node.parent=new_dir}),unlink:(function(parent,name){delete parent.contents[name]}),rmdir:(function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete parent.contents[name]}),readdir:(function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries}),symlink:(function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node}),readlink:(function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return node.link})},stream_ops:{read:(function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);assert(size>=0);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size}),write:(function(stream,buffer,offset,length,position,canOwn){if(!length)return 0;var node=stream.node;node.timestamp=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){assert(position===0,"canOwn must imply no weird position inside the file");node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=new Uint8Array(buffer.subarray(offset,offset+length));node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray)node.contents.set(buffer.subarray(offset,offset+length),position);else for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}node.usedBytes=Math.max(node.usedBytes,position+length);return length}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position}),allocate:(function(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&(contents.buffer===buffer||contents.buffer===buffer.buffer)){allocated=false;ptr=contents.byteOffset}else{if(position>0||position+length<stream.node.usedBytes){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}allocated=true;ptr=_malloc(length);if(!ptr){throw new FS.ErrnoError(ERRNO_CODES.ENOMEM)}buffer.set(contents,ptr)}return{ptr:ptr,allocated:allocated}})}};var IDBFS={dbs:{},indexedDB:(function(){if(typeof indexedDB!=="undefined")return indexedDB;var ret=null;if(typeof window==="object")ret=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;assert(ret,"IDBFS used, but indexedDB not supported");return ret}),DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:(function(mount){return MEMFS.mount.apply(null,arguments)}),syncfs:(function(mount,populate,callback){IDBFS.getLocalSet(mount,(function(err,local){if(err)return callback(err);IDBFS.getRemoteSet(mount,(function(err,remote){if(err)return callback(err);var src=populate?remote:local;var dst=populate?local:remote;IDBFS.reconcile(src,dst,callback)}))}))}),getDB:(function(name,callback){var db=IDBFS.dbs[name];if(db){return callback(null,db)}var req;try{req=IDBFS.indexedDB().open(name,IDBFS.DB_VERSION)}catch(e){return callback(e)}req.onupgradeneeded=(function(e){var db=e.target.result;var transaction=e.target.transaction;var fileStore;if(db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)){fileStore=transaction.objectStore(IDBFS.DB_STORE_NAME)}else{fileStore=db.createObjectStore(IDBFS.DB_STORE_NAME)}if(!fileStore.indexNames.contains("timestamp")){fileStore.createIndex("timestamp","timestamp",{unique:false})}});req.onsuccess=(function(){db=req.result;IDBFS.dbs[name]=db;callback(null,db)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),getLocalSet:(function(mount,callback){var entries={};function isRealDir(p){return p!=="."&&p!==".."}function toAbsolute(root){return(function(p){return PATH.join2(root,p)})}var check=FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));while(check.length){var path=check.pop();var stat;try{stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){check.push.apply(check,FS.readdir(path).filter(isRealDir).map(toAbsolute(path)))}entries[path]={timestamp:stat.mtime}}return callback(null,{type:"local",entries:entries})}),getRemoteSet:(function(mount,callback){var entries={};IDBFS.getDB(mount.mountpoint,(function(err,db){if(err)return callback(err);var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readonly");transaction.onerror=(function(e){callback(this.error);e.preventDefault()});var store=transaction.objectStore(IDBFS.DB_STORE_NAME);var index=store.index("timestamp");index.openKeyCursor().onsuccess=(function(event){var cursor=event.target.result;if(!cursor){return callback(null,{type:"remote",db:db,entries:entries})}entries[cursor.primaryKey]={timestamp:cursor.key};cursor.continue()})}))}),loadLocalEntry:(function(path,callback){var stat,node;try{var lookup=FS.lookupPath(path);node=lookup.node;stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){return callback(null,{timestamp:stat.mtime,mode:stat.mode})}else if(FS.isFile(stat.mode)){node.contents=MEMFS.getFileDataAsTypedArray(node);return callback(null,{timestamp:stat.mtime,mode:stat.mode,contents:node.contents})}else{return callback(new Error("node type not supported"))}}),storeLocalEntry:(function(path,entry,callback){try{if(FS.isDir(entry.mode)){FS.mkdir(path,entry.mode)}else if(FS.isFile(entry.mode)){FS.writeFile(path,entry.contents,{encoding:"binary",canOwn:true})}else{return callback(new Error("node type not supported"))}FS.chmod(path,entry.mode);FS.utime(path,entry.timestamp,entry.timestamp)}catch(e){return callback(e)}callback(null)}),removeLocalEntry:(function(path,callback){try{var lookup=FS.lookupPath(path);var stat=FS.stat(path);if(FS.isDir(stat.mode)){FS.rmdir(path)}else if(FS.isFile(stat.mode)){FS.unlink(path)}}catch(e){return callback(e)}callback(null)}),loadRemoteEntry:(function(store,path,callback){var req=store.get(path);req.onsuccess=(function(event){callback(null,event.target.result)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),storeRemoteEntry:(function(store,path,entry,callback){var req=store.put(entry,path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),removeRemoteEntry:(function(store,path,callback){var req=store.delete(path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),reconcile:(function(src,dst,callback){var total=0;var create=[];Object.keys(src.entries).forEach((function(key){var e=src.entries[key];var e2=dst.entries[key];if(!e2||e.timestamp>e2.timestamp){create.push(key);total++}}));var remove=[];Object.keys(dst.entries).forEach((function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}}));if(!total){return callback(null)}var errored=false;var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=(function(e){done(this.error);e.preventDefault()});create.sort().forEach((function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,(function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)}))}else{IDBFS.loadLocalEntry(path,(function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)}))}}));remove.sort().reverse().forEach((function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}}))})};var NODEFS={isWindows:false,staticInit:(function(){NODEFS.isWindows=!!process.platform.match(/^win/)}),mount:(function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)}),createNode:(function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node}),getMode:(function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&146)>>1}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return stat.mode}),realPath:(function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)}),flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:(function(flags){if(flags in NODEFS.flagsToPermissionStringMap){return NODEFS.flagsToPermissionStringMap[flags]}else{return flags}}),node_ops:{getattr:(function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}}),setattr:(function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),lookup:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)}),mknod:(function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return node}),rename:(function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),unlink:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),rmdir:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readdir:(function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),symlink:(function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readlink:(function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}})},stream_ops:{open:(function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsToPermissionString(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),close:(function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),read:(function(stream,buffer,offset,length,position){if(length===0)return 0;var nbuffer=new Buffer(length);var res;try{res=fs.readSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(res>0){for(var i=0;i<res;i++){buffer[offset+i]=nbuffer[i]}}return res}),write:(function(stream,buffer,offset,length,position){var nbuffer=new Buffer(buffer.subarray(offset,offset+length));var res;try{res=fs.writeSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}return res}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){try{var stat=fs.fstatSync(stream.nfd);position+=stat.size}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};var _stdin=allocate(1,"i32*",ALLOC_STATIC);var _stdout=allocate(1,"i32*",ALLOC_STATIC);var _stderr=allocate(1,"i32*",ALLOC_STATIC);function _fflush(stream){}var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},handleFSError:(function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)}),lookupPath:(function(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}var parts=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),false);var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}current=FS.lookupNode(current,parts[i]);current_path=PATH.join2(current_path,parts[i]);if(FS.isMountpoint(current)){if(!islast||islast&&opts.follow_mount){current=current.mounted.root}}if(!islast||opts.follow){var count=0;while(FS.isLink(current.mode)){var link=FS.readlink(current_path);current_path=PATH.resolve(PATH.dirname(current_path),link);var lookup=FS.lookupPath(current_path,{recurse_count:opts.recurse_count});current=lookup.node;if(count++>40){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}}}return{path:current_path,node:current}}),getPath:(function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}}),hashName:(function(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length}),hashAddNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node}),hashRemoveNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}}),lookupNode:(function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)}),createNode:(function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=(function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev});FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:(function(){return(this.mode&readMode)===readMode}),set:(function(val){val?this.mode|=readMode:this.mode&=~readMode})},write:{get:(function(){return(this.mode&writeMode)===writeMode}),set:(function(val){val?this.mode|=writeMode:this.mode&=~writeMode})},isFolder:{get:(function(){return FS.isDir(this.mode)})},isDevice:{get:(function(){return FS.isChrdev(this.mode)})}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node}),destroyNode:(function(node){FS.hashRemoveNode(node)}),isRoot:(function(node){return node===node.parent}),isMountpoint:(function(node){return!!node.mounted}),isFile:(function(mode){return(mode&61440)===32768}),isDir:(function(mode){return(mode&61440)===16384}),isLink:(function(mode){return(mode&61440)===40960}),isChrdev:(function(mode){return(mode&61440)===8192}),isBlkdev:(function(mode){return(mode&61440)===24576}),isFIFO:(function(mode){return(mode&61440)===4096}),isSocket:(function(mode){return(mode&49152)===49152}),flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:(function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags}),flagsToPermissionString:(function(flag){var accmode=flag&2097155;var perms=["r","w","rw"][accmode];if(flag&512){perms+="w"}return perms}),nodePermissions:(function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(dir,"wx")}),mayDelete:(function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if((flags&2097155)!==0||flags&512){return ERRNO_CODES.EISDIR}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))}),MAX_OPEN_FDS:4096,nextfd:(function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(ERRNO_CODES.EMFILE)}),getStream:(function(fd){return FS.streams[fd]}),createStream:(function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=(function(){});FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:(function(){return this.node}),set:(function(val){this.node=val})},isRead:{get:(function(){return(this.flags&2097155)!==1})},isWrite:{get:(function(){return(this.flags&2097155)!==0})},isAppend:{get:(function(){return this.flags&1024})}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream}),closeStream:(function(fd){FS.streams[fd]=null}),getStreamFromPtr:(function(ptr){return FS.streams[ptr-1]}),getPtrForStream:(function(stream){return stream?stream.fd+1:0}),chrdev_stream_ops:{open:(function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}}),llseek:(function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)})},major:(function(dev){return dev>>8}),minor:(function(dev){return dev&255}),makedev:(function(ma,mi){return ma<<8|mi}),registerDevice:(function(dev,ops){FS.devices[dev]={stream_ops:ops}}),getDevice:(function(dev){return FS.devices[dev]}),getMounts:(function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts}),syncfs:(function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}var mounts=FS.getMounts(FS.root.mount);var completed=0;function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=mounts.length){callback(null)}}mounts.forEach((function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)}))}),mount:(function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot}),unmount:(function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach((function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}}));node.mounted=null;var idx=node.mount.mounts.indexOf(mount);assert(idx!==-1);node.mount.mounts.splice(idx,1)}),lookup:(function(parent,name){return parent.node_ops.lookup(parent,name)}),mknod:(function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.mknod(parent,name,mode,dev)}),create:(function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)}),mkdir:(function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)}),mkdev:(function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)}),symlink:(function(oldpath,newpath){if(!PATH.resolve(oldpath)){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var newname=PATH.basename(newpath);var err=FS.mayCreate(parent,newname);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.symlink(parent,newname,oldpath)}),rename:(function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!old_dir||!new_dir)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(ERRNO_CODES.EXDEV)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}relative=PATH.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var err=FS.mayDelete(old_dir,old_name,isdir);if(err){throw new FS.ErrnoError(err)}err=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(err){throw new FS.ErrnoError(err)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(new_dir!==old_dir){err=FS.nodePermissions(old_dir,"w");if(err){throw new FS.ErrnoError(err)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){console.log("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}}),rmdir:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,true);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}return node.node_ops.readdir(node)}),unlink:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,false);if(err){if(err===ERRNO_CODES.EISDIR)err=ERRNO_CODES.EPERM;throw new FS.ErrnoError(err)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readlink:(function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!link.node_ops.readlink){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return PATH.resolve(FS.getPath(lookup.node.parent),link.node_ops.readlink(link))}),stat:(function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!node.node_ops.getattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return node.node_ops.getattr(node)}),lstat:(function(path){return FS.stat(path,true)}),chmod:(function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})}),lchmod:(function(path,mode){FS.chmod(path,mode,true)}),fchmod:(function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chmod(stream.node,mode)}),chown:(function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{timestamp:Date.now()})}),lchown:(function(path,uid,gid){FS.chown(path,uid,gid,true)}),fchown:(function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chown(stream.node,uid,gid)}),truncate:(function(path,len){if(len<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.nodePermissions(node,"w");if(err){throw new FS.ErrnoError(err)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})}),ftruncate:(function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}FS.truncate(stream.node,len)}),utime:(function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})}),open:(function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(FS.isChrdev(node.mode)){flags&=~512}if(!created){var err=FS.mayOpen(node,flags);if(err){throw new FS.ErrnoError(err)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;Module["printErr"]("read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream}),close:(function(stream){try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}}),llseek:(function(stream,offset,whence){if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position}),read:(function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.read){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead}),write:(function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.write){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return bytesWritten}),allocate:(function(stream,offset,length){if(offset<0||length<=0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}stream.stream_ops.allocate(stream,offset,length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EACCES)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)}),ioctl:(function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(ERRNO_CODES.ENOTTY)}return stream.stream_ops.ioctl(stream,cmd,arg)}),readFile:(function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret}),writeFile:(function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";opts.encoding=opts.encoding||"utf8";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var stream=FS.open(path,opts.flags,opts.mode);if(opts.encoding==="utf8"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,0,opts.canOwn)}else if(opts.encoding==="binary"){FS.write(stream,data,0,data.length,0,opts.canOwn)}FS.close(stream)}),cwd:(function(){return FS.currentPath}),chdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var err=FS.nodePermissions(lookup.node,"x");if(err){throw new FS.ErrnoError(err)}FS.currentPath=lookup.path}),createDefaultDirectories:(function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")}),createDefaultDevices:(function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:(function(){return 0}),write:(function(){return 0})});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device;if(typeof crypto!=="undefined"){var randomBuffer=new Uint8Array(1);random_device=(function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]})}else if(ENVIRONMENT_IS_NODE){random_device=(function(){return require("crypto").randomBytes(1)[0]})}else{random_device=(function(){return Math.random()*256|0})}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")}),createStandardStreams:(function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");SAFE_HEAP_STORE(_stdin|0,FS.getPtrForStream(stdin)|0,4,0)|0;assert(stdin.fd===0,"invalid handle for stdin ("+stdin.fd+")");var stdout=FS.open("/dev/stdout","w");SAFE_HEAP_STORE(_stdout|0,FS.getPtrForStream(stdout)|0,4,0)|0;assert(stdout.fd===1,"invalid handle for stdout ("+stdout.fd+")");var stderr=FS.open("/dev/stderr","w");SAFE_HEAP_STORE(_stderr|0,FS.getPtrForStream(stderr)|0,4,0)|0;assert(stderr.fd===2,"invalid handle for stderr ("+stderr.fd+")")}),ensureErrnoError:(function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=(function(errno){this.errno=errno;for(var key in ERRNO_CODES){if(ERRNO_CODES[key]===errno){this.code=key;break}}});this.setErrno(errno);this.message=ERRNO_MESSAGES[errno];if(this.stack)this.stack=demangleAll(this.stack)};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[ERRNO_CODES.ENOENT].forEach((function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack="<generic error, no stack>"}))}),staticInit:(function(){FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices()}),init:(function(input,output,error){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)");FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()}),quit:(function(){FS.init.initialized=false;for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}}),getMode:(function(canRead,canWrite){var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode}),joinPath:(function(parts,forceRelative){var path=PATH.join.apply(null,parts);if(forceRelative&&path[0]=="/")path=path.substr(1);return path}),absolutePath:(function(relative,base){return PATH.resolve(base,relative)}),standardizePath:(function(path){return PATH.normalize(path)}),findObject:(function(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{___setErrNo(ret.error);return null}}),analyzePath:(function(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret}),createFolder:(function(parent,name,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.mkdir(path,mode)}),createPath:(function(parent,path,canRead,canWrite){parent=typeof parent==="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current}),createFile:(function(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)}),createDataFile:(function(parent,name,data,canRead,canWrite,canOwn){var path=name?PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name):parent;var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data==="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,"w");FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}return node}),createDevice:(function(parent,name,input,output){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:(function(stream){stream.seekable=false}),close:(function(stream){if(output&&output.buffer&&output.buffer.length){output(10)}}),read:(function(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})});return FS.mkdev(path,mode,dev)}),createLink:(function(parent,name,target,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);return FS.symlink(target,path)}),forceLoadFile:(function(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;var success=true;if(typeof XMLHttpRequest!=="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(Module["read"]){try{obj.contents=intArrayFromString(Module["read"](obj.url),true);obj.usedBytes=obj.contents.length}catch(e){success=false}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}if(!success)___setErrNo(ERRNO_CODES.EIO);return success}),createLazyFile:(function(parent,name,url,canRead,canWrite){function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}});var lazyArray=this;lazyArray.setDataGetter((function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]}));this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperty(lazyArray,"length",{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._length})});Object.defineProperty(lazyArray,"chunkSize",{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize})});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperty(node,"usedBytes",{get:(function(){return this.contents.length})});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach((function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return fn.apply(null,arguments)}}));stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);assert(size>=0);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size};node.stream_ops=stream_ops;return node}),createPreloadedFile:(function(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn){Browser.init();var fullname=name?PATH.resolve(PATH.join2(parent,name)):parent;function processData(byteArray){function finish(byteArray){if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency("cp "+fullname)}var handled=false;Module["preloadPlugins"].forEach((function(plugin){if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,(function(){if(onerror)onerror();removeRunDependency("cp "+fullname)}));handled=true}}));if(!handled)finish(byteArray)}addRunDependency("cp "+fullname);if(typeof url=="string"){Browser.asyncLoad(url,(function(byteArray){processData(byteArray)}),onerror)}else{processData(url)}}),indexedDB:(function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}),DB_NAME:(function(){return"EM_FS_"+window.location.pathname}),DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=function openRequest_onupgradeneeded(){console.log("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=function putRequest_onsuccess(){ok++;if(ok+fail==total)finish()};putRequest.onerror=function putRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror}),loadFilesFromDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var getRequest=files.get(path);getRequest.onsuccess=function getRequest_onsuccess(){if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=function getRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror})};function _lseek(fildes,offset,whence){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}try{return FS.llseek(stream,offset,whence)}catch(e){FS.handleFSError(e);return-1}}Module["_i64Subtract"]=_i64Subtract;var _DtoILow=true;function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}Module["_bitshift64Ashr"]=_bitshift64Ashr;var DLFCN={error:null,errorMsg:null,loadedLibs:{},loadedLibNames:{}};function _dlsym(handle,symbol){symbol="_"+Pointer_stringify(symbol);if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlsym() from an unopened handle: "+handle;return 0}else{var lib=DLFCN.loadedLibs[handle];if(lib.cached_functions.hasOwnProperty(symbol)){return lib.cached_functions[symbol]}else{if(!lib.module.hasOwnProperty(symbol)){DLFCN.errorMsg='Tried to lookup unknown symbol "'+symbol+'" in dynamic lib: '+lib.name;return 0}else{var result=lib.module[symbol];if(typeof result=="function"){result=lib.module.SYMBOL_TABLE[symbol];assert(result);lib.cached_functions=result}return result}}}}Module["_memset"]=_memset;var _BDtoILow=true;Module["_strlen"]=_strlen;Module["_strcat"]=_strcat;function _strerror_r(errnum,strerrbuf,buflen){if(errnum in ERRNO_MESSAGES){if(ERRNO_MESSAGES[errnum].length>buflen-1){return ___setErrNo(ERRNO_CODES.ERANGE)}else{var msg=ERRNO_MESSAGES[errnum];writeAsciiToMemory(msg,strerrbuf);return 0}}else{return ___setErrNo(ERRNO_CODES.EINVAL)}}function _strerror(errnum){if(!_strerror.buffer)_strerror.buffer=_malloc(256);_strerror_r(errnum,_strerror.buffer,256);return _strerror.buffer}var _DtoIHigh=true;Module["_bitshift64Shl"]=_bitshift64Shl;function _abort(){Module["abort"]()}function _usleep(useconds){var msec=useconds/1e3;if((ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]){var start=self["performance"]["now"]();while(self["performance"]["now"]()-start<msec){}}else{var start=Date.now();while(Date.now()-start<msec){}}return 0}function _sleep(seconds){return _usleep(seconds*1e6)}function _close(fildes){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}try{FS.close(stream);return 0}catch(e){FS.handleFSError(e);return-1}}function _access(path,amode){path=Pointer_stringify(path);if(amode&~7){___setErrNo(ERRNO_CODES.EINVAL);return-1}var node;try{var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}catch(e){FS.handleFSError(e);return-1}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){___setErrNo(ERRNO_CODES.EACCES);return-1}return 0}function _unlink(path){path=Pointer_stringify(path);try{FS.unlink(path);return 0}catch(e){FS.handleFSError(e);return-1}}Module["_i64Add"]=_i64Add;function _open(path,oflag,varargs){var mode=SAFE_HEAP_LOAD(varargs|0,4,0,0)|0;path=Pointer_stringify(path);try{var stream=FS.open(path,oflag,mode);return stream.fd}catch(e){FS.handleFSError(e);return-1}}function _getuid(){return 0}function _geteuid(){return _getuid.apply(null,arguments)}function _mknod(path,mode,dev){path=Pointer_stringify(path);switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:___setErrNo(ERRNO_CODES.EINVAL);return-1}try{FS.mknod(path,mode,dev);return 0}catch(e){FS.handleFSError(e);return-1}}function _mkdir(path,mode){path=Pointer_stringify(path);path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);try{FS.mkdir(path,mode,0);return 0}catch(e){FS.handleFSError(e);return-1}}function _mkport(){throw"TODO"}var SOCKFS={mount:(function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=(function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this});Module["websocket"].emit=(function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}});return FS.createNode(null,"/",16384|511,0)}),createSocket:(function(family,type,protocol){var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:FS.modeStringToFlags("r+"),seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock}),getSocket:(function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock}),stream_ops:{poll:(function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)}),ioctl:(function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)}),read:(function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length}),write:(function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)}),close:(function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)})},nextname:(function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current++ +"]"}),websocket_sock_ops:{createPeer:(function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);var opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols;var WebSocket=ENVIRONMENT_IS_NODE?require("ws"):window["WebSocket"];ws=new WebSocket(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer}),getPeer:(function(sock,addr,port){return sock.peers[addr+":"+port]}),addPeer:(function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer}),removePeer:(function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]}),handlePeerEvents:(function(sock,peer){var first=true;var handleOpen=(function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}});function handleMessage(data){assert(typeof data!=="string"&&data.byteLength!==undefined);data=new Uint8Array(data);var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",(function(data,flags){if(!flags.binary){return}handleMessage((new Uint8Array(data)).buffer)}));peer.socket.on("close",(function(){Module["websocket"].emit("close",sock.stream.fd)}));peer.socket.on("error",(function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}))}else{peer.socket.onopen=handleOpen;peer.socket.onclose=(function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=(function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}}),poll:(function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask}),ioctl:(function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}SAFE_HEAP_STORE(arg|0,bytes|0,4,0)|0;return 0;default:return ERRNO_CODES.EINVAL}}),close:(function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i<peers.length;i++){var peer=sock.peers[peers[i]];try{peer.socket.close()}catch(e){}SOCKFS.websocket_sock_ops.removePeer(sock,peer)}return 0}),bind:(function(sock,addr,port){if(typeof sock.saddr!=="undefined"||typeof sock.sport!=="undefined"){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}sock.saddr=addr;sock.sport=port||_mkport();if(sock.type===2){if(sock.server){sock.server.close();sock.server=null}try{sock.sock_ops.listen(sock,0)}catch(e){if(!(e instanceof FS.ErrnoError))throw e;if(e.errno!==ERRNO_CODES.EOPNOTSUPP)throw e}}}),connect:(function(sock,addr,port){if(sock.server){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}if(typeof sock.daddr!=="undefined"&&typeof sock.dport!=="undefined"){var dest=SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport);if(dest){if(dest.socket.readyState===dest.socket.CONNECTING){throw new FS.ErrnoError(ERRNO_CODES.EALREADY)}else{throw new FS.ErrnoError(ERRNO_CODES.EISCONN)}}}var peer=SOCKFS.websocket_sock_ops.createPeer(sock,addr,port);sock.daddr=peer.addr;sock.dport=peer.port;throw new FS.ErrnoError(ERRNO_CODES.EINPROGRESS)}),listen:(function(sock,backlog){if(!ENVIRONMENT_IS_NODE){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}if(sock.server){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var WebSocketServer=require("ws").Server;var host=sock.saddr;sock.server=new WebSocketServer({host:host,port:sock.sport});Module["websocket"].emit("listen",sock.stream.fd);sock.server.on("connection",(function(ws){if(sock.type===1){var newsock=SOCKFS.createSocket(sock.family,sock.type,sock.protocol);var peer=SOCKFS.websocket_sock_ops.createPeer(newsock,ws);newsock.daddr=peer.addr;newsock.dport=peer.port;sock.pending.push(newsock);Module["websocket"].emit("connection",newsock.stream.fd)}else{SOCKFS.websocket_sock_ops.createPeer(sock,ws);Module["websocket"].emit("connection",sock.stream.fd)}}));sock.server.on("closed",(function(){Module["websocket"].emit("close",sock.stream.fd);sock.server=null}));sock.server.on("error",(function(error){sock.error=ERRNO_CODES.EHOSTUNREACH;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"EHOSTUNREACH: Host is unreachable"])}))}),accept:(function(listensock){if(!listensock.server){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var newsock=listensock.pending.shift();newsock.stream.flags=listensock.stream.flags;return newsock}),getname:(function(sock,peer){var addr,port;if(peer){if(sock.daddr===undefined||sock.dport===undefined){throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN)}addr=sock.daddr;port=sock.dport}else{addr=sock.saddr||0;port=sock.sport||0}return{addr:addr,port:port}}),sendmsg:(function(sock,buffer,offset,length,addr,port){if(sock.type===2){if(addr===undefined||port===undefined){addr=sock.daddr;port=sock.dport}if(addr===undefined||port===undefined){throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ)}}else{addr=sock.daddr;port=sock.dport}var dest=SOCKFS.websocket_sock_ops.getPeer(sock,addr,port);if(sock.type===1){if(!dest||dest.socket.readyState===dest.socket.CLOSING||dest.socket.readyState===dest.socket.CLOSED){throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN)}else if(dest.socket.readyState===dest.socket.CONNECTING){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}}var data;if(buffer instanceof Array||buffer instanceof ArrayBuffer){data=buffer.slice(offset,offset+length)}else{data=buffer.buffer.slice(buffer.byteOffset+offset,buffer.byteOffset+offset+length)}if(sock.type===2){if(!dest||dest.socket.readyState!==dest.socket.OPEN){if(!dest||dest.socket.readyState===dest.socket.CLOSING||dest.socket.readyState===dest.socket.CLOSED){dest=SOCKFS.websocket_sock_ops.createPeer(sock,addr,port)}dest.dgram_send_queue.push(data);return length}}try{dest.socket.send(data);return length}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}}),recvmsg:(function(sock,length){if(sock.type===1&&sock.server){throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN)}var queued=sock.recv_queue.shift();if(!queued){if(sock.type===1){var dest=SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport);if(!dest){throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN)}else if(dest.socket.readyState===dest.socket.CLOSING||dest.socket.readyState===dest.socket.CLOSED){return null}else{throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}}else{throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}}var queuedLength=queued.data.byteLength||queued.data.length;var queuedOffset=queued.data.byteOffset||0;var queuedBuffer=queued.data.buffer||queued.data;var bytesRead=Math.min(length,queuedLength);var res={buffer:new Uint8Array(queuedBuffer,queuedOffset,bytesRead),addr:queued.addr,port:queued.port};if(sock.type===1&&bytesRead<queuedLength){var bytesRemaining=queuedLength-bytesRead;queued.data=new Uint8Array(queuedBuffer,queuedOffset+bytesRead,bytesRemaining);sock.recv_queue.unshift(queued)}return res})}};function _send(fd,buf,len,flags){var sock=SOCKFS.getSocket(fd);if(!sock){___setErrNo(ERRNO_CODES.EBADF);return-1}return _write(fd,buf,len)}function _pwrite(fildes,buf,nbyte,offset){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}try{var slab=HEAP8;return FS.write(stream,slab,buf,nbyte,offset)}catch(e){FS.handleFSError(e);return-1}}function _write(fildes,buf,nbyte){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}try{var slab=HEAP8;return FS.write(stream,slab,buf,nbyte)}catch(e){FS.handleFSError(e);return-1}}var _SItoD=true;function _chmod(path,mode,dontResolveLastLink){path=typeof path!=="string"?Pointer_stringify(path):path;try{FS.chmod(path,mode);return 0}catch(e){FS.handleFSError(e);return-1}}function _fchmod(fildes,mode){try{FS.fchmod(fildes,mode);return 0}catch(e){FS.handleFSError(e);return-1}}function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){console.error("emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.");return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler(){setTimeout(Browser.mainLoop.runner,value)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}return 0}function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){Module["noExitRuntime"]=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();setTimeout(Browser.mainLoop.runner,0);return}if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;Browser.mainLoop.currentFrameNumber=Browser.mainLoop.currentFrameNumber+1|0;if(Browser.mainLoop.timingMode==1&&Browser.mainLoop.timingValue>1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}if(Browser.mainLoop.method==="timeout"&&Module.ctx){Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!");Browser.mainLoop.method=""}Browser.mainLoop.runIter((function(){if(typeof arg!=="undefined"){Runtime.dynCall("vi",func,[arg])}else{Runtime.dynCall("v",func)}}));if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;if(typeof SDL==="object"&&SDL.audio&&SDL.audio.queueNewAudioData)SDL.audio.queueNewAudioData();Browser.mainLoop.scheduler()};if(!noSetTiming){if(fps&&fps>0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"SimulateInfiniteLoop"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:(function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++}),resume:(function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()}),updateStatus:(function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining<expected){Module["setStatus"](message+" ("+(expected-remaining)+"/"+expected+")")}else{Module["setStatus"](message)}}else{Module["setStatus"]("")}}}),runIter:(function(func){if(ABORT)return;if(Module["preMainLoop"]){var preRet=Module["preMainLoop"]();if(preRet===false){return}}try{func()}catch(e){if(e instanceof ExitStatus){return}else{if(e&&typeof e==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throw e}}if(Module["postMainLoop"])Module["postMainLoop"]()})},isFullScreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:(function(){if(!Module["preloadPlugins"])Module["preloadPlugins"]=[];if(Browser.initted)return;Browser.initted=true;try{new Blob;Browser.hasBlobConstructor=true}catch(e){Browser.hasBlobConstructor=false;console.log("warning: no blob constructor, cannot create blobs with mimetypes")}Browser.BlobBuilder=typeof MozBlobBuilder!="undefined"?MozBlobBuilder:typeof WebKitBlobBuilder!="undefined"?WebKitBlobBuilder:!Browser.hasBlobConstructor?console.log("warning: no BlobBuilder"):null;Browser.URLObject=typeof window!="undefined"?window.URL?window.URL:window.webkitURL:undefined;if(!Module.noImageDecoding&&typeof Browser.URLObject==="undefined"){console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");Module.noImageDecoding=true}var imagePlugin={};imagePlugin["canHandle"]=function imagePlugin_canHandle(name){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(name)};imagePlugin["handle"]=function imagePlugin_handle(byteArray,name,onload,onerror){var b=null;if(Browser.hasBlobConstructor){try{b=new Blob([byteArray],{type:Browser.getMimetype(name)});if(b.size!==byteArray.length){b=new Blob([(new Uint8Array(byteArray)).buffer],{type:Browser.getMimetype(name)})}}catch(e){Runtime.warnOnce("Blob constructor present but fails: "+e+"; falling back to blob builder")}}if(!b){var bb=new Browser.BlobBuilder;bb.append((new Uint8Array(byteArray)).buffer);b=bb.getBlob()}var url=Browser.URLObject.createObjectURL(b);assert(typeof url=="string","createObjectURL must return a url as a string");var img=new Image;img.onload=function img_onload(){assert(img.complete,"Image "+name+" could not be decoded");var canvas=document.createElement("canvas");canvas.width=img.width;canvas.height=img.height;var ctx=canvas.getContext("2d");ctx.drawImage(img,0,0);Module["preloadedImages"][name]=canvas;Browser.URLObject.revokeObjectURL(url);if(onload)onload(byteArray)};img.onerror=function img_onerror(event){console.log("Image "+url+" could not be decoded");if(onerror)onerror()};img.src=url};Module["preloadPlugins"].push(imagePlugin);var audioPlugin={};audioPlugin["canHandle"]=function audioPlugin_canHandle(name){return!Module.noAudioDecoding&&name.substr(-4)in{".ogg":1,".wav":1,".mp3":1}};audioPlugin["handle"]=function audioPlugin_handle(byteArray,name,onload,onerror){var done=false;function finish(audio){if(done)return;done=true;Module["preloadedAudios"][name]=audio;if(onload)onload(byteArray)}function fail(){if(done)return;done=true;Module["preloadedAudios"][name]=new Audio;if(onerror)onerror()}if(Browser.hasBlobConstructor){try{var b=new Blob([byteArray],{type:Browser.getMimetype(name)})}catch(e){return fail()}var url=Browser.URLObject.createObjectURL(b);assert(typeof url=="string","createObjectURL must return a url as a string");var audio=new Audio;audio.addEventListener("canplaythrough",(function(){finish(audio)}),false);audio.onerror=function audio_onerror(event){if(done)return;console.log("warning: browser could not fully decode audio "+name+", trying slower base64 approach");function encode64(data){var BASE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var PAD="=";var ret="";var leftchar=0;var leftbits=0;for(var i=0;i<data.length;i++){leftchar=leftchar<<8|data[i];leftbits+=8;while(leftbits>=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout((function(){finish(audio)}),1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);var canvas=Module["canvas"];function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===canvas||document["mozPointerLockElement"]===canvas||document["webkitPointerLockElement"]===canvas||document["msPointerLockElement"]===canvas}if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||(function(){});canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||(function(){});canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",(function(ev){if(!Browser.pointerLock&&canvas.requestPointerLock){canvas.requestPointerLock();ev.preventDefault()}}),false)}}}),createContext:(function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}canvas.style.backgroundColor="black"}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach((function(callback){callback()}));Browser.init()}return ctx}),destroyContext:(function(canvas,useWebGL,setInModule){}),fullScreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullScreen:(function(lockPointer,resizeCanvas,vrDevice){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;Browser.vrDevice=vrDevice;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;if(typeof Browser.vrDevice==="undefined")Browser.vrDevice=null;var canvas=Module["canvas"];function fullScreenChange(){Browser.isFullScreen=false;var canvasContainer=canvas.parentNode;if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.cancelFullScreen=document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||document["msExitFullscreen"]||document["exitFullscreen"]||(function(){});canvas.cancelFullScreen=canvas.cancelFullScreen.bind(document);if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullScreen=true;if(Browser.resizeCanvas)Browser.setFullScreenCanvasSize()}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas)Browser.setWindowedCanvasSize()}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullScreen);Browser.updateCanvasDimensions(canvas)}if(!Browser.fullScreenHandlersInstalled){Browser.fullScreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullScreenChange,false);document.addEventListener("mozfullscreenchange",fullScreenChange,false);document.addEventListener("webkitfullscreenchange",fullScreenChange,false);document.addEventListener("MSFullscreenChange",fullScreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullScreen=canvasContainer["requestFullScreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullScreen"]?(function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}):null);if(vrDevice){canvasContainer.requestFullScreen({vrDisplay:vrDevice})}else{canvasContainer.requestFullScreen()}}),nextRAF:0,fakeRequestAnimationFrame:(function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)}),requestAnimationFrame:function requestAnimationFrame(func){if(typeof window==="undefined"){Browser.fakeRequestAnimationFrame(func)}else{if(!window.requestAnimationFrame){window.requestAnimationFrame=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||Browser.fakeRequestAnimationFrame}window.requestAnimationFrame(func)}},safeCallback:(function(func){return(function(){if(!ABORT)return func.apply(null,arguments)})}),allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=false}),resumeAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach((function(func){func()}))}}),safeRequestAnimationFrame:(function(func){return Browser.requestAnimationFrame((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}))}),safeSetTimeout:(function(func,timeout){Module["noExitRuntime"]=true;return setTimeout((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}),timeout)}),safeSetInterval:(function(func,timeout){Module["noExitRuntime"]=true;return setInterval((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}}),timeout)}),getMimetype:(function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]}),getUserMedia:(function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)}),getMovementX:(function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0}),getMovementY:(function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0}),getMouseWheelDelta:(function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail;break;case"mousewheel":delta=event.wheelDelta;break;case"wheel":delta=event["deltaY"];break;default:throw"unrecognized mouse wheel event: "+event.type}return delta}),mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:(function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;assert(typeof scrollX!=="undefined"&&typeof scrollY!=="undefined","Unable to retrieve scroll position, mouse positions likely broken.");if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){Browser.lastTouches[touch.identifier]=Browser.touches[touch.identifier];Browser.touches[touch.identifier]={x:adjustedX,y:adjustedY}}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}}),xhrLoad:(function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)}),asyncLoad:(function(url,onload,onerror,noRunDep){Browser.xhrLoad(url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(!noRunDep)removeRunDependency("al "+url)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(!noRunDep)addRunDependency("al "+url)}),resizeListeners:[],updateResizeListeners:(function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach((function(listener){listener(canvas.width,canvas.height)}))}),setCanvasSize:(function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()}),windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=SAFE_HEAP_LOAD(SDL.screen+Runtime.QUANTUM_SIZE*0|0,4,0,1)|0;flags=flags|8388608;SAFE_HEAP_STORE(SDL.screen+Runtime.QUANTUM_SIZE*0|0,flags|0,4,0)|0}Browser.updateResizeListeners()}),setWindowedCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=SAFE_HEAP_LOAD(SDL.screen+Runtime.QUANTUM_SIZE*0|0,4,0,1)|0;flags=flags&~8388608;SAFE_HEAP_STORE(SDL.screen+Runtime.QUANTUM_SIZE*0|0,flags|0,4,0)|0}Browser.updateResizeListeners()}),updateCanvasDimensions:(function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h<Module["forcedAspectRatio"]){w=Math.round(h*Module["forcedAspectRatio"])}else{h=Math.round(w/Module["forcedAspectRatio"])}}if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvas.parentNode&&typeof screen!="undefined"){var factor=Math.min(screen.width/w,screen.height/h);w=Math.round(w*factor);h=Math.round(h*factor)}if(Browser.resizeCanvas){if(canvas.width!=w)canvas.width=w;if(canvas.height!=h)canvas.height=h;if(typeof canvas.style!="undefined"){canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}else{if(canvas.width!=wNative)canvas.width=wNative;if(canvas.height!=hNative)canvas.height=hNative;if(typeof canvas.style!="undefined"){if(w!=wNative||h!=hNative){canvas.style.setProperty("width",w+"px","important");canvas.style.setProperty("height",h+"px","important")}else{canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}}}),wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:(function(){var handle=Browser.nextWgetRequestHandle;Browser.nextWgetRequestHandle++;return handle})};function _rmdir(path){path=Pointer_stringify(path);try{FS.rmdir(path);return 0}catch(e){FS.handleFSError(e);return-1}}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){SAFE_HEAP_STORE(ptr|0,ret|0,4,0)|0}return ret}function _munmap(start,num){if(!_mmap.mappings)_mmap.mappings={};var info=_mmap.mappings[start];if(!info)return 0;if(num==info.num){_mmap.mappings[start]=null;if(info.allocated){_free(info.malloc)}}return 0}function _stat(path,buf,dontResolveLastLink){path=typeof path!=="string"?Pointer_stringify(path):path;try{var stat=dontResolveLastLink?FS.lstat(path):FS.stat(path);SAFE_HEAP_STORE(buf|0,stat.dev|0,4,0)|0;SAFE_HEAP_STORE(buf+4|0,0|0,4,0)|0;SAFE_HEAP_STORE(buf+8|0,stat.ino|0,4,0)|0;SAFE_HEAP_STORE(buf+12|0,stat.mode|0,4,0)|0;SAFE_HEAP_STORE(buf+16|0,stat.nlink|0,4,0)|0;SAFE_HEAP_STORE(buf+20|0,stat.uid|0,4,0)|0;SAFE_HEAP_STORE(buf+24|0,stat.gid|0,4,0)|0;SAFE_HEAP_STORE(buf+28|0,stat.rdev|0,4,0)|0;SAFE_HEAP_STORE(buf+32|0,0|0,4,0)|0;SAFE_HEAP_STORE(buf+36|0,stat.size|0,4,0)|0;SAFE_HEAP_STORE(buf+40|0,4096|0,4,0)|0;SAFE_HEAP_STORE(buf+44|0,stat.blocks|0,4,0)|0;SAFE_HEAP_STORE(buf+48|0,stat.atime.getTime()/1e3|0|0,4,0)|0;SAFE_HEAP_STORE(buf+52|0,0|0,4,0)|0;SAFE_HEAP_STORE(buf+56|0,stat.mtime.getTime()/1e3|0|0,4,0)|0;SAFE_HEAP_STORE(buf+60|0,0|0,4,0)|0;SAFE_HEAP_STORE(buf+64|0,stat.ctime.getTime()/1e3|0|0,4,0)|0;SAFE_HEAP_STORE(buf+68|0,0|0,4,0)|0;SAFE_HEAP_STORE(buf+72|0,stat.ino|0,4,0)|0;return 0}catch(e){if(e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){e.setErrno(ERRNO_CODES.ENOTDIR)}FS.handleFSError(e);return-1}}function _fstat(fildes,buf){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}return _stat(stream.path,buf)}var ___tm_current=allocate(44,"i8",ALLOC_STATIC);var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);var _tzname=allocate(8,"i32*",ALLOC_STATIC);var _daylight=allocate(1,"i32*",ALLOC_STATIC);var _timezone=allocate(1,"i32*",ALLOC_STATIC);function _tzset(){if(_tzset.called)return;_tzset.called=true;SAFE_HEAP_STORE(_timezone|0,-(new Date).getTimezoneOffset()*60|0,4,0)|0;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);SAFE_HEAP_STORE(_daylight|0,Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset())|0,4,0)|0;function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()<winter.getTimezoneOffset()){SAFE_HEAP_STORE(_tzname|0,winterNamePtr|0,4,0)|0;SAFE_HEAP_STORE(_tzname+4|0,summerNamePtr|0,4,0)|0}else{SAFE_HEAP_STORE(_tzname|0,summerNamePtr|0,4,0)|0;SAFE_HEAP_STORE(_tzname+4|0,winterNamePtr|0,4,0)|0}}function _localtime_r(time,tmPtr){_tzset();var date=new Date((SAFE_HEAP_LOAD(time|0,4,0,0)|0)*1e3);SAFE_HEAP_STORE(tmPtr|0,date.getSeconds()|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+4|0,date.getMinutes()|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+8|0,date.getHours()|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+12|0,date.getDate()|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+16|0,date.getMonth()|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+20|0,date.getFullYear()-1900|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+24|0,date.getDay()|0,4,0)|0;var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;SAFE_HEAP_STORE(tmPtr+28|0,yday|0,4,0)|0;SAFE_HEAP_STORE(tmPtr+36|0,-(date.getTimezoneOffset()*60)|0,4,0)|0;var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=date.getTimezoneOffset()==Math.min(winterOffset,summerOffset)|0;SAFE_HEAP_STORE(tmPtr+32|0,dst|0,4,0)|0;var zonePtr=SAFE_HEAP_LOAD(_tzname+(dst?Runtime.QUANTUM_SIZE:0)|0,4,0,0)|0;SAFE_HEAP_STORE(tmPtr+40|0,zonePtr|0,4,0)|0;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _fcntl(fildes,cmd,varargs,dup2){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}switch(cmd){case 0:var arg=SAFE_HEAP_LOAD(varargs|0,4,0,0)|0;if(arg<0){___setErrNo(ERRNO_CODES.EINVAL);return-1}var newStream;try{newStream=FS.open(stream.path,stream.flags,0,arg)}catch(e){FS.handleFSError(e);return-1}return newStream.fd;case 1:case 2:return 0;case 3:return stream.flags;case 4:var arg=SAFE_HEAP_LOAD(varargs|0,4,0,0)|0;stream.flags|=arg;return 0;case 12:case 12:var arg=SAFE_HEAP_LOAD(varargs|0,4,0,0)|0;var offset=0;SAFE_HEAP_STORE(arg+offset|0,2|0,2,0)|0;return 0;case 13:case 14:case 13:case 14:return 0;case 8:case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:___setErrNo(ERRNO_CODES.EINVAL);return-1}return-1}function _sysconf(name){switch(name){case 30:return PAGE_SIZE;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 79:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}___setErrNo(ERRNO_CODES.EINVAL);return-1}function _recv(fd,buf,len,flags){var sock=SOCKFS.getSocket(fd);if(!sock){___setErrNo(ERRNO_CODES.EBADF);return-1}return _read(fd,buf,len)}function _pread(fildes,buf,nbyte,offset){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}try{var slab=HEAP8;return FS.read(stream,slab,buf,nbyte,offset)}catch(e){FS.handleFSError(e);return-1}}function _read(fildes,buf,nbyte){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}try{var slab=HEAP8;return FS.read(stream,slab,buf,nbyte)}catch(e){FS.handleFSError(e);return-1}}var _BDtoIHigh=true;function _getcwd(buf,size){if(size==0){___setErrNo(ERRNO_CODES.EINVAL);return 0}var cwd=FS.cwd();if(size<cwd.length+1){___setErrNo(ERRNO_CODES.ERANGE);return 0}else{writeAsciiToMemory(cwd,buf);return buf}}var PROCINFO={ppid:1,pid:42,sid:42,pgid:42};function _getpid(){return PROCINFO.pid}var _environ=allocate(1,"i32*",ALLOC_STATIC);var ___environ=_environ;function ___buildEnvironment(env){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);SAFE_HEAP_STORE(envPtr|0,poolPtr|0,4,0)|0;SAFE_HEAP_STORE(_environ|0,envPtr|0,4,0)|0}else{envPtr=SAFE_HEAP_LOAD(_environ|0,4,0,0)|0;poolPtr=SAFE_HEAP_LOAD(envPtr|0,4,0,0)|0}var strings=[];var totalSize=0;for(var key in env){if(typeof env[key]==="string"){var line=key+"="+env[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i<strings.length;i++){var line=strings[i];writeAsciiToMemory(line,poolPtr);SAFE_HEAP_STORE(envPtr+i*ptrSize|0,poolPtr|0,4,0)|0;poolPtr+=line.length+1}SAFE_HEAP_STORE(envPtr+strings.length*ptrSize|0,0|0,4,0)|0}var ENV={};function _getenv(name){if(name===0)return 0;name=Pointer_stringify(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocate(intArrayFromString(ENV[name]),"i8",ALLOC_NORMAL);return _getenv.ret}function _gettimeofday(ptr){var now=Date.now();SAFE_HEAP_STORE(ptr|0,now/1e3|0|0,4,0)|0;SAFE_HEAP_STORE(ptr+4|0,now%1e3*1e3|0|0,4,0)|0;return 0}function _chown(path,owner,group,dontResolveLastLink){if(typeof path!=="string")path=Pointer_stringify(path);try{FS.chown(path,owner,group);return 0}catch(e){FS.handleFSError(e);return-1}}function _fchown(fildes,owner,group){try{FS.fchown(fildes,owner,group);return 0}catch(e){FS.handleFSError(e);return-1}}function _dlclose(handle){if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlclose() unopened handle: "+handle;return 1}else{var lib_record=DLFCN.loadedLibs[handle];if(--lib_record.refcount==0){if(lib_record.module.cleanups){lib_record.module.cleanups.forEach((function(cleanup){cleanup()}))}delete DLFCN.loadedLibNames[lib_record.name];delete DLFCN.loadedLibs[handle]}return 0}}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;function _dlopen(filename,flag){filename=filename===0?"__self__":(ENV["LD_LIBRARY_PATH"]||"/")+Pointer_stringify(filename);abort("need to build with DLOPEN_SUPPORT=1 to get dlopen support in asm.js");if(DLFCN.loadedLibNames[filename]){var handle=DLFCN.loadedLibNames[filename];DLFCN.loadedLibs[handle].refcount++;return handle}if(filename==="__self__"){var handle=-1;var lib_module=Module;var cached_functions=SYMBOL_TABLE}else{var target=FS.findObject(filename);if(!target||target.isFolder||target.isDevice){DLFCN.errorMsg="Could not find dynamic lib: "+filename;return 0}else{FS.forceLoadFile(target);var lib_data=FS.readFile(filename,{encoding:"utf8"})}try{var lib_module=eval(lib_data)(DLFCN.functionTable.length,Module)}catch(e){Module.printErr("Error in loading dynamic library: "+e);DLFCN.errorMsg="Could not evaluate dynamic lib: "+filename;return 0}var handle=1;for(var key in DLFCN.loadedLibs){if(DLFCN.loadedLibs.hasOwnProperty(key))handle++}if(flag&256){for(var ident in lib_module){if(lib_module.hasOwnProperty(ident)){Module[ident]=lib_module[ident]}}}var cached_functions={}}DLFCN.loadedLibs[handle]={refcount:1,name:filename,module:lib_module,cached_functions:cached_functions};DLFCN.loadedLibNames[filename]=handle;return handle}function _fsync(fildes){var stream=FS.getStream(fildes);if(stream){return 0}else{___setErrNo(ERRNO_CODES.EBADF);return-1}}function _sbrk(bytes){var self=_sbrk;if(!self.called){DYNAMICTOP=alignMemoryPage(DYNAMICTOP);self.called=true;assert(Runtime.dynamicAlloc);self.alloc=Runtime.dynamicAlloc;Runtime.dynamicAlloc=(function(){abort("cannot dynamically allocate, sbrk now has control")})}var ret=DYNAMICTOP;if(bytes!=0){var success=self.alloc(bytes);if(!success)return-1>>>0}return ret}Module["_memmove"]=_memmove;function _dlerror(){if(DLFCN.errorMsg===null){return 0}else{if(DLFCN.error)_free(DLFCN.error);var msgArr=intArrayFromString(DLFCN.errorMsg);DLFCN.error=allocate(msgArr,"i8",ALLOC_NORMAL);DLFCN.errorMsg=null;return DLFCN.error}}function ___errno_location(){return ___errno_state}var _BItoD=true;Module["_bitshift64Lshr"]=_bitshift64Lshr;Module["_llvm_bswap_i32"]=_llvm_bswap_i32;function _mmap(start,num,prot,flags,fd,offset){var MAP_PRIVATE=2;var ptr;var allocated=false;if(!_mmap.mappings)_mmap.mappings={};if(fd==-1){ptr=_malloc(num);if(!ptr)return-1;_memset(ptr,0,num);allocated=true}else{var info=FS.getStream(fd);if(!info)return-1;try{var res=FS.mmap(info,HEAPU8,start,num,offset,prot,flags);ptr=res.ptr;allocated=res.allocated}catch(e){FS.handleFSError(e);return-1}}_mmap.mappings[ptr]={malloc:ptr,num:num,allocated:allocated};return ptr}function _truncate(path,length){if(typeof path!=="string")path=Pointer_stringify(path);try{FS.truncate(path,length);return 0}catch(e){FS.handleFSError(e);return-1}}function _ftruncate(fildes,length){try{FS.ftruncate(fildes,length);return 0}catch(e){FS.handleFSError(e);return-1}}function _utimes(path,times){var time;if(times){var offset=8+0;time=(SAFE_HEAP_LOAD(times+offset|0,4,0,0)|0)*1e3;offset=8+4;time+=(SAFE_HEAP_LOAD(times+offset|0,4,0,0)|0)/1e3}else{time=Date.now()}path=Pointer_stringify(path);try{FS.utime(path,time,time);return 0}catch(e){FS.handleFSError(e);return-1}}FS.staticInit();__ATINIT__.unshift({func:(function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()})});__ATMAIN__.push({func:(function(){FS.ignorePermissions=false})});__ATEXIT__.push({func:(function(){FS.quit()})});Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;___errno_state=Runtime.staticAlloc(4);SAFE_HEAP_STORE(___errno_state|0,0|0,4,0)|0;__ATINIT__.unshift({func:(function(){TTY.init()})});__ATEXIT__.push({func:(function(){TTY.shutdown()})});if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}__ATINIT__.push({func:(function(){SOCKFS.root=FS.mount(SOCKFS,{},null)})});Module["requestFullScreen"]=function Module_requestFullScreen(lockPointer,resizeCanvas,vrDevice){Browser.requestFullScreen(lockPointer,resizeCanvas,vrDevice)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};___buildEnvironment(ENV);STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);staticSealed=true;STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX);assert(DYNAMIC_BASE<TOTAL_MEMORY,"TOTAL_MEMORY not big enough for stack");var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_DYNAMIC);function nullFunc_iiiiiiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_viiiiii(x){Module["printErr"]("Invalid function pointer called with signature 'viiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_vi(x){Module["printErr"]("Invalid function pointer called with signature 'vi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_viiiii(x){Module["printErr"]("Invalid function pointer called with signature 'viiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_dii(x){Module["printErr"]("Invalid function pointer called with signature 'dii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_vid(x){Module["printErr"]("Invalid function pointer called with signature 'vid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_di(x){Module["printErr"]("Invalid function pointer called with signature 'di'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_i(x){Module["printErr"]("Invalid function pointer called with signature 'i'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiiiiiiiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_vii(x){Module["printErr"]("Invalid function pointer called with signature 'vii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiiiiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_ii(x){Module["printErr"]("Invalid function pointer called with signature 'ii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_viii(x){Module["printErr"]("Invalid function pointer called with signature 'viii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_v(x){Module["printErr"]("Invalid function pointer called with signature 'v'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiiiiiiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_viiii(x){Module["printErr"]("Invalid function pointer called with signature 'viiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iii(x){Module["printErr"]("Invalid function pointer called with signature 'iii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiid(x){Module["printErr"]("Invalid function pointer called with signature 'iiid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function nullFunc_iiiiii(x){Module["printErr"]("Invalid function pointer called with signature 'iiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");Module["printErr"]("Build with ASSERTIONS=2 for more info.");abort(x)}function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dii(index,a1,a2){try{return Module["dynCall_dii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vid(index,a1,a2){try{Module["dynCall_vid"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_di(index,a1){try{return Module["dynCall_di"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_i(index){try{return Module["dynCall_i"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{return Module["dynCall_iiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiid(index,a1,a2,a3){try{return Module["dynCall_iiid"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"SAFE_HEAP_LOAD":SAFE_HEAP_LOAD,"SAFE_HEAP_STORE":SAFE_HEAP_STORE,"SAFE_FT_MASK":SAFE_FT_MASK,"nullFunc_iiiiiiii":nullFunc_iiiiiiii,"nullFunc_iiii":nullFunc_iiii,"nullFunc_viiiiii":nullFunc_viiiiii,"nullFunc_vi":nullFunc_vi,"nullFunc_viiiii":nullFunc_viiiii,"nullFunc_dii":nullFunc_dii,"nullFunc_vid":nullFunc_vid,"nullFunc_di":nullFunc_di,"nullFunc_i":nullFunc_i,"nullFunc_iiiiiiiiii":nullFunc_iiiiiiiiii,"nullFunc_vii":nullFunc_vii,"nullFunc_iiiiiii":nullFunc_iiiiiii,"nullFunc_ii":nullFunc_ii,"nullFunc_viii":nullFunc_viii,"nullFunc_v":nullFunc_v,"nullFunc_iiiiiiiii":nullFunc_iiiiiiiii,"nullFunc_iiiii":nullFunc_iiiii,"nullFunc_viiii":nullFunc_viiii,"nullFunc_iii":nullFunc_iii,"nullFunc_iiid":nullFunc_iiid,"nullFunc_iiiiii":nullFunc_iiiiii,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiii":invoke_iiii,"invoke_viiiiii":invoke_viiiiii,"invoke_vi":invoke_vi,"invoke_viiiii":invoke_viiiii,"invoke_dii":invoke_dii,"invoke_vid":invoke_vid,"invoke_di":invoke_di,"invoke_i":invoke_i,"invoke_iiiiiiiiii":invoke_iiiiiiiiii,"invoke_vii":invoke_vii,"invoke_iiiiiii":invoke_iiiiiii,"invoke_ii":invoke_ii,"invoke_viii":invoke_viii,"invoke_v":invoke_v,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_iiiii":invoke_iiiii,"invoke_viiii":invoke_viiii,"invoke_iii":invoke_iii,"invoke_iiid":invoke_iiid,"invoke_iiiiii":invoke_iiiiii,"_dlerror":_dlerror,"_utimes":_utimes,"_getuid":_getuid,"_send":_send,"_dlsym":_dlsym,"_mknod":_mknod,"_chown":_chown,"_lseek":_lseek,"_emscripten_set_main_loop_timing":_emscripten_set_main_loop_timing,"_access":_access,"_fstat":_fstat,"_chmod":_chmod,"_rmdir":_rmdir,"___assert_fail":___assert_fail,"_usleep":_usleep,"___buildEnvironment":___buildEnvironment,"_fflush":_fflush,"_pwrite":_pwrite,"_strerror_r":_strerror_r,"_localtime_r":_localtime_r,"_tzset":_tzset,"_open":_open,"_getpid":_getpid,"_sbrk":_sbrk,"_fcntl":_fcntl,"_emscripten_memcpy_big":_emscripten_memcpy_big,"_unlink":_unlink,"_sysconf":_sysconf,"_fchmod":_fchmod,"___setErrNo":___setErrNo,"_ftruncate":_ftruncate,"_mkdir":_mkdir,"_pread":_pread,"_mkport":_mkport,"_dlopen":_dlopen,"_dlclose":_dlclose,"_write":_write,"_fsync":_fsync,"___errno_location":___errno_location,"_stat":_stat,"_recv":_recv,"_geteuid":_geteuid,"_getenv":_getenv,"_sleep":_sleep,"_emscripten_set_main_loop":_emscripten_set_main_loop,"_abort":_abort,"_time":_time,"_fchown":_fchown,"_strerror":_strerror,"_gettimeofday":_gettimeofday,"_munmap":_munmap,"_mmap":_mmap,"_localtime":_localtime,"_getcwd":_getcwd,"_close":_close,"_read":_read,"_truncate":_truncate,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.SAFE_HEAP_LOAD;var ea=env.SAFE_HEAP_STORE;var fa=env.SAFE_FT_MASK;var ga=env.nullFunc_iiiiiiii;var ha=env.nullFunc_iiii;var ia=env.nullFunc_viiiiii;var ja=env.nullFunc_vi;var ka=env.nullFunc_viiiii;var la=env.nullFunc_dii;var ma=env.nullFunc_vid;var na=env.nullFunc_di;var oa=env.nullFunc_i;var pa=env.nullFunc_iiiiiiiiii;var qa=env.nullFunc_vii;var ra=env.nullFunc_iiiiiii;var sa=env.nullFunc_ii;var ta=env.nullFunc_viii;var ua=env.nullFunc_v;var va=env.nullFunc_iiiiiiiii;var wa=env.nullFunc_iiiii;var xa=env.nullFunc_viiii;var ya=env.nullFunc_iii;var za=env.nullFunc_iiid;var Aa=env.nullFunc_iiiiii;var Ba=env.invoke_iiiiiiii;var Ca=env.invoke_iiii;var Da=env.invoke_viiiiii;var Ea=env.invoke_vi;var Fa=env.invoke_viiiii;var Ga=env.invoke_dii;var Ha=env.invoke_vid;var Ia=env.invoke_di;var Ja=env.invoke_i;var Ka=env.invoke_iiiiiiiiii;var La=env.invoke_vii;var Ma=env.invoke_iiiiiii;var Na=env.invoke_ii;var Oa=env.invoke_viii;var Pa=env.invoke_v;var Qa=env.invoke_iiiiiiiii;var Ra=env.invoke_iiiii;var Sa=env.invoke_viiii;var Ta=env.invoke_iii;var Ua=env.invoke_iiid;var Va=env.invoke_iiiiii;var Wa=env._dlerror;var Xa=env._utimes;var Ya=env._getuid;var Za=env._send;var _a=env._dlsym;var $a=env._mknod;var ab=env._chown;var bb=env._lseek;var cb=env._emscripten_set_main_loop_timing;var db=env._access;var eb=env._fstat;var fb=env._chmod;var gb=env._rmdir;var hb=env.___assert_fail;var ib=env._usleep;var jb=env.___buildEnvironment;var kb=env._fflush;var lb=env._pwrite;var mb=env._strerror_r;var nb=env._localtime_r;var ob=env._tzset;var pb=env._open;var qb=env._getpid;var rb=env._sbrk;var sb=env._fcntl;var tb=env._emscripten_memcpy_big;var ub=env._unlink;var vb=env._sysconf;var wb=env._fchmod;var xb=env.___setErrNo;var yb=env._ftruncate;var zb=env._mkdir;var Ab=env._pread;var Bb=env._mkport;var Cb=env._dlopen;var Db=env._dlclose;var Eb=env._write;var Fb=env._fsync;var Gb=env.___errno_location;var Hb=env._stat;var Ib=env._recv;var Jb=env._geteuid;var Kb=env._getenv;var Lb=env._sleep;var Mb=env._emscripten_set_main_loop;var Nb=env._abort;var Ob=env._time;var Pb=env._fchown;var Qb=env._strerror;var Rb=env._gettimeofday;var Sb=env._munmap;var Tb=env._mmap;var Ub=env._localtime;var Vb=env._getcwd;var Wb=env._close;var Xb=env._read;var Yb=env._truncate;var Zb=0.0;
// EMSCRIPTEN_START_FUNCS
function gh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;i=da(a+80|0,4,0,0)|0|0;e=a+44|0;do if(!(da(e|0,4,0,0)|0)){ea(h+52|0,i|0,4,0);b=da(h+236|0,4,0,0)|0|0;if(b){a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(a|0,1|0,2,0);break}else{ug(b);break}}}else{f=h+65|0;g=da(f>>0|0,1,0,0)|0|0;a=da(3164*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();d=h+236|0;a=da(d|0,4,0,0)|0|0;do if(!a){a=lh(h,40,0)|0;if(!a){ea(d|0,a|0,4,0);break}else{b=a+0|0;c=b+40|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(c|0));ea(a+8|0,1|0,2,0);ea(a+32|0,h|0,4,0);ea(d|0,a|0,4,0);c=8;break}}else c=8;while(0);if((c|0)==8)Wg(a,da(e|0,4,0,0)|0|0,-1,1,-1)|0;a=da(3166*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();ea(f>>0|0,g|0,1,0);ea(h+52|0,i|0,4,0)}while(0);return i|0}function hh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;ea(f|0,0|0,4,0);if(!((Gh(a)|0)==0|(b|0)==0)){h=da(a+20|0,4,0,0)|0|0;if((h|0)>0){k=da(a+16|0,4,0,0)|0|0;m=0;do{l=da(k+(m<<4)+4|0,4,0,0)|0|0;if(l)ea((da(l+4|0,4,0,0)|0|0)+4|0,da(l|0,4,0,0)|0|0,4,0);m=m+1|0}while((m|0)!=(h|0))}h=En(a,b,c,d,e,f,g)|0;if((h|0)==17){ld(da(f|0,4,0,0)|0|0)|0;h=En(a,b,c,d,e,f,g)|0}}else{ea(h|0,105892|0,4,0);ea(h+4|0,10788|0,4,0);ad(21,13648,h);h=21}i=n;return h|0}function ih(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+68|0;if((da(d|0,2,0,0)|0|0)>0){c=b+60|0;b=a+60|0;a=0;do{Zl((da(c|0,4,0,0)|0|0)+(a*40|0)|0,(da(b|0,4,0,0)|0|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(da(d|0,2,0,0)|0|0))}return}function jh(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;d=(c-b&1073741823)+1|0;c=lh(a,d,0)|0;if(c)jw(c|0,b|0,d|0)|0;else c=0}else c=0;return c|0}function kh(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+8|0,4,0,0)|0|0;if((b|0)>=1){eh(d,b)|0;ea(d+8|0,8192|0,2,0);ea(d|0,da(a+4|0,4,0,0)|0|0,4,0);c=d+16|0;a=da(c|0,4,0,0)|0|0;if(!a)c=0;else{ew(a|0,0,b|0)|0;c=da(c|0,4,0,0)|0|0}}else{c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(d);ea(d+16|0,0|0,4,0);c=0}return c|0}function lh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(a){f=a+65|0;if(!(da(f>>0|0,1,0,0)|0)){do if(da(a+250>>0|0,1,0,0)|0){if(0<c>>>0|(0==(c|0)?(da(a+248|0,2,0,1)|0|0)>>>0<b>>>0:0)){d=a+264|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}e=a+272|0;d=da(e|0,4,0,0)|0|0;if(!d){d=a+268|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}ea(e|0,da(d|0,4,0,0)|0|0,4,0);c=a+252|0;e=da(c|0,4,0,0)|0|0;b=e+1|0;ea(c|0,b|0,4,0);c=a+260|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=a+256|0;if((e|0)>=(da(c|0,4,0,0)|0|0))ea(c|0,b|0,4,0);break a}while(0);d=pg(b,c)|0;if(!d){ea(f>>0|0,1|0,1,0);d=0}}else d=0}else d=pg(b,c)|0;while(0);return d|0}function mh(a,b){a=a|0;b=b|0;var c=0,d=0;do if(a){c=da(a+20|0,4,0,0)|0|0;if((c|0)!=0?((b|0)>-1?(da(a+84|0,2,0,1)|0|0|0)>(b|0):0):0){c=c+(b*40|0)|0;break}c=da(a|0,4,0,0)|0|0;if((c|0)!=0?(ea(c+52|0,25|0,4,0),d=da(c+236|0,4,0,0)|0|0,(d|0)!=0):0){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);c=41496;break}else{ug(d);c=41496;break}}else c=41496}else c=41496;while(0);return c|0}function nh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=oh(a,b)|0;if(!g)if(!c)g=0;else{b=(da(a+60|0,4,0,0)|0|0)+((b+-1|0)*40|0)|0;g=Wg(b,c,d,f,e)|0;if((g|0)!=0|f<<24>>24==0)b=g;else b=Xl(b,da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,1)|0|0)|0;g=da(a|0,4,0,0)|0|0;ea(g+52|0,b|0,4,0);e=da(g+236|0,4,0,0)|0|0;do if(e){d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);break}else{ug(e);g=da(a|0,4,0,0)|0|0;break}}while(0);g=Ng(g,b)|0}else{d=e;if(!((d|0)==0|(d|0)==-1))bc[(fa(e|0,31|0)|0)&31](c)}return g|0}function oh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;do if(!($g(a)|0)){if((da(a+40|0,4,0,0)|0|0)==-1108210269?(da(a+76|0,4,0,0)|0|0)<=-1:0){if((b|0)>=1?(da(a+68|0,2,0,0)|0|0)>=(b|0):0){f=b+-1|0;e=da(a+60|0,4,0,0)|0|0;d=e+(f*40|0)|0;c=e+(f*40|0)+8|0;if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(e+(f*40|0)+24|0,4,0,0)|0|0)==0:0))Pg(d);ea(c|0,1|0,2,0);d=da(a|0,4,0,0)|0|0;ea(d+52|0,0|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);e=a+88|0;c=da(e|0,2,0,0)|0|0;if(!(c&256)){c=0;break}d=da(a+188|0,4,0,0)|0|0;if((b|0)<33){if(!((d&1<<f|0)!=0|(d|0)==-1)){c=0;break}}else if((d|0)!=-1){c=0;break}ea(e|0,c|8|0,2,0);c=0;break}c=da(a|0,4,0,0)|0|0;ea(c+52|0,25|0,4,0);c=da(c+236|0,4,0,0)|0|0;if(!c){c=25;break}d=c+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);c=25;break}else{ug(c);c=25;break}}d=da(a|0,4,0,0)|0|0;ea(d+52|0,21|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);ea(e|0,da(a+168|0,4,0,0)|0|0,4,0);ad(21,41456,e);ea(e|0,69987|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}else{ea(e|0,69979|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}while(0);i=g;return c|0}function ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)?(f=da(a+70|0,2,0,0)|0|0,f<<16>>16>0):0){d=da(a+64|0,4,0,0)|0|0;a=0;while(1){e=da(d+(a<<2)|0,4,0,0)|0|0;if(((e|0)!=0?(_v(e,b,c)|0)==0:0)?(da(e+c>>0|0,1,0,0)|0|0)==0:0)break;a=a+1|0;if((a|0)>=(f<<16>>16|0)){a=0;break a}}a=a+1|0}else a=0;while(0);return a|0}function qh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;c=da(a+10>>0|0,1,0,0)|0|0;d=a+16|0;e=a+12|0;do if(Sl(da(d|0,4,0,0)|0|0,g,da(e|0,4,0,0)|0|0,c)|0){if(!(Tl(da(d|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0,c)|0)){e=f;c=da(e+4|0,4,0,0)|0|0;d=a;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|4|0,2,0);break}ea(a|0,+(+(+da(g|0,8,1,0))),8,1);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|8|0,2,0);if(b)cm(a)}while(0);i=h;return}function rh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(!(Fn(a)|0)){e=Zh(da(a|0,4,0,0)|0|0,c,d)|0;if(!e){e=(b|0)!=0?41368:41384;if(!d){ea(f|0,e|0,4,0);ea(f+4|0,c|0,4,0);sh(a,27680,f)}else{ea(f|0,e|0,4,0);ea(f+4|0,d|0,4,0);ea(f+8|0,c|0,4,0);sh(a,27664,f)}ea(a+17>>0|0,1|0,1,0);e=0}}else e=0;i=g;return e|0}function sh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;d=da(a|0,4,0,0)|0|0;ea(f|0,c|0,4,0);c=Vk(d,b,f)|0;if(!(da(d+68>>0|0,1,0,0)|0)){b=a+64|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=a+4|0;lg(d,da(b|0,4,0,0)|0|0);ea(b|0,c|0,4,0);ea(a+12|0,1|0,4,0)}else lg(d,c);i=e;return}function th(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);a=Vk(a,b,e)|0;i=d;return a|0}function uh(a){a=a|0;var b=0,c=0,d=0;c=da(a|0,4,0,0)|0|0;b=lh(c,208,0)|0;if(!b)b=0;else{ew(b|0,0,208)|0;ea(b|0,c|0,4,0);c=c+4|0;d=da(c|0,4,0,0)|0|0;if(d)ea(d+48|0,b|0,4,0);ea(b+52|0,d|0,4,0);ea(b+48|0,0|0,4,0);ea(c|0,b|0,4,0);ea(b+40|0,649915045|0,4,0);ea(b+24|0,a|0,4,0)}return b|0}function vh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=a+32|0;f=da(g|0,4,0,0)|0|0;if((da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0)<=(f|0))if(!(Gn(a)|0)){h=da(g|0,4,0,0)|0|0;i=4}else f=1;else{h=f;i=4}if((i|0)==4){ea(g|0,h+1|0,4,0);g=da(a+4|0,4,0,0)|0|0;ea(g+(f*20|0)>>0|0,b|0,1,0);ea(g+(f*20|0)+3>>0|0,0|0,1,0);ea(g+(f*20|0)+4|0,c|0,4,0);ea(g+(f*20|0)+8|0,d|0,4,0);ea(g+(f*20|0)+12|0,e|0,4,0);ea(g+(f*20|0)+16|0,0|0,4,0);ea(g+(f*20|0)+1>>0|0,0|0,1,0)}return f|0}function wh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;e=da(a+4|0,4,0,0)|0|0;do if((e|0)!=0?(da(h+65>>0|0,1,0,0)|0|0)==0:0){if((b|0)<0)b=(da(a+32|0,4,0,0)|0|0)+-1|0;g=e+(b*20|0)+1|0;f=e+(b*20|0)+16|0;Hn(h,da(g>>0|0,1,0,0)|0|0,da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0);if((d|0)==-14){ea(f|0,c|0,4,0);ea(g>>0|0,-14|0,1,0);break}if(!c){ea(f|0,0|0,4,0);ea(g>>0|0,0|0,1,0);break}if((d|0)==-10){ea(f|0,c|0,4,0);ea(g>>0|0,-10|0,1,0);b=c+12|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break}else if((d|0)==-6){ea(f|0,c|0,4,0);ea(g>>0|0,-6|0,1,0);break}else{if((d|0)<0){ea(f|0,c|0,4,0);ea(g>>0|0,d|0,1,0);break}if(!d){b=c;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;e=b-c&1073741823}else e=d;a=da(a|0,4,0,0)|0|0;b=iw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=lh(a,b,C)|0;if(!b)b=0;else{jw(b|0,c|0,e|0)|0;ea(b+e>>0|0,0|0,1,0)}ea(f|0,b|0,4,0);ea(g>>0|0,-1|0,1,0);break}}else i=3;while(0);if((i|0)==3?(d|0)!=-10:0)Hn(h,d,c);return}function xh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=a+32|0;d=da(i|0,4,0,0)|0|0;if((d+b|0)>(da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0))if(!(Gn(a)|0)){d=da(i|0,4,0,0)|0|0;e=4}else d=0;else e=4;if((e|0)==4)if((b|0)>0){g=a+4|0;h=0;while(1){j=da(c+2>>0|0,1,0,0)|0|0;e=j<<24>>24;a=h+d|0;f=da(g|0,4,0,0)|0|0;ea(f+(a*20|0)>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);ea(f+(a*20|0)+4|0,da(c+1>>0|0,1,0,0)|0|0,4,0);if(j<<24>>24<0)e=d+~e|0;ea(f+(a*20|0)+8|0,e|0,4,0);ea(f+(a*20|0)+12|0,da(c+3>>0|0,1,0,0)|0|0,4,0);ea(f+(a*20|0)+1>>0|0,0|0,1,0);ea(f+(a*20|0)+16|0,0|0,4,0);ea(f+(a*20|0)+3>>0|0,0|0,1,0);h=h+1|0;if((h|0)==(b|0))break;else c=c+4|0}ea(i|0,(da(i|0,4,0,0)|0|0)+b|0,4,0)}return d|0}function yh(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+32|0;if((da(c|0,4,0,0)|0|0)>(b|0)?(d=da(a+4|0,4,0,0)|0|0,Hn(da(a|0,4,0,0)|0|0,da(d+(b*20|0)+1>>0|0,1,0,0)|0|0,da(d+(b*20|0)+16|0,4,0,0)|0|0),a=d+(b*20|0)|0,ea(a+0|0,0|0,4,0),ea(a+4|0,0|0,4,0),ea(a+8|0,0|0,4,0),ea(a+12|0,0|0,4,0),ea(a+16|0,0|0,4,0),ea(a>>0|0,-100|0,1,0),((da(c|0,4,0,0)|0|0)+-1|0)==(b|0)):0)ea(c|0,b|0,4,0);return}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;G=i;i=i+16|0;if((i|0)>=(j|0))ba();e=G;E=da(a|0,4,0,0)|0|0;y=da(b+440|0,4,0,0)|0|0;c=da(b+72|0,4,0,0)|0|0;x=da(b+68|0,4,0,0)|0|0;ea(e|0,da(b+392|0,4,0,0)|0|0,4,0);w=da(b+80|0,4,0,0)|0|0;w=(w|0)==0?1:w;c=x+c|0;g=da(a+4|0,4,0,0)|0|0;f=g+((da(a+32|0,4,0,0)|0|0)*20|0)|0;g=g+((da(b+84|0,4,0,0)|0|0)*20|0)|0;In(a,e);if(!(da(b+20>>0|0,1,0,0)|0))d=0;else d=((da(b+21>>0|0,1,0,0)|0|0)!=0&1)<<5&65535;F=a+88|0;ea(F|0,(da(F|0,2,0,0)|0)&-33|d|0,2,0);D=b+450|0;A=(da(D>>0|0,1,0,0)|0|0)!=0&(c|0)<10?10:c;c=f;ew(f|0,0,g-c|0)|0;ea(F|0,(da(F|0,2,0,0)|0)&-9|0,2,0);z=a+8|0;r=A*40|0;s=a+60|0;t=y*40|0;u=a+12|0;h=((da(e|0,4,0,0)|0)<<2)+7&-8;v=a+64|0;k=(y<<2)+7&-8;l=a+56|0;m=(x<<2)+7&-8;n=a+200|0;o=w+7&-8;p=a+172|0;q=E+65|0;f=f+(c&7)|0;while(1){e=da(z|0,4,0,0)|0|0;if(!e){d=f+r|0;c=d>>>0>g>>>0;e=c?0:f;f=c?f:d;c=c?r:0}else c=0;ea(z|0,e|0,4,0);e=da(s|0,4,0,0)|0|0;if(!e){H=f+t|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?t:0)+c|0}ea(s|0,e|0,4,0);e=da(u|0,4,0,0)|0|0;if(!e){H=f+h|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?h:0)+c|0}ea(u|0,e|0,4,0);e=da(v|0,4,0,0)|0|0;if(!e){H=f+k|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?k:0)+c|0}ea(v|0,e|0,4,0);e=da(l|0,4,0,0)|0|0;if(!e){H=f+m|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?m:0)+c|0}ea(l|0,e|0,4,0);e=da(n|0,4,0,0)|0|0;if(!e){d=(f+o|0)>>>0>g>>>0;e=d?0:f;c=(d?o:0)+c|0}ea(n|0,e|0,4,0);if(!c)break;d=lh(E,c,((c|0)<0)<<31>>31)|0;if(!d)e=0;else{ew(d|0,0,c|0)|0;e=d}ea(p|0,e|0,4,0);if(!(da(q>>0|0,1,0,0)|0)){f=d;g=d+c|0}else break}ea(a+36|0,x|0,4,0);ea(a+196|0,w|0,4,0);d=da(s|0,4,0,0)|0|0;if((d|0)!=0?(ea(a+68|0,y|0,2,0),(y|0)>0):0){c=0;do{ea(d+(c*40|0)+8|0,1|0,2,0);ea(d+(c*40|0)+32|0,E|0,4,0);c=c+1|0}while((c|0)!=(y|0))}d=da(v|0,4,0,0)|0|0;if((d|0)!=0?(B=b+444|0,C=da(B|0,4,0,0)|0|0,(C|0)>0):0){ea(a+70|0,C|0,2,0);y=b+472|0;jw(d|0,da(y|0,4,0,0)|0|0,C<<16>>14|0)|0;ew(da(y|0,4,0,0)|0|0,0,(da(B|0,4,0,0)|0)<<2|0)|0}d=da(z|0,4,0,0)|0|0;if((d|0)!=0?(ea(z|0,d+-40|0,4,0),ea(a+28|0,A|0,4,0),(A|0)>=1):0){c=1;while(1){ea(d+((c+-1|0)*40|0)+8|0,128|0,2,0);ea(d+((c+-1|0)*40|0)+32|0,E|0,4,0);if((c|0)==(A|0))break;else c=c+1|0}}ea(F|0,(da(F|0,2,0,0)|0)&-4|(da(D>>0|0,1,0,1)|0)&3|0,2,0);ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);z=a+144|0;ea(z|0,0|0,4,0);ea(z+4|0,0|0,4,0);i=G;return}function Ah(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=a+20|0;g=da(h|0,4,0,0)|0|0;f=da(g+60|0,4,0,0)|0|0;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=Rd(g)|0;do if((f|0)!=100){e=da(h|0,4,0,0)|0|0;if(e){f=ld(e)|0;ea(h|0,0|0,4,0);e=da(a+24|0,4,0,0)|0|0;if(!f){f=k;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=1;e=th(e,41432,k)|0;break}else{ea(k|0,Re(e)|0|0,4,0);e=th(e,10344,k)|0;break}}else e=0}else{f=da(da(g+56|0,4,0,0)|0|0,4,0,0)|0|0;e=da(a+12|0,4,0,0)|0|0;g=da(f+(e<<2)+84|0,4,0,0)|0|0;if(g>>>0>=12){ea(a+8|0,da(f+((da(f+20|0,2,0,0)|0|0)+e<<2)+84|0,4,0,0)|0|0,4,0);ea(a+4|0,(g+-12|0)>>>1|0,4,0);f=da(f|0,4,0,0)|0|0;ea(a+16|0,f|0,4,0);f=f+72|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|16|0,1,0);f=0;e=0;break}f=da(a+24|0,4,0,0)|0|0;if(!g)e=20352;else e=(g|0)==7?20336:20320;ea(k|0,e|0,4,0);e=th(f,41400,k)|0;ld(da(h|0,4,0,0)|0|0)|0;ea(h|0,0|0,4,0);f=1}while(0);ea(d|0,e|0,4,0);i=l;return f|0}function Bh(a){a=a|0;var b=0;if(a){b=da(a|0,4,0,0)|0|0;lg(b,da(a+112|0,4,0,0)|0|0);Mk(b,da(a+316|0,4,0,0)|0|0)}return}function Ch(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=da(a+73>>0|0,1,0,0)|0|0;do if(!(f<<24>>24))e=4;else{if((f&255)>2?(e=Jn(a)|0,(e|0)!=0):0)break;e=Km(a,b,c,d,0)|0}while(0);return e|0}function Dh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;if(!a){ea(g|0,77646|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{h=da(a+24|0,4,0,0)|0|0;g=a+20|0;f=da(g|0,4,0,0)|0|0;do if((d|c|0)>=0?(m=iw(d|0,((d|0)<0)<<31>>31|0,c|0,((c|0)<0)<<31>>31|0)|0,o=C,l=da(a+4|0,4,0,0)|0|0,n=((l|0)<0)<<31>>31,!((o|0)>(n|0)|(o|0)==(n|0)&m>>>0>l>>>0)):0)if(f){d=oc[(fa(e|0,31|0)|0)&31](da(a+16|0,4,0,0)|0|0,(da(a+8|0,4,0,0)|0|0)+d|0,c,b)|0;if((d|0)==4){Mg(f)|0;ea(g|0,0|0,4,0);d=4;break}else{ea(f+80|0,d|0,4,0);break}}else d=4;else d=1;while(0);ea(h+52|0,d|0,4,0);f=da(h+236|0,4,0,0)|0|0;do if(f){g=f+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);break}else{ug(f);break}}while(0);d=Ng(h,d)|0}i=k;return d|0}function Eh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=a+73|0;e=da(f>>0|0,1,0,0)|0|0;if((e&255)>2){e=Jn(a)|0;if(!e){e=da(f>>0|0,1,0,0)|0|0;g=4}}else g=4;if((g|0)==4)if(e<<24>>24==1){Kn(da(a+4|0,4,0,0)|0|0,da(a+60|0,4,0,0)|0|0,a)|0;if(!((da(a+72>>0|0,1,0,0)|0)&1))e=8;else e=Km(a,b,c,d,1)|0}else e=4;return e|0}function Fh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v+4|0;u=v;ea(t|0,a|0,4,0);ea(u|0,b|0,4,0);o=da(c+1>>0|0,1,0,1)|0|0;p=da(c>>0|0,1,0,1)|0|0;s=da(c+3>>0|0,1,0,0)|0|0;r=(d|0)!=0;if(r)q=d;else q=da(c+2>>0|0,1,0,1)|0|0;l=s<<24>>24!=0;h=0;a:while(1){while(1){f=Ln(t)|0;if(!f){n=60;break a}if((f|0)==(p|0)){n=7;break a}if((f|0)!=(q|0))break;if(r){n=40;break}b=Ln(u)|0;if(!b){e=0;break a}g=Ln(t)|0;if((g|0)==94){g=Ln(t)|0;e=1}else e=0;if((g|0)==93){g=Ln(t)|0;k=(b|0)==93&1}else k=0;f=(g|0)==0;if((g|0)!=93&(f^1)){f=0;while(1){if(((g|0)==45?(m=da((da(t|0,4,0,0)|0)>>0|0,1,0,0)|0|0,m<<24>>24!=93):0)?m<<24>>24!=0&(f|0)!=0:0){g=b>>>0<f>>>0|b>>>0>(Ln(t)|0)>>>0;a=0;k=g?k:1}else{a=g;k=(b|0)==(g|0)?1:k}g=Ln(t)|0;f=(g|0)==0;if(!((g|0)!=93&(f^1))){g=f;break}else f=a}}else g=f;if(g|(k|0)==(e|0)){e=0;break a}}if((n|0)==40){n=0;f=Ln(t)|0;if(!f){e=0;break}h=da(t|0,4,0,0)|0|0}g=Ln(u)|0;if((f|0)==(g|0))continue;if(l&f>>>0<128&g>>>0<128?(da(9328+(f&255)>>0|0,1,0,0)|0|0)==(da(9328+(g&255)>>0|0,1,0,0)|0|0):0)continue;if((f|0)!=(o|0)){e=0;break}if(!((g|0)!=0?(da(t|0,4,0,0)|0|0)!=(h|0):0)){e=0;break}}b:do if((n|0)==7){b=Ln(t)|0;a=(b|0)==(o|0);if((b|0)==(p|0)|a)do{if(a?(Ln(u)|0)==0:0){e=0;break b}b=Ln(t)|0;a=(b|0)==(o|0)}while((b|0)==(p|0)|a);if(b){do if((b|0)==(q|0)){if(r){b=Ln(t)|0;if(!b){e=0;break b}else break}e=da(u|0,4,0,0)|0|0;c:do if(!(da(e>>0|0,1,0,0)|0))e=0;else{a=da(t|0,4,0,0)|0|0;while(1){if(Fh(a+-1|0,e,c,0)|0)break;b=e+1|0;ea(u|0,b|0,4,0);if((da(e>>0|0,1,0,1)|0|0)>191?((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128:0){while(1){e=e+2|0;if(((da(e>>0|0,1,0,0)|0)&-64)<<24>>24==-128){n=b;b=e;e=n}else break}ea(u|0,e|0,4,0)}else e=b;if(!(da(e>>0|0,1,0,0)|0)){e=0;break c}}e=(da(e>>0|0,1,0,0)|0|0)!=0}while(0);e=e&1;break b}while(0);if(b>>>0>=129){e=Ln(u)|0;if(!e){e=0;break}a=da(t|0,4,0,0)|0|0;while(1){if((e|0)==(b|0)?(Fh(a,da(u|0,4,0,0)|0|0,c,d)|0)!=0:0){e=1;break b}e=Ln(u)|0;if(!e){e=0;break b}}}if(!(s<<24>>24)){k=b;h=b}else{h=b&255;k=da(9328+h>>0|0,1,0,1)|0|0;h=((da(10368+h>>0|0,1,0,1)|0|-33)^32)&b}a=da(u|0,4,0,0)|0|0;e=a+1|0;ea(u|0,e|0,4,0);b=da(a>>0|0,1,0,0)|0|0;if(!(b<<24>>24))e=0;else{g=da(t|0,4,0,0)|0|0;f=b&255;while(1){if((f|0)==(k|0)|(f|0)==(h|0)?(Fh(g,e,c,d)|0)!=0:0){e=1;break b}b=a+2|0;ea(u|0,b|0,4,0);a=da(e>>0|0,1,0,0)|0|0;if(!(a<<24>>24)){e=0;break}else{n=e;f=a&255;e=b;a=n}}}}else e=1}else if((n|0)==60)e=(da((da(u|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==0&1;while(0);i=v;return e|0}function Gh(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){a=da(a+76|0,4,0,0)|0|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){ea(b|0,41352|0,4,0);ad(21,15256,b);a=0;break}else{ea(b|0,15248|0,4,0);ad(21,15256,b);a=0;break}}else{ea(b|0,20304|0,4,0);ad(21,15256,b);a=0}while(0);i=c;return a|0}function Hh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();g=l;h=l+8|0;ea(h|0,0|0,4,0);ea(e|0,0|0,4,0);if((Gh(a)|0)==0|(b|0)==0){ea(g|0,106003|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{a:do if((c|0)>-1)if((c|0)>0){g=0;do{if((da(b+g>>0|0,1,0,0)|0|0)==0?(da(b+(g|1)>>0|0,1,0,0)|0|0)==0:0)break a;g=g+2|0}while((g|0)<(c|0))}else g=0;else g=c;while(0);k=Qh(a,b,g)|0;if(k){d=hh(a,k,-1,d,0,e,h)|0;g=da(h|0,4,0,0)|0|0;if((g|0)!=0&(f|0)!=0){e=Mn(k,g-k|0)|0;if((e|0)>0){c=0;g=b;do{g=((da(g+1>>0|0,1,0,0)|0)&-8)<<24>>24==-40?g+4|0:g+2|0;c=c+1|0}while((c|0)!=(e|0))}else g=b;ea(f|0,b+(g-b)|0,4,0)}}else d=0;lg(a,k);d=Ng(a,d)|0}i=l;return d|0}function Ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();m=p;n=a+12|0;f=da(n|0,4,0,0)|0|0;l=(c|0)!=0;e=b<<((f|0)==0&l&1);o=a+20|0;h=a+8|0;g=da(h|0,4,0,0)|0|0;if((e+(da(o|0,4,0,0)|0|0)|0)>>>0>g>>>0){e=e+(g<<1)|0;ea(h|0,e|0,4,0);f=da(a|0,4,0,0)|0|0;if((Kc()|0)==0?(k=qg(f,e<<2,0)|0,(k|0)!=0):0){ea(a|0,k|0,4,0);f=da(n|0,4,0,0)|0|0;k=5}else k=21}else k=5;a:do if((k|0)==5){e=a+16|0;if(!f){ea(e|0,b|0,4,0);if((b|0)>0){e=0;do{ea(m|0,da(d+(e<<2)|0,4,0,0)|0|0,4,0);f=Zc(10344,m)|0;if(!f){k=21;break a}h=da(o|0,4,0,0)|0|0;ea(o|0,h+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(h<<2)|0,f|0,4,0);e=e+1|0}while((e|0)<(b|0))}}else if((da(e|0,4,0,0)|0|0)!=(b|0)){e=a+4|0;Vc(da(e|0,4,0,0)|0|0);ea(e|0,Zc(40912,m)|0|0,4,0);ea(a+24|0,1|0,4,0);e=1;break}if(l){if((b|0)>0){h=0;do{g=c+(h<<2)|0;e=da(g|0,4,0,0)|0|0;if(!e)e=0;else{f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-e&1073741823)+1|0;e=Sc(f)|0;if(!e){k=21;break a}jw(e|0,da(g|0,4,0,0)|0|0,f|0)|0}m=da(o|0,4,0,0)|0|0;ea(o|0,m+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(m<<2)|0,e|0,4,0);h=h+1|0}while((h|0)<(b|0))}ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);e=0}else e=0}while(0);if((k|0)==21){ea(a+24|0,7|0,4,0);e=1}i=p;return e|0}function Jh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!b)g=0;else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;g=f-b&1073741823}h=a+308|0;f=an(h,b,k)|0;if((f|0)!=0?(da(f+8|0,4,0,0)|0|0)!=0:0){ea(k|0,114188|0,4,0);ea(k+4|0,10788|0,4,0);ad(21,13648,k);f=21}else{f=lh(a,g+17|0,0)|0;if((f|0)!=0?(l=f+16|0,jw(l|0,b|0,g+1|0)|0,ea(f+4|0,l|0,4,0),ea(f|0,c|0,4,0),ea(f+8|0,d|0,4,0),ea(f+12|0,e|0,4,0),l=Hk(h,l,f)|0,(l|0)!=0):0){ea(a+65>>0|0,1|0,1,0);lg(a,l);f=0}else f=0}f=Ng(a,f)|0;if((f|0)!=0&(e|0)!=0)bc[(fa(e|0,31|0)|0)&31](d);i=m;return f|0}function Kh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();v=y;l=y+8|0;w=da(a|0,4,0,0)|0|0;h=da(w+92|0,4,0,0)|0|0;if(!(da(w+148|0,4,0,0)|0))ea(w+240|0,0|0,4,0);x=a+12|0;ea(x|0,0|0,4,0);n=a+480|0;ea(n|0,b|0,4,0);r=pg(1612,0)|0;if(r){ea(r|0,-1|0,4,0);o=w+250|0;p=da(o>>0|0,1,0,0)|0|0;if(da(w+276|0,4,0,0)|0)ea(o>>0|0,1|0,1,0);q=w+65|0;m=a+504|0;d=a+508|0;k=w+240|0;g=0;f=-1;a:while(1){while(1){if(da(q>>0|0,1,0,0)|0){t=19;break a}e=b+g|0;if(!(da(e>>0|0,1,0,0)|0)){t=19;break a}ea(m|0,e|0,4,0);e=Bn(e,l)|0;ea(d|0,e|0,4,0);g=e+g|0;if((g|0)>(h|0)){t=12;break a}e=da(l|0,4,0,0)|0|0;if((e|0)==150){t=16;break a}else if((e|0)==1){f=e;t=17;break}else if((e|0)!=151){f=e;break}if(da(k|0,4,0,0)|0){t=15;break a}}if((t|0)==17){t=0;ea(n|0,b+g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,f,v,a);f=da(l|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){t=19;break}}if((t|0)==12){ea(x|0,18|0,4,0);t=19}else if((t|0)==15){sh(a,20384,v);ea(x|0,9|0,4,0);t=19}else if((t|0)==16){lg(w,da(c|0,4,0,0)|0|0);ea(v|0,m|0,4,0);ea(c|0,th(w,20400,v)|0|0,4,0);d=1}if((t|0)==19){g=b+g|0;if((da(g>>0|0,1,0,0)|0|0)==0?(da(x|0,4,0,0)|0|0)==0:0){if((f|0)!=1){ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,1,v,a);ea(n|0,g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,0,v,a);d=0}else d=0}if((da(r|0,4,0,0)|0|0)>-1)do On(r);while((da(r|0,4,0,0)|0|0)>-1);Vc(r);ea(o>>0|0,p|0,1,0);if(!(da(q>>0|0,1,0,0)|0)){f=da(x|0,4,0,0)|0|0;if(!((f|0)==101|(f|0)==0)){s=f;t=29}}else{ea(x|0,7|0,4,0);s=7;t=29}if((t|0)==29?(u=a+4|0,(da(u|0,4,0,0)|0|0)==0):0){if((s|0)!=516){f=s&255;if(f>>>0>26|(f|0)==2)f=16328;else f=da(15488+(f<<2)|0,4,0,0)|0|0}else f=16344;ea(v|0,f|0,4,0);ch(u,w,10344,v)}f=a+4|0;e=da(f|0,4,0,0)|0|0;if(e){ea(c|0,e|0,4,0);c=da(x|0,4,0,0)|0|0;ea(v|0,e|0,4,0);ad(c,10344,v);ea(f|0,0|0,4,0);d=d+1|0}f=a+8|0;e=da(f|0,4,0,0)|0|0;if(((e|0)!=0?(da(a+64|0,4,0,0)|0|0)>0:0)?(da(a+18>>0|0,1,0,0)|0|0)==0:0){Ol(e);ea(f|0,0|0,4,0)}if(!(da(a+18>>0|0,1,0,0)|0)){c=a+400|0;lg(w,da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(a+396|0,0|0,4,0)}Vc(da(a+520|0,4,0,0)|0|0);if(!(da(a+451>>0|0,1,0,0)|0))jg(w,da(a+484|0,4,0,0)|0|0);if(da(a+449>>0|0,1,0,0)|0)Pn(w,da(a+532|0,4,0,0)|0|0);ig(w,da(a+488|0,4,0,0)|0|0);f=da(a+444|0,4,0,0)|0|0;g=a+472|0;e=da(g|0,4,0,0)|0|0;if((f|0)>0)do{f=f+-1|0;lg(w,da(e+(f<<2)|0,4,0,0)|0|0);e=da(g|0,4,0,0)|0|0}while((f|0)>0);lg(w,e);f=a+404|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e|0,4,0,0)|0|0,4,0);lg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);f=a+524|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e+72|0,4,0,0)|0|0,4,0);jg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);if((d|0)>0?(da(x|0,4,0,0)|0|0)==0:0)ea(x|0,1|0,4,0)}else{ea(w+65>>0|0,1|0,1,0);d=7}i=y;return d|0}function Lh(a){a=a|0;if(a){if(!(((da(a+8|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);lg(da(a+32|0,4,0,0)|0|0,a)}return}function Mh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(da(a+252|0,4,0,0)|0)){k=a+251|0;if(da(k>>0|0,1,0,0)|0)Vc(da(a+276|0,4,0,0)|0|0);g=c&-8;e=(g|0)<5?0:g;f=(d|0)<0?0:d;if(!((e|0)==0|(f|0)==0))if(!b){c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=_(e,f)|0;c=pg(c,((c|0)<0)<<31>>31)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(!c)c=0;else f=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)/(g|0)|0}else c=b;else{e=0;c=0}d=a+276|0;ea(d|0,c|0,4,0);j=a+272|0;ea(j|0,0|0,4,0);ea(a+248|0,e|0,2,0);if(!c){ea(d|0,a|0,4,0);ea(a+280|0,a|0,4,0);ea(a+250>>0|0,0|0,1,0);c=0}else{if((f|0)>0){d=_(e,f)|0;i=c+(_(e,f+-1|0)|0)|0;h=0;g=c;while(1){f=f+-1|0;ea(g|0,h|0,4,0);if((f|0)<=0)break;else{h=g;g=g+e|0}}ea(j|0,i|0,4,0);c=c+d|0}ea(a+280|0,c|0,4,0);ea(a+250>>0|0,1|0,1,0);c=(b|0)==0&1}ea(k>>0|0,c|0,1,0);c=0}else c=5;return c|0}function Nh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;do if(!a)c=0;else{h=a+76|0;l=da(h|0,4,0,0)|0|0;if(!((l|0)==1266094736|(l|0)==-1607883113|(l|0)==-264537850)){ea(n|0,15248|0,4,0);ad(21,15256,n);ea(n|0,128509|0,4,0);ea(n+4|0,10788|0,4,0);ad(21,13648,n);c=21;break}k=a+20|0;c=da(k|0,4,0,0)|0|0;a:do if((c|0)>0){l=a+16|0;d=da(l|0,4,0,0)|0|0;f=0;do{e=da(d+(f<<4)+4|0,4,0,0)|0|0;if(e)ea((da(e+4|0,4,0,0)|0|0)+4|0,da(e|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(c|0));g=0;while(1){c=da(d+(g<<4)+12|0,4,0,0)|0|0;if((c|0)!=0?(m=da(c+16|0,4,0,0)|0|0,(m|0)!=0):0){c=m;do{d=da(c+8|0,4,0,0)|0|0;b:do if((da(d+44>>0|0,1,0,0)|0)&16){e=d+60|0;while(1){d=da(e|0,4,0,0)|0|0;if(!d)break b;f=d+24|0;if((da(d|0,4,0,0)|0|0)==(a|0))break;else e=f}ea(e|0,da(f|0,4,0,0)|0|0,4,0);zn(d)}while(0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0)}c=g+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break a;d=da(l|0,4,0,0)|0|0;g=c}}while(0);ql(a);Qn(a,68);if((b|0)==0?(Il(a)|0)!=0:0){tg(a,5,16368,n);c=5;break}ea(h|0,1691352191|0,4,0);Lg(a);c=0}while(0);i=o;return c|0}function Oh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(da(a+492|0,4,0,0)|0|0))b=0;else{b=da(a|0,4,0,0)|0|0;qc[(fa(da(b+60|0,4,0,0)|0|0,127|0)|0)&127](b,1e6)|0;b=1}return b|0}function Ph(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;do if(b){n=(f|0)!=0;l=(h|0)!=0;if(n)if(l|(g|0)!=0){r=8;break}else{l=0;m=0}else{m=(g|0)!=0;if(!(m|l^1)){r=8;break}}if(!(m&((n|l)^1)|(c|0)<-1|(c|0)>127)){l=b;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;o=l-b&1073741823;if(o>>>0<=255){p=d&2048;l=d&7;if((l|0)!=4){if((l|0)==5){l=Ph(a,b,c,p|1,e,f,g,h,k)|0;if(l)break;l=Ph(a,b,c,p|2,e,f,g,h,k)|0;if(!l)l=3;else break}}else l=2;n=l&255;m=Rh(a,b,o,c,n,0)|0;if(((m|0)!=0?((da(m+2|0,2,0,1)|0)&3|0)==(l|0):0)?(da(m|0,2,0,0)|0|0)==(c|0):0){if(da(a+148|0,4,0,0)|0){tg(a,5,15424,q);l=5;break}l=da(a+4|0,4,0,0)|0|0;if(l)do{q=l+88|0;ea(q|0,da(q|0,2,0,0)|0|8|0,2,0);l=da(l+52|0,4,0,0)|0|0}while((l|0)!=0)}l=Rh(a,b,o,c,n,1)|0;if(!l)l=7;else{Ml(a,l);if(k)ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);ea(l+32|0,k|0,4,0);a=l+2|0;ea(a|0,(da(a|0,2,0,1)|0)&3|p|0,2,0);ea(l+12|0,f|0,4,0);ea(l+16|0,g|0,4,0);ea(l+20|0,h|0,4,0);ea(l+4|0,e|0,4,0);ea(l|0,c|0,2,0);l=0}}else r=8}else r=8}else r=8;while(0);if((r|0)==8){ea(q|0,129075|0,4,0);ea(q+4|0,10788|0,4,0);ad(21,13648,q);l=21}i=s;return l|0}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+48|0;if((i|0)>=(j|0))ba();f=g;d=f+0|0;e=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(e|0));ea(f+32|0,a|0,4,0);Wg(f,b,c,2,0)|0;c=f+8|0;b=da(c|0,4,0,0)|0|0;if(!((b&2|0)==0|(b&16711680|0)==65536))An(f,1)|0;if(!(da(a+65>>0|0,1,0,0)|0))c=da(f+16|0,4,0,0)|0|0;else{if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(f+24|0,4,0,0)|0|0)==0:0))Pg(f);ea(f+16|0,0|0,4,0);c=0}i=g;return c|0}function Rh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=((da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c|0)%23|0;k=a+336|0;h=Qk(k,j,b,c)|0;if(!h){i=0;g=0}else{i=0;g=0;do{m=Rn(h,d,e)|0;l=(m|0)>(i|0);i=l?m:i;g=l?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0)}do if(!(f<<24>>24)){if((g|0)!=0?((da(a+24|0,4,0,0)|0)&2097152|0)==0:0){h=0;j=12;break}h=Qk(10840,j,b,c)|0;if(!h){i=0;j=8}else{i=0;do{l=Rn(h,d,e)|0;j=(l|0)>(i|0);i=j?l:i;g=j?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0);j=8}}else j=8;while(0);do if((j|0)==8){h=f<<24>>24!=0;if(h&(i|0)<6){h=c+37|0;g=lh(a,h,0)|0;if(!g){j=14;break}ew(g|0,0,h|0)|0;h=g+36|0;ea(g+24|0,h|0,4,0);ea(g|0,d|0,2,0);ea(g+2|0,e&255|0,2,0);jw(h|0,b|0,c|0)|0;ea(g+(c+36)>>0|0,0|0,1,0);mg(k,g);h=1}if(!g)j=14;else j=12}while(0);if((j|0)==12)if((da(g+16|0,4,0,0)|0|0)==0?!((da(g+12|0,4,0,0)|0|0)!=0|h):0)j=14;if((j|0)==14)g=0;return g|0}function Sh(a,b,c){a=a|0;b=b|0;c=c|0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();c=b;ea(c|0,da((da(a+4|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,4,0);c=Zc(15304,c)|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,c,-1,1,-1)|0;Vc(c);i=b;return}function Th(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=(d|0)){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();Jf(b,c,0,0,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]()}return 0}function Uh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;e=c-b&1073741823;d=da(a+20|0,4,0,0)|0|0;c=d+-1|0;if((d|0)>0){f=c;d=(da(a+16|0,4,0,0)|0|0)+(c<<4)|0;while(1){a=da(d|0,4,0,0)|0|0;if(!a)c=0;else{c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-a&1073741823}if((e|0)==(c|0)?(cd(a,b)|0)==0:0){c=f;break a}c=f+-1|0;if((f|0)>0){f=c;d=d+-16|0}else break}}}else c=-1;while(0);return c|0}function Vh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=a+20|0;f=da(n|0,4,0,0)|0|0;if((f|0)>0){o=(b|0)==10;l=a+16|0;m=(c|0)==0;j=d;a=f;d=0;k=0;while(1){if((k|0)==(b|0)|o){g=da((da(l|0,4,0,0)|0|0)+(k<<4)+4|0,4,0,0)|0|0;if(g){f=da(g+4|0,4,0,0)|0|0;ea(f+4|0,da(g|0,4,0,0)|0|0,4,0);if(!(da(f+20>>0|0,1,0,0)|0)){g=da(f|0,4,0,0)|0|0;h=da(g+208|0,4,0,0)|0|0;if(!h)h=0;else{if(m)f=0;else f=da(g+176|0,4,0,0)|0|0;h=Sn(h,c,f,da(g+180|0,4,0,0)|0|0,da(g+9>>0|0,1,0,1)|0|0,da(g+152|0,4,0,0)|0|0,da(g+200|0,4,0,0)|0|0,j,e)|0;a=da(n|0,4,0,0)|0|0}}else h=6}else h=0;e=(h|0)==5;i=0;g=0;f=a;d=e?1:d;e=e?0:h}else{i=e;g=j;f=a;e=0}k=k+1|0;a=(e|0)==0;if(!((k|0)<(f|0)&a))break;else{j=g;e=i;a=f}}}else{a=1;d=0;e=0}return (a&(d|0)!=0?5:e)|0}function Wh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;if((i|0)>=(j|0))ba();p=t;q=t+20|0;l=t+16|0;k=t+12|0;h=t+8|0;ea(l|0,c|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);ea(b|0,0|0,4,0);e=Kc()|0;do if(!e){if(!(1<<(c&7)&70)){ea(p|0,130207|0,4,0);ea(p+4|0,10788|0,4,0);ad(21,13648,p);e=21;break}if((da(2187*4|0,4,0,0)|0|0)!=0&(c&32768|0)==0)g=(c&65536|0)==0?da(2188*4|0,4,0,0)|0|0:1;else g=0;if(!(c&262144)){if(da(2241*4|0,4,0,0)|0){c=c|131072;ea(l|0,c|0,4,0)}}else{c=c&-131073;ea(l|0,c|0,4,0)}c=c&-655129;ea(l|0,c|0,4,0);s=pg(528,0)|0;a:do if(s){ew(s|0,0,528)|0;if(g)ea(s+12|0,8|0,4,0);ea(s+56|0,255|0,4,0);ea(s+20|0,2|0,4,0);m=s+76|0;ea(m|0,-264537850|0,4,0);n=s+16|0;ea(n|0,s+456|0,4,0);f=s+88|0;g=11088;e=f+44|0;do{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=f+4|0;g=g+4|0}while((f|0)<(e|0));ea(s+132|0,0|0,4,0);ea(s+63>>0|0,1|0,1,0);ea(s+67>>0|0,-1|0,1,0);f=8920;g=da(f+4|0,4,0,0)|0|0;o=s+40|0;ea(o|0,da(f|0,4,0,0)|0|0,4,0);ea(o+4|0,g|0,4,0);ea(s+72|0,0|0,4,0);ea(s+136|0,2147483647|0,4,0);ea(s+24|0,9437264|0,4,0);g=s+428|0;ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);o=s+308|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);Xh(s,11152,1,0,21,0)|0;Xh(s,11152,3,0,21,0)|0;Xh(s,11152,2,0,21,0)|0;Xh(s,13752,1,0,22,0)|0;Xh(s,13760,1,1,21,0)|0;o=s+65|0;if(!(da(o>>0|0,1,0,0)|0)){g=an(g,11152,p)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;ea(s+8|0,g|0,4,0);ea(s+48|0,c|0,4,0);g=Vn(d,a,l,s,k,h)|0;if(!g){a=da(k|0,4,0,0)|0|0;e=ym(da(s|0,4,0,0)|0|0,a,s,(da(n|0,4,0,0)|0|0)+4|0,0,da(l|0,4,0,0)|0|256)|0;if((e|0)==3082)e=7;else if(!e){c=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea((da(c+4|0,4,0,0)|0|0)+4|0,da(c|0,4,0,0)|0|0,4,0);c=Wn(s,c)|0;ea((da(n|0,4,0,0)|0|0)+12|0,c|0,4,0);if(!(da(o>>0|0,1,0,0)|0))ea(s+62>>0|0,da(c+77>>0|0,1,0,0)|0|0|0,1,0);c=pg(84,0)|0;if(!c){ea(o>>0|0,1|0,1,0);c=0}else{f=c+0|0;e=f+84|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));g=c+77|0;f=c+8|0;e=f+64|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(e|0));ea(g>>0|0,1|0,1,0)}l=da(n|0,4,0,0)|0|0;ea(l+28|0,c|0,4,0);ea(l|0,13768|0,4,0);ea(l+8>>0|0,3|0,1,0);ea(l+16|0,10728|0,4,0);ea(l+24>>0|0,1|0,1,0);ea(m|0,-1607883113|0,4,0);if(da(o>>0|0,1,0,0)|0){e=s;break}f=s+52|0;ea(f|0,0|0,4,0);g=s+236|0;c=da(g|0,4,0,0)|0|0;do if(c){e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(c);break}}while(0);if((Bf(s,14632,2)|0)==7)ea(o>>0|0,1|0,1,0);c=Mf(s)|0;do if(!c){c=da(2656*4|0,4,0,0)|0|0;if(c){b:do if((c|0)>0){f=0;while(1){c=da((da(2658*4|0,4,0,0)|0|0)+(f<<2)|0,4,0,0)|0|0;ea(q|0,0|0,4,0);if(c){e=$b[(fa(c|0,63|0)|0)&63](s,q,13776)|0;c=da(q|0,4,0,0)|0|0;if(e)break}else c=0;Vc(c);f=f+1|0;if((f|0)>=(da(2656*4|0,4,0,0)|0|0)){r=40;break b}}ea(p|0,c|0,4,0);tg(s,e,14592,p);e=da(q|0,4,0,0)|0|0}else r=40;while(0);if((r|0)==40){ea(q|0,0|0,4,0);e=0}Vc(e)}if(Mf(s)|0){e=s;break a}}else{ea(f|0,c|0,4,0);e=da(g|0,4,0,0)|0|0;if(e){c=e+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(e);break}}}while(0);Mh(s,0,da(2193*4|0,4,0,0)|0|0,da(2194*4|0,4,0,0)|0|0)|0;ea(s+216|0,21|0,4,0);ea(s+220|0,1e3|0,4,0);e=s;break}ea(s+52|0,e|0,4,0);c=da(s+236|0,4,0,0)|0|0;if(!c){e=s;break}e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);e=s;break}else{ug(c);e=s;break}}else if((g|0)==7)ea(o>>0|0,1|0,1,0);a=da(h|0,4,0,0)|0|0;ea(p|0,a|0,4,0);tg(s,g,(a|0)!=0?10344:0,p);Vc(a);a=da(k|0,4,0,0)|0|0;e=s}else{a=0;e=s}}else{a=0;e=0}while(0);Vc(a);c=Mf(e)|0;if((c|0)==7){Nh(e,0)|0;e=0}else if(c)ea(s+76|0,1266094736|0,4,0);ea(b|0,e|0,4,0);e=c&255}while(0);i=t;return e|0}function Xh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();g=o;n=c&255;if(!(c<<24>>24==4|c<<24>>24==8))if((n+-1|0)>>>0>2){ea(g|0,129758|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);g=21}else{m=n;h=4}else{m=2;h=4}do if((h|0)==4){l=m&255;h=Xn(a,l,b,0)|0;if((h|0)!=0?(da(h+12|0,4,0,0)|0|0)!=0:0){if(da(a+148|0,4,0,0)|0){tg(a,5,13680,g);g=5;break}c=da(a+4|0,4,0,0)|0|0;if(c)do{k=c+88|0;ea(k|0,da(k|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);k=h+4|0;if(((da(k>>0|0,1,0,1)|0)&247|0)==(m|0)){c=an(a+428|0,b,g)|0;if(!c)h=0;else h=da(c+8|0,4,0,0)|0|0;g=0;do{if((da(h+(g*20|0)+4>>0|0,1,0,0)|0|0)==(da(k>>0|0,1,0,0)|0|0)){c=da(h+(g*20|0)+16|0,4,0,0)|0|0;if(c)bc[(fa(c|0,31|0)|0)&31](da(h+(g*20|0)+8|0,4,0,0)|0|0);ea(h+(g*20|0)+12|0,0|0,4,0)}g=g+1|0}while((g|0)!=3)}}c=Xn(a,l,b,1)|0;if(c){ea(c+12|0,e|0,4,0);ea(c+8|0,d|0,4,0);ea(c+16|0,f|0,4,0);ea(c+4>>0|0,m|n&8|0,1,0);ea(a+52|0,0|0,4,0);g=da(a+236|0,4,0,0)|0|0;if(g){c=g+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);g=0;break}else{ug(g);g=0;break}}else g=0}else g=7}while(0);i=o;return g|0}function Yh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+24|0;j=(da(i|0,4,0,0)|0)&2;k=a+145|0;ea(k>>0|0,1|0,1,0);h=a+16|0;f=da(h|0,4,0,0)|0|0;ea(a+62>>0|0,da((da(f+12|0,4,0,0)|0|0)+77>>0|0,1,0,0)|0|0|0,1,0);e=a+20|0;d=0;while(1){if((d|0)>=(da(e|0,4,0,0)|0|0)){d=f;f=6;break}if(!((d|0)==1?1:((da((da(f+(d<<4)+12|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)!=0)?(c=Yn(a,d,b)|0,(c|0)!=0):0){f=9;break}f=da(h|0,4,0,0)|0|0;d=d+1|0}if((f|0)==6)if(((da((da(d+28|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)==0?(g=Yn(a,1,b)|0,(g|0)!=0):0){pl(da((da(h|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);c=g}else c=0;else if((f|0)==9)um(a,d);ea(k>>0|0,0|0,1,0);if(!(c|j))ea(i|0,(da(i|0,4,0,0)|0)&-3|0,4,0);return c|0}function Zh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=a+20|0;a:do if((da(h|0,4,0,0)|0|0)>0){k=(c|0)==0;f=a+16|0;g=0;a=0;do{e=(g|0)<2^g;d=da(f|0,4,0,0)|0|0;if(!(!k?(cd(c,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an((da(d+(e<<4)+12|0,4,0,0)|0|0)+8|0,b,l)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}g=g+1|0}while((g|0)<(da(h|0,4,0,0)|0|0))}else a=0;while(0);i=m;return a|0}function _h(a){a=a|0;if((cd(a,12936)|0)!=0?(cd(a,12944)|0)!=0:0)a=(cd(a,12952)|0)==0&1;else a=1;return a|0}function $h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=da(a+20|0,4,0,0)|0|0;a:do if((f|0)>0){c=da(a+16|0,4,0,0)|0|0;d=(b|0)==0;e=0;while(1){a=da(c+(e<<4)+4|0,4,0,0)|0|0;if(a){if(d)break a;if(!(cd(b,da(c+(e<<4)|0,4,0,0)|0|0)|0))break a}e=e+1|0;if((e|0)>=(f|0)){a=0;break}}}else a=0;while(0);return a|0}function ai(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:do if(!a)b=0;else{b=b+-1|0;b:do if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b;while(1){b=d+8|0;e=da(b|0,4,0,0)|0|0;if(!e){g=a;break}b=(c>>>0)%(e>>>0)|0;c=d+12+(((c>>>0)/(e>>>0)|0)<<2)|0;a=da(c|0,4,0,0)|0|0;if(!a){a=pg(512,0)|0;if(!a){b=a;i=21;break}ew(a|0,0,512)|0;ea(a|0,e|0,4,0);ea(c|0,a|0,4,0)}if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b}else break b}if((i|0)==21){ea(c|0,b|0,4,0);b=7;break a}h=c+1|0;c=(c>>>0)%125|0;f=d+12|0;a=da(d+(c<<2)+12|0,4,0,0)|0|0;if(!a){a=da(d+4|0,4,0,0)|0|0;if(a>>>0<124){b=d;i=20}}else{do{if((a|0)==(h|0)){b=0;break a}c=c+1|0;c=c>>>0>124?0:c;a=da(d+(c<<2)+12|0,4,0,0)|0|0}while((a|0)!=0);a=da(d+4|0,4,0,0)|0|0;if(a>>>0<=61){b=d;i=20}}if((i|0)==20){ea(d+4|0,a+1|0,4,0);ea(b+(c<<2)+12|0,h|0,4,0);b=0;break a}e=pg(500,0)|0;if(!e){b=7;break a}jw(e|0,f|0,500)|0;ew(f|0,0,500)|0;ea(b|0,(((da(g|0,4,0,0)|0|0)+124|0)>>>0)/125|0|0,4,0);a=0;b=ai(d,h)|0;do{c=da(e+(a<<2)|0,4,0,0)|0|0;if(c)b=ai(d,c)|0|b;a=a+1|0}while((a|0)!=125);Vc(e);break a}while(0);a=a+12+(b>>>3)|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|0|1<<(b&7)|0,1,0);b=0}while(0);return b|0}function bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a){d=b+-1|0;while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((d>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a)break a;else d=(d>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){a=a+12+(d>>>3)|0;ea(a>>0|0,(da(a>>0|0,1,0,1)|0|0)&(1<<(d&7)^255)|0,1,0);break}h=a+12|0;jw(c|0,h|0,500)|0;ew(h|0,0,500)|0;h=a+4|0;ea(h|0,0|0,4,0);e=d+1|0;g=0;do{f=c+(g<<2)|0;b=da(f|0,4,0,0)|0|0;if(!((b|0)==0|(b|0)==(e|0))){d=((b+-1|0)>>>0)%125|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);b=a+(d<<2)+12|0;if(da(b|0,4,0,0)|0)do{b=d+1|0;d=b>>>0>124?0:b;b=a+(d<<2)+12|0}while((da(b|0,4,0,0)|0|0)!=0);ea(b|0,da(f|0,4,0,0)|0|0,4,0)}g=g+1|0}while((g|0)!=125)}while(0);return}function ci(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(c=b+-1|0,c>>>0<(da(a|0,4,0,0)|0|0)>>>0):0){while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((c>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a){c=0;break a}else c=(c>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){c=((da(a+12+(c>>>3)>>0|0,1,0,1)|0|0)&1<<(c&7)|0)!=0&1;break}d=c+1|0;c=(c>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(b)while(1){if((b|0)==(d|0)){c=1;break a}c=((c+1|0)>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(!b){c=0;break}}else c=0}else c=0;while(0);return c|0}function di(a){a=a|0;var b=0,c=0;if(a){if(da(a+8|0,4,0,0)|0){b=a+12|0;c=0;do{di(da(b+(c<<2)|0,4,0,0)|0|0);c=c+1|0}while((c|0)!=125)}Vc(a)}return}function ei(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>=2?(c=da(11824+(((da(9328+(da(a>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)<<2^b^(da(9328+(da(a+(b+-1)>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)*3|0)%127|0)>>0|0,1,0,0)|0|0,c<<24>>24!=0):0){c=c&255;while(1){c=c+-1|0;if((da(12080+c>>0|0,1,0,1)|0|0|0)==(b|0)?(Ec(11264+(da(12208+(c<<1)|0,2,0,1)|0|0)|0,a,b)|0)==0:0)break;c=da(11952+c>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=da(12456+c>>0|0,1,0,1)|0|0}else c=27;while(0);return c|0}function fi(a){a=a|0;var b=0,c=0,d=0;ea(2174*4|0,a|0,4,0);if((da(2184*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2184*4|0,a|0,4,0);c=da(2264*4|0,4,0,0)|0|0;if((c|0)==0|(da(2235*4|0,4,0,0)|0|0)<(a|0)){b=pg(a,((a|0)<0)<<31>>31)|0;if((da(2186*4|0,4,0,0)|0|0)!=0&(b|0)!=0?(d=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0,d=(da(2170*4|0,4,0,0)|0|0)+d|0,ea(2170*4|0,d|0,4,0),d>>>0>(da(2180*4|0,4,0,0)|0|0)>>>0):0)ea(2180*4|0,d|0,4,0)}else{b=da(2263*4|0,4,0,0)|0|0;ea(2263*4|0,da(b|0,4,0,0)|0|0,4,0);ea(2264*4|0,c+-1|0,4,0);a=(da(2169*4|0,4,0,0)|0|0)+1|0;ea(2169*4|0,a|0,4,0);if(a>>>0>(da(2179*4|0,4,0,0)|0|0)>>>0)ea(2179*4|0,a|0,4,0)}return b|0}function gi(a){a=a|0;var b=0;do if(a){if((da(2234*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(2262*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(a|0,da(2263*4|0,4,0,0)|0|0,4,0);ea(2263*4|0,a|0,4,0);ea(2264*4|0,(da(2264*4|0,4,0,0)|0|0)+1|0,4,0);ea(2169*4|0,(da(2169*4|0,4,0,0)|0|0)+-1|0,4,0);break}if(!(da(2186*4|0,4,0,0)|0)){bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2170*4|0,(da(2170*4|0,4,0,0)|0|0)-b|0,4,0);ea(2166*4|0,(da(2166*4|0,4,0,0)|0|0)-b|0,4,0);ea(2175*4|0,(da(2175*4|0,4,0,0)|0|0)+-1|0,4,0);bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}}while(0);return}function hi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;d=da(a>>0|0,1,0,0)|0|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=da(e>>0|0,1,0,0)|0|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((da(11248+e>>0|0,1,0,1)|0|0|0)==(f|0)?(Ec(11216+(da(11240+e>>0|0,1,0,1)|0|0)|0,a,f)|0)==0:0){c=e;break}e=e+1|0;if((e|0)>=(d|0))break a}c=da(11256+c>>0|0,1,0,0)|0|0}}else{ea(e|0,0|0,4,0);Cn(a,e)|0;c=(da(e|0,4,0,0)|0)&255}while(0);i=g;return c|0}function ii(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=da(a>>0|0,1,0,0)|0|0;do if(c<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(!(d<<24>>24==88|d<<24>>24==120))if(!a){c=0;i=15;break}else{e=c;c=a;i=12;break}c=da(a+2>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){e=48;c=a;i=12}else{e=2;while(1){d=e+1|0;if(c<<24>>24!=48)break;c=da(a+d>>0|0,1,0,0)|0|0;e=d}if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){f=a+e|0;g=0;c=0;d=e}else{g=0;f=0;d=e;while(1){g=hw(g|0,f|0,4)|0;h=C;f=c<<24>>24;g=(0-(f>>>6&1)&9)+f&15|g;d=d+1|0;f=a+d|0;c=da(f>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){c=h;break}else f=h}}h=b;ea(h|0,g|0,4,0);ea(h+4|0,c|0,4,0);if(!(da(f>>0|0,1,0,0)|0))c=(d-e|0)<17;else c=0;c=c&1^1}}else{e=c;c=a;i=12}while(0);if((i|0)==12){while(1){d=c+1|0;if(!(e<<24>>24))break;e=da(d>>0|0,1,0,0)|0|0;c=d;i=12}c=c-a&1073741823;i=15}if((i|0)==15)c=Tl(a,b,c,1)|0;return c|0}function ji(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+1264|0;if((i|0)>=(j|0))ba();x=z;w=z+152|0;q=z+742|0;r=z+76|0;n=z+228|0;k=d&-256;o=d&16;v=d&8;p=d&4;h=d&1;s=d&2;if((p|0)!=0?(k|0)==524288|(k|0)==2048|(k|0)==16384:0)u=1;else u=0;t=da(12114*4|0,4,0,0)|0|0;if((t|0)!=(qb()|0)?(ea(12114*4|0,qb()|0|0,4,0),(Kc()|0)==0):0)ea(9064|0,0|0,1,0);l=c+0|0;m=l+44|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));t=(k|0)==256;do if(t){a:do if((qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,x)|0)==0?(f=da(12178*4|0,4,0,0)|0|0,(f|0)!=0):0){k=da(x|0,4,0,0)|0|0;l=da(x+72|0,4,0,0)|0|0;while(1){if((da(f|0,4,0,0)|0|0)==(k|0)?(da(f+4|0,4,0,0)|0|0)==(l|0):0)break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=18;break a}}k=f+28|0;f=da(k|0,4,0,0)|0|0;if(f){while(1){m=k;k=f+8|0;l=f;f=da(k|0,4,0,0)|0|0;if((da(l+4|0,4,0,0)|0|0)==(d|0)){k=m;break}if(!f){y=18;break a}}ea(k|0,f|0,4,0);n=da(l|0,4,0,0)|0|0;f=l}else y=18}else y=18;while(0);if((y|0)==18){f=Sc(12)|0;if(!f){f=7;break}else n=-1}ea(c+28|0,f|0,4,0);k=p<<4|s;f=(o|0)!=0;if((n|0)<0){p=f;o=f?k|131200:k;f=b;y=23}else{m=n;f=b;y=36}}else{if(!b){f=Zn(514,n)|0;if(!f)f=n;else break}else f=b;y=p<<4|s;o=(o|0)!=0;p=o;o=o?y|131200:y;y=23}while(0);b:do if((y|0)==23){if(!(d&526336)){k=(v|0)==0?0:384;n=0;m=0}else{if(!f)k=0;else{k=f;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;k=k-f&1073741823}do k=k+-1|0;while((da(f+k>>0|0,1,0,0)|0|0)!=45);jw(q|0,f|0,k|0)|0;ea(q+k>>0|0,0|0,1,0);if(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](q,r)|0){f=1802;break}k=(da(r+12|0,4,0,0)|0)&511;n=da(r+20|0,4,0,0)|0|0;m=da(r+24|0,4,0,0)|0|0}l=_n(f,o,k)|0;do if((l|0)<0){if(!(p|((s|0)==0|(da(Gb()|0|0,4,0,0)|0|0)==21))?(g=_n(f,o&131200,k)|0,(g|0)>=0):0){d=d&-8|1;h=1;break}ea(x|0,31186|0,4,0);ea(x+4|0,10788|0,4,0);ad(14,14848,x);f=bo(14,47896,f,31186)|0;if(!f){f=0;break b}g=c+28|0;y=70;break b}else g=l;while(0);if(!(d&526336)){m=g;y=36}else{$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](g,n,m)|0;m=g;y=36}}while(0);c:do if((y|0)==36){if(e)ea(e|0,d|0,4,0);n=c+28|0;g=da(n|0,4,0,0)|0|0;if(g){ea(g|0,m|0,4,0);ea(g+4|0,d|0,4,0)}if(v)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](f)|0;f=v<<2;f=(h|0)==0?f:f|2;f=t?f:f|128;f=u?f|8:f;v=f|d&64;ea(c+12|0,m|0,4,0);ea(c+4|0,a|0,4,0);ea(c+32|0,b|0,4,0);g=c+18|0;ea(g|0,v&255|0,2,0);if(eg((v&64|0)!=0?b:0,48496,1)|0)ea(g|0,da(g|0,2,0,1)|0|16|0,2,0);if(!(Zv(da(a+16|0,4,0,0)|0|0,1e4)|0))ea(g|0,da(g|0,2,0,1)|0|1|0,2,0);d:do if(!(f&128)){f=qc[(fa(da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0,127|0)|0)&127](b,c)|0;if((f|0)!=48504){if((f|0)!=47472){y=64;break}g=(fw(b|0)|0)+6|0;f=Sc(g)|0;if(f){ea(x|0,b|0,4,0);$c(g,f,48584,x)|0;ea(c+24|0,f|0,4,0);ea(c+20|0,0|0,4,0);f=47472;break}ea(c+24|0,0|0,4,0);ea(c+20|0,0|0,4,0);if((m|0)<=-1){g=n;f=7;y=70;break c}$n(c,m,30794);g=n;f=7;y=70;break c}do if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(c+12|0,4,0,0)|0|0,w)|0)){f=x;ea(f|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(x|0,da(w|0,4,0,0)|0|0,4,0);ea(x+4|0,da(w+72|0,4,0,0)|0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;e:do if(!f)y=53;else{while(1){if(!(Yv(x,f,8)|0))break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=53;break e}}x=f+16|0;ea(x|0,(da(x|0,4,0,0)|0|0)+1|0,4,0)}while(0);if((y|0)==53){g=Sc(40)|0;if(!g){f=7;g=c+20|0;break}l=g+0|0;m=l+40|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));f=da(x+4|0,4,0,0)|0|0;y=g;ea(y|0,da(x|0,4,0,0)|0|0,4,0);ea(y+4|0,f|0,4,0);ea(g+16|0,1|0,4,0);ea(g+32|0,da(12178*4|0,4,0,0)|0|0,4,0);ea(g+36|0,0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;if(f)ea(f+36|0,g|0,4,0);ea(12178*4|0,g|0,4,0);f=g}ea(c+8|0,f|0,4,0);f=48504;y=64;break d}else{f=da(Gb()|0|0,4,0,0)|0|0;g=c+20|0;ea(g|0,f|0,4,0);f=(f|0)==75?22:10}while(0);$n(c,m,30709);ea(g|0,0|0,4,0);g=n;y=70;break c}else{f=48376;y=64}while(0);if((y|0)==64)ea(c+20|0,0|0,4,0);ea(c|0,f|0,4,0);ao(c);f=0}while(0);if((y|0)==70)Vc(da(g|0,4,0,0)|0|0);i=z;return f|0}function ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](b)|0)==-1)if((da(Gb()|0|0,4,0,0)|0|0)==2)a=5898;else a=bo(2570,48032,b,31314)|0;else if(c&1){a=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](b,d)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Fb(da(d|0,4,0,0)|0|0)|0))a=0;else a=bo(1290,48488,b,31329)|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)bo(4106,47856,0,31331)|0}else a=0;while(0);i=e;return a|0}function li(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;if((i|0)>=(j|0))ba();e=f;if((c|0)==2)a=4;else if((c|0)==1)a=6;else a=0;a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](b,a)|0)==0;ea(d|0,a&1|0,4,0);if((!((c|0)!=0|a^1)?(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,e)|0)==0:0)?(da(e+36|0,4,0,0)|0|0)==0:0)ea(d|0,0|0,4,0);i=f;return 0}function mi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a=c+-1|0;ea(d+a>>0|0,0|0,1,0);do if((da(b>>0|0,1,0,0)|0|0)!=47)if(!(qc[(fa(da(47552+40|0,4,0,0)|0|0,127|0)|0)&127](d,a)|0)){ea(e|0,31416|0,4,0);ea(e+4|0,10788|0,4,0);ad(14,14848,e);a=bo(14,47904,b,31416)|0;break}else{a=fw(d|0)|0;ea(e|0,b|0,4,0);$c(c-a|0,d+a|0,48480,e)|0;a=0;break}else{ea(e|0,b|0,4,0);$c(c,d,10344,e)|0;a=0}while(0);i=f;return a|0}function ni(a,b){a=a|0;b=b|0;return Cb(b|0,258)|0}function oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;a=Wa()|0;if(a){ea(d|0,a|0,4,0);$c(b,c,10344,d)|0}i=e;return}function pi(a,b,c){a=a|0;b=b|0;c=c|0;return _a(b|0,c|0)|0}function qi(a,b){a=a|0;b=b|0;Db(b|0)|0;return}function ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;ew(c|0,0,b|0)|0;ea(12114*4|0,qb()|0|0,4,0);a=_n(48464,0,0)|0;if((a|0)>=0){do if(($b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](a,c,b)|0)>=0)break;while((da(Gb()|0|0,4,0,0)|0|0)==4);if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](a)|0)bo(4106,47856,0,31521)|0}else{Ob(d|0)|0;a=da(d|0,4,0,0)|0|0;ea(c>>0|0,a|0,1,0);ea(c+1>>0|0,a>>8|0,1,0);ea(c+2>>0|0,a>>16|0,1,0);ea(c+3>>0|0,a>>24|0,1,0);a=c+4|0;b=da(12114*4|0,4,0,0)|0|0;ea(a>>0|0,b|0,1,0);ea(a+1>>0|0,b>>8|0,1,0);ea(a+2>>0|0,b>>16|0,1,0);ea(a+3>>0|0,b>>24|0,1,0);b=8}i=e;return b|0}function si(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Lb(a|0)|0;return a*1e6|0}function ti(a,b){a=a|0;b=b|0;var c=0,d=0;a=i;i=i+16|0;if((i|0)>=(j|0))ba();d=a;c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=vi(0,d)|0;ea(b|0,+((+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0))/864.0e5),8,1);i=a;return c|0}function ui(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();a=c;if(!(Rb(a|0,0)|0)){e=da(a|0,4,0,0)|0|0;e=rw(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=iw(e|0,C|0,1045635584,49096)|0;d=(da(a+4|0,4,0,0)|0|0)/1e3|0;d=iw(e|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;a=b;ea(a|0,d|0,4,0);ea(a+4|0,C|0,4,0);a=0}else a=1;i=c;return a|0}function wi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!b){a=0;do{b=da(47560+(a*12|0)|0,4,0,0)|0|0;if(b)ea(47556+(a*12|0)|0,b|0,4,0);a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){d=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(d*12|0)|0;a=da(b|0,4,0,0)|0|0;if(!a){a=da(47556+(d*12|0)|0,4,0,0)|0|0;ea(b|0,a|0,4,0)}ea(47556+(d*12|0)|0,((c|0)==0?a:c)|0,4,0);b=0}while(0);return b|0}function xi(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){c=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((c|0)==4)a=da(47556+(a*12|0)|0,4,0,0)|0|0;return a|0}function yi(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)a=-1;else{c=0;while(1){a=c+1|0;if(!(Zv(b,da(47552+(c*12|0)|0,4,0,0)|0|0)|0)){a=c;break a}if((a|0)<24)c=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(da(47556+(a*12|0)|0,4,0,0)|0){d=6;break}}if((d|0)==6)a=da(47552+(a*12|0)|0,4,0,0)|0|0;return a|0}function zi(a,b){a=a|0;b=b|0;return 48504}function Ai(a,b){a=a|0;b=b|0;return 48376}function Bi(a,b){a=a|0;b=b|0;return 47472}function Ci(a){a=a|0;var b=0,c=0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);b=a+0|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));ea(a|0,14696|0,4,0);return 0}function Di(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=a+24|0;f=k;if(((da(f|0,4,0,0)|0|0)!=(d|0)?1:(da(f+4|0,4,0,0)|0|0)!=(e|0))|(d|0)==0&(e|0)==0){f=da(a+4|0,4,0,0)|0|0;if(!((f|0)==0|((e|0)<0|(e|0)==0&d>>>0<1020))){g=1020;h=0;do{g=iw(g|0,h|0,1020,0)|0;h=C;f=da(f|0,4,0,0)|0|0}while(!((f|0)==0|((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0)))}}else f=da(a+32|0,4,0,0)|0|0;i=qw(d|0,e|0,1020,0)|0;j=c;g=b;while(1){b=1020-i|0;h=(j|0)<(b|0)?j:b;jw(g|0,f+i+4|0,h|0)|0;j=j-b|0;if((j|0)<=-1)break;f=da(f|0,4,0,0)|0|0;if(!((f|0)!=0&(j|0)>0))break;else{i=0;g=g+h|0}}e=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;c=k;ea(c|0,e|0,4,0);ea(c+4|0,C|0,4,0);ea(a+32|0,f|0,4,0);return 0}function Ei(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:do if((c|0)>0){h=a+8|0;i=a+16|0;g=a+4|0;d=h;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;while(1){a=da(i|0,4,0,0)|0|0;d=qw(e|0,d|0,1020,0)|0;f=1020-d|0;f=(c|0)<(f|0)?c:f;if(!d){e=Sc(1024)|0;if(!e){d=3082;break a}ea(e|0,0|0,4,0);if(!a){ea(g|0,e|0,4,0);a=e}else{ea(a|0,e|0,4,0);a=e}ea(i|0,a|0,4,0)}jw(a+d+4|0,b|0,f|0)|0;c=c-f|0;e=h;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;d=C;a=h;ea(a|0,e|0,4,0);ea(a+4|0,d|0,4,0);if((c|0)<=0){d=0;break}else b=b+f|0}}else d=0;while(0);return d|0}function Fi(a,b,c){a=a|0;b=b|0;c=c|0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);c=a+0|0;b=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(b|0));ea(a|0,14696|0,4,0);return 0}function Gi(a,b){a=a|0;b=b|0;return 0}function Hi(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;a=da(c+4|0,4,0,0)|0|0;ea(b|0,da(c|0,4,0,0)|0|0,4,0);ea(b+4|0,a|0,4,0);return 0}function Ii(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));if(da(2187*4|0,4,0,0)|0){ea(3146*4|0,8|0,4,0);ea(3159*4|0,8|0,4,0)}ea(3149*4|0,10|0,4,0);ea(3153*4|0,1|0,4,0);return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=pg(48,0)|0;if(d){e=d+0|0;f=e+48|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(d|0,12584|0,4,0);ea(d+4|0,a|0,4,0);ea(d+8|0,b|0,4,0);c=(c|0)!=0;ea(d+12|0,c&1|0,4,0);co(d);if(c){ea(d+16|0,10|0,4,0);c=da(3148*4|0,4,0,0)|0|0;ea(3148*4|0,c+10|0,4,0);ea(3149*4|0,(da(3147*4|0,4,0,0)|0|0)+10+(-10-c)|0,4,0)}if(!(da(d+40|0,4,0,0)|0)){Ri(d);d=0}}else d=0;return d|0}function Li(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;d=a+20|0;f=c+4|0;e=(da(f|0,4,0,0)|0|0)+(b-(da(d|0,4,0,0)|0|0))|0;ea(f|0,e|0,4,0);ea(c+12|0,e+10-(da(c+8|0,4,0,0)|0|0)|0,4,0);ea(d|0,b|0,4,0);ea(a+24|0,((b*9|0)>>>0)/10|0|0,4,0);eo(c)}return}function Mi(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function Ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a+44|0,4,0,0)|0|0)+(((b>>>0)%((da(a+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0,4,0,0)|0|0;a:do if(d){while(1){if((da(d+8|0,4,0,0)|0|0)==(b|0))break;d=da(d+16|0,4,0,0)|0|0;if(!d){e=6;break a}}if(!(da(d+12>>0|0,1,0,0)|0))fo(d)}else e=6;while(0);if((e|0)==6)if(!c)d=0;else d=go(a,b,c)|0;return d|0}function Oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a|0,4,0,0)|0|0;if((c|0)==0?(da(e+16|0,4,0,0)|0|0)>>>0<=(da(e+4|0,4,0,0)|0|0)>>>0:0){c=e+20|0;d=da(c|0,4,0,0)|0|0;if(!d)ea(e+24|0,b|0,4,0);else{ea(d+28|0,b|0,4,0);ea(b+24|0,d|0,4,0)}ea(c|0,b|0,4,0);d=a+32|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b+12>>0|0,0|0,1,0)}else{e=da(b+20|0,4,0,0)|0|0;c=(da(e+44|0,4,0,0)|0|0)+((((da(b+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){a=da(c|0,4,0,0)|0|0;d=a+16|0;if((a|0)==(b|0))break;else c=d}ea(c|0,da(d|0,4,0,0)|0|0,4,0);d=e+36|0;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ho(b)}return}function Pi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da(a+40|0,4,0,0)|0|0;g=a+44|0;c=(da(g|0,4,0,0)|0|0)+(((c>>>0)%(f>>>0)|0)<<2)|0;while(1){e=da(c|0,4,0,0)|0|0;if((e|0)==(b|0))break;else c=e+16|0}e=b+16|0;ea(c|0,da(e|0,4,0,0)|0|0,4,0);ea(b+8|0,d|0,4,0);c=(da(g|0,4,0,0)|0|0)+(((d>>>0)%(f>>>0)|0)<<2)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0);c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0<d>>>0)ea(c|0,d|0,4,0);return}function Qi(a,b){a=a|0;b=b|0;var c=0;c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0>=b>>>0){io(a,b);ea(c|0,b+-1|0,4,0)}return}function Ri(a){a=a|0;var b=0,c=0,d=0,e=0;b=da(a|0,4,0,0)|0|0;io(a,0);e=b+4|0;d=(da(e|0,4,0,0)|0|0)-(da(a+20|0,4,0,0)|0|0)|0;ea(e|0,d|0,4,0);e=b+8|0;c=(da(e|0,4,0,0)|0|0)-(da(a+16|0,4,0,0)|0|0)|0;ea(e|0,c|0,4,0);ea(b+12|0,d+10-c|0,4,0);eo(b);Vc(da(a+44|0,4,0,0)|0|0);Vc(a);return}function Si(a){a=a|0;var b=0,c=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;b=c+4|0;a=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);eo(c);ea(b|0,a|0,4,0)}return}function Ti(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;b=a+7&-8;a=Vv(b+8|0)|0;if(!a){ea(c|0,b|0,4,0);ad(7,16568,c)}else{c=a;ea(c|0,b|0,4,0);ea(c+4|0,((b|0)<0)<<31>>31|0,4,0);a=a+8|0}i=d;return a|0}function Ui(a){a=a|0;Wv(a+-8|0);return}function Vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=a+-8|0;c=Xv(d,b+8|0)|0;if(!c){if(!a)d=0;else d=da(d|0,4,0,0)|0|0;ea(e|0,d|0,4,0);ea(e+4|0,b|0,4,0);ad(7,16528,e)}else{d=c;ea(d|0,b|0,4,0);ea(d+4|0,((b|0)<0)<<31>>31|0,4,0);c=c+8|0}i=f;return c|0}function Wi(a){a=a|0;if(!a)a=0;else a=da(a+-8|0,4,0,0)|0|0;return a|0}function Xi(a){a=a|0;return a+7&-8|0}function Yi(a){a=a|0;return 0}function Zi(a){a=a|0;return}function _i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=da(c|0,4,0,0)|0|0;do if((-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0?(d=Rg(e,1)|0,(d|0)!=0):0){e=Sg(da(c|0,4,0,0)|0|0,1)|0;if((b|0)!=1){k=Rg(da(c+4|0,4,0,0)|0|0,1)|0;if(!k)break;b=da(k>>0|0,1,0,0)|0|0;if(b<<24>>24){c=0;f=k;while(1){g=f+1|0;if((b&255)>191)while(1){b=da(g>>0|0,1,0,0)|0|0;if((b&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else{f=g;break}}else{b=da(g>>0|0,1,0,0)|0|0;f=g}g=c+1|0;if(!(b<<24>>24)){b=g;break}else c=g}if((c|0)>-1){i=rw(b|0,((b|0)<0)<<31>>31|0,5,0)|0;i=jo(a,i,C)|0;if(!i)break;h=i+(b<<2)|0;if(da(k>>0|0,1,0,0)|0){b=k;c=0;while(1){ea(i+(c<<2)|0,b|0,4,0);g=b+1|0;if((da(b>>0|0,1,0,1)|0|0)>191){f=b;while(1)if(((da(g>>0|0,1,0,0)|0)&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else break}ea(h+c>>0|0,g-b|0,1,0);f=c+1|0;if(!(da(g>>0|0,1,0,0)|0))break;else{b=g;c=f}}if((c|0)>-1){j=f;l=17}}}}}else{h=20360;i=20368;j=1;k=0;l=17}if((l|0)==17){b=da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;a:do if((b&1|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else{l=24;break a}while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(Yv(d,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0:0)break;f=f+1|0;if((f|0)>=(j|0)){l=24;break a}}d=d+g|0;e=e-g|0}while((e|0)>0)}else l=24;while(0);b:do if((l|0)==24)if((b&2|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else break b;while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(m=e-g|0,(Yv(d+m|0,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0):0){e=m;break}f=f+1|0;if((f|0)>=(j|0))break b}}while((e|0)>0)}while(0);if(k)Vc(i)}Vg(a,d,e,1,-1)}while(0);return}function $i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=((da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0)<<31>>31;g=da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;a:do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){if((b|0)>1){f=1;d=0;do{e=da(c+(f<<2)|0,4,0,0)|0|0;if(-1431655766>>>((da(e+8|0,2,0,1)|0|0)&31)&1)break a;e=((gm(da(c+(d<<2)|0,4,0,0)|0|0,e,g)|0)^h|0)>-1;d=e?f:d;f=f+1|0}while((f|0)<(b|0));d=da(c+(d<<2)|0,4,0,0)|0|0}Zg(da(a|0,4,0,0)|0|0,d)|0}while(0);return}function aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(c|0,4,0,0)|0|0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,40)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){d=(da(b+8|0,2,0,0)|0|0)!=0;if(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1){if(!d)break;ea(a+24>>0|0,1|0,1,0);break}if(!d){ea(b+32|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);Zg(b,e)|0;break}d=(da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0;c=gm(b,e,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0;if(!(d&(c|0)<0)?!((c|0)>0&(d^1)):0){ea(a+24>>0|0,1|0,1,0);break}Zg(b,e)|0}while(0);return}function bj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=b+8|0;if(!((da(c|0,2,0,0)|0|0)!=0?(Zg(da(a|0,4,0,0)|0|0,b)|0,((da(c|0,2,0,0)|0)&9312)!=0):0))d=7;if((d|0)==7?(da(b+24|0,4,0,0)|0|0)==0:0)break;Pg(b)}while(0);return}function cj(a,b,c){a=a|0;b=b|0;c=c|0;b=da(10064+((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==3)b=20328;else if((b|0)==1)b=20320;else b=20352;Vg(a,b,-1,1,0);return}function dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;do if((c|0)==3){d=Rg(b,1)|0;if(d){b=da(d>>0|0,1,0,0)|0|0;if(!(b<<24>>24)){e=0;d=0}else{c=b;b=0;do{b=b+1|0;e=d+1|0;if((c&255)>191)while(1){c=da(e>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=e;e=d+2|0;d=c}else{d=e;break}}else{c=da(e>>0|0,1,0,0)|0|0;d=e}}while(c<<24>>24!=0);e=b;d=((b|0)<0)<<31>>31}b=da(a|0,4,0,0)|0|0;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}}else if((c|0)==2|(c|0)==1|(c|0)==4){e=Sg(b,1)|0;d=da(a|0,4,0,0)|0|0;b=((e|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,e|0,4,0);ea(d+4|0,b|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,e,b);break}}else{c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}while(0);return}function ej(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=da(c|0,4,0,0)|0|0;e=da(d+8|0,2,0,0)|0|0;f=c+4|0;b=da((da(f|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;do if(!((-1431655766>>>(b&31)|-1431655766>>>(e&31))&1)){g=Sg(d,1)|0;i=Sg(da(f|0,4,0,0)|0|0,1)|0;c=da(c|0,4,0,0)|0|0;if(!((b|e)&15)){b=od(c)|0;c=0;h=od(da(f|0,4,0,0)|0|0)|0}else{b=Rg(c,1)|0;c=1;h=Rg(da(f|0,4,0,0)|0|0,1)|0}a:do if((i|0)>(g|0)){b=1;d=1}else{d=1;e=g;while(1){if(!(Yv(b,h,i)|0)){b=0;break a}d=d+1|0;f=(c|0)==0;do{e=e+-1|0;b=b+1|0;if(f){c=0;break}}while(((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128);if((i|0)>(e|0)){b=1;break}}}while(0);e=da(a|0,4,0,0)|0|0;c=b?0:d;b=b?0:((d|0)<0)<<31>>31;d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(e|0,c|0,4,0);ea(e+4|0,b|0,4,0);ea(d|0,4|0,2,0);break}else{Yg(e,c,b);break}}while(0);return}function fj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=da(c+4|0,4,0,0)|0|0;do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){k=(b|0)==3;if(k?(-1431655766>>>((da((da(c+8|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)break;m=da((da(c|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;g=Ug(d)|0;h=((g|0)<0)<<31>>31;m=(m&15)==0;e=da(c|0,4,0,0)|0|0;if(m){e=Sg(e,1)|0;f=od(da(c|0,4,0,0)|0|0)|0;if(!f)break;else l=e}else{f=Rg(e,1)|0;if(!f)break;if((g|0)<0?(i=da(f>>0|0,1,0,0)|0|0,i<<24>>24!=0):0){e=0;d=f;do{j=d+1|0;if((i&255)>191){b=d;d=j;while(1){i=da(d>>0|0,1,0,0)|0|0;if((i&-64)<<24>>24==-128){l=d;d=b+2|0;b=l}else break}}else{i=da(j>>0|0,1,0,0)|0|0;d=j}e=e+1|0}while(i<<24>>24!=0);l=e}else l=0}if(k){j=Ug(da(c+8|0,4,0,0)|0|0)|0;b=((j|0)<0)<<31>>31;k=(j|0)<0;d=cw(0,0,j|0,b|0)|0;d=k?d:j;b=k?C:b;j=j>>>31}else{b=da((da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;d=b;b=((b|0)<0)<<31>>31;j=0}do if((g|0)<0){g=iw(l|0,((l|0)<0)<<31>>31|0,g|0,h|0)|0;h=C;if((h|0)<0){d=iw(d|0,b|0,g|0,h|0)|0;b=C;k=(b|0)<0;g=0;h=0;d=k?0:d;b=k?0:b}}else if((g|0)>0){g=iw(g|0,h|0,-1,-1)|0;h=C;break}else{k=((b|0)>0|(b|0)==0&d>>>0>0)<<31>>31;d=iw(k|0,((k|0)<0)<<31>>31|0,d|0,b|0)|0;b=C;break}while(0);if(!j){i=g;j=h}else{i=cw(g|0,h|0,d|0,b|0)|0;j=C;k=(j|0)<0;i=k?0:i;j=k?0:j;d=k?g:d;b=k?h:b}if(m){k=iw(d|0,b|0,i|0,j|0)|0;h=C;e=((l|0)<0)<<31>>31;if((h|0)>(e|0)|(h|0)==(e|0)&k>>>0>l>>>0){d=cw(l|0,e|0,i|0,j|0)|0;b=C;l=(b|0)<0;d=l?0:d;b=l?0:b}Ad(a,f+i|0,d,b,-1);break}e=da(f>>0|0,1,0,0)|0|0;if(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0)do{h=f+1|0;if((e&255)>191){g=f;f=h;while(1){e=da(f>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=f;f=g+2|0;g=l}else break}}else{e=da(h>>0|0,1,0,0)|0|0;f=h}i=iw(i|0,j|0,-1,-1)|0;j=C}while(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0);if(e<<24>>24!=0&((d|0)!=0|(b|0)!=0)){i=b;b=f;do{g=b+1|0;if((e&255)>191)while(1){e=da(g>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=g;g=b+2|0;b=l}else{b=g;break}}else{e=da(g>>0|0,1,0,0)|0|0;b=g}d=iw(d|0,i|0,-1,-1)|0;i=C}while(e<<24>>24!=0&((d|0)!=0|(i|0)!=0))}else b=f;l=b-f|0;Id(a,f,l,((l|0)<0)<<31>>31,-1,1)}while(0);return}function gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();f=h;g=h+32|0;e=h+4|0;if((b|0)>0?(d=Rg(da(c|0,4,0,0)|0|0,1)|0,(d|0)!=0):0){ea(g|0,b+-1|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,c+4|0,4,0);ea(e+0|0,0|0,4,0);ea(e+4|0,0|0,4,0);ea(e+8|0,0|0,4,0);ea(e+12|0,0|0,4,0);ea(e+16|0,0|0,4,0);ea(e+20|0,1e9|0,4,0);ea(e+24>>0|0,1|0,1,0);ea(e+25>>0|0,0|0,1,0);ea(e|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);ea(f|0,g|0,4,0);Dn(e,2,d,f);d=da(e+12|0,4,0,0)|0|0;Vg(a,sg(e)|0,d,1,75)}i=h;return}function hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;b=Rg(da(c|0,4,0,0)|0|0,1)|0;ea(d|0,b|0,4,0);do if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)!=0:0){e=Ln(d)|0;b=da(a|0,4,0,0)|0|0;d=((e|0)<0)<<31>>31;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}while(0);i=f;return}function ij(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Sc(b<<2|1)|0;if(!g)Qd(a);else{if((b|0)>0){f=0;d=g;do{e=Ug(da(c+(f<<2)|0,4,0,0)|0|0)|0;h=C;e=h>>>0>0|(h|0)==0&e>>>0>1114111?65533:e&2097151;do if(e>>>0>=128){if(e>>>0<2048){ea(d>>0|0,e>>>6&31|192|0,1,0);ea(d+1>>0|0,e&63|128|0,1,0);d=d+2|0;break}if(e>>>0<65536){ea(d>>0|0,e>>>12&15|224|0,1,0);ea(d+1>>0|0,e>>>6&63|128|0,1,0);ea(d+2>>0|0,e&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,e>>>18|240|0,1,0);ea(d+1>>0|0,e>>>12&63|128|0,1,0);ea(d+2>>0|0,e>>>6&63|128|0,1,0);ea(d+3>>0|0,e&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,e|0,1,0);d=d+1|0}while(0);f=f+1|0}while((f|0)!=(b|0))}else d=g;d=d-g|0;Id(a,g,d,((d|0)<0)<<31>>31,1,1)}return}function jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;a:do if((c|0)==1){b=Ug(b)|0;e=C;do if((e|0)<0)if((b|0)==0&(e|0)==-2147483648){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break a}else{b=cw(0,0,b|0,e|0)|0;f=C;break}else f=e;while(0);c=da(a|0,4,0,0)|0|0;e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(c|0,b|0,4,0);ea(c+4|0,f|0,4,0);ea(e|0,4|0,2,0);break}else{Yg(c,b,f);break}}else if((c|0)==5){c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}else{d=+Tg(b);if(d<0.0)d=-d;Xg(da(a|0,4,0,0)|0|0,d)}while(0);return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();h=m+8|0;l=m;if((b|0)==2){b=da(c+4|0,4,0,0)|0|0;if(!(-1431655766>>>((da(b+8|0,2,0,1)|0)&31)&1)){g=Ug(b)|0;g=(g|0)>30?30:g;g=(g|0)<0?0:g;f=4}}else{g=0;f=4}a:do if((f|0)==4?(e=da(c|0,4,0,0)|0|0,(-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0):0){d=+Tg(e);ea(l|0,+d,8,1);b=(g|0)==0;do if(b&d>=0.0&d<9223372036854775808.0){d=d+.5;d=+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0);ea(l|0,+d,8,1)}else{if(b&d<0.0&d>-9223372036854775808.0){d=.5-d;d=-(+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0));ea(l|0,+d,8,1);break}ea(h|0,g|0,4,0);b=h+4|0;ea(k|0,+d,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);b=Zc(20312,h)|0;if(!b){Qd(a);break a}else e=b;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;Sl(b,l,e-b&1073741823,1)|0;Vc(b);d=+(+da(l|0,8,1,0))}while(0);Xg(da(a|0,4,0,0)|0|0,d)}while(0);i=m;return}function lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{f=da(d+c>>0|0,1,0,1)|0|0;ea(e+c>>0|0,((da(10368+f>>0|0,1,0,1)|0|0|223)^32)&f|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{ea(e+c>>0|0,da(9328+(da(d+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function nj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,8632,-1,1,0);return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=od(da(c|0,4,0,0)|0|0)|0;f=Sg(da(c|0,4,0,0)|0|0,1)|0;g=hw(f|0,((f|0)<0)<<31>>31|0,1)|0;g=jo(a,g|1,C)|0;if(g){if((f|0)>0){d=f<<1;e=0;c=g;while(1){h=da(b>>0|0,1,0,1)|0|0;ea(c>>0|0,da(20288+(h>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(c+1>>0|0,da(20288+(h&15)>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;if((e|0)==(f|0))break;else{b=b+1|0;c=c+2|0}}c=g+d|0}else c=g;ea(c>>0|0,0|0,1,0);Vg(a,g,f<<1,1,1)}return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();b=f;bd(8,b);d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((d|0)<0){e=cw(0,0,c|0,d&2147483647|0)|0;d=C;ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0)}else e=c;c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(c|0,e|0,4,0);ea(c+4|0,d|0,4,0);ea(b|0,4|0,2,0)}else Yg(c,e,d);i=f;return}function qj(a,b,c){a=a|0;b=b|0;c=c|0;c=Ug(da(c|0,4,0,0)|0|0)|0;c=(c|0)<1?1:c;b=jo(a,c,((c|0)<0)<<31>>31)|0;if(b){bd(c,b);Vg(a,b,c,0,1)}return}function rj(a,b,c){a=a|0;b=b|0;c=c|0;if(gm(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0)Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;return}function sj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,10768,-1,1,0);return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();a=b;d=Ug(da(c|0,4,0,0)|0|0)|0;ea(a|0,Rg(da(c+4|0,4,0,0)|0|0,1)|0|0,4,0);ad(d,10344,a);i=b;return}function uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=Rg(da(c|0,4,0,0)|0|0,1)|0;do if(b){d=Dc(b)|0;c=da(a|0,4,0,0)|0|0;b=((d|0)<0)<<31>>31;a=c+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(c|0,d|0,4,0);ea(c+4|0,b|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(c,d,b);break}}while(0);return}function vj(a,b,c){a=a|0;b=b|0;c=c|0;b=Ug(da(c|0,4,0,0)|0|0)|0;if(b>>>0<4)b=da(8648+(b<<2)|0,4,0,0)|0|0;else b=0;Vg(a,b,-1,1,0);return}function wj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0,l=0,m=0,n=0;n=i;i=i+80|0;if((i|0)>=(j|0))ba();b=n+8|0;d=n;h=n+16|0;g=da(c|0,4,0,0)|0|0;f=da(10064+((da(g+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0;if((f|0)==1)Zg(da(a|0,4,0,0)|0|0,g)|0;else if((f|0)==4){g=od(g)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;d=hw(b|0,((b|0)<0)<<31>>31|0,1)|0;d=iw(d|0,C|0,4,0)|0;d=jo(a,d,C)|0;if(d){if((b|0)>0){f=0;do{h=g+f|0;c=f<<1;ea(d+(c+2)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0|0)>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(d+(c+3)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0)&15)>>0|0,1,0,0)|0|0|0,1,0);f=f+1|0}while((f|0)!=(b|0))}b=b<<1;ea(d+(b+2)>>0|0,39|0,1,0);ea(d+(b+3)>>0|0,0|0,1,0);ea(d>>0|0,88|0,1,0);ea(d+1>>0|0,39|0,1,0);Vg(a,d,-1,1,-1);Vc(d)}}else if((f|0)==3){m=Rg(g,1)|0;if(m){b=0;d=0;f=0;while(1){g=da(m+f>>0|0,1,0,0)|0|0;if(g<<24>>24==39){g=iw(b|0,d|0,1,0)|0;d=C}else if(!(g<<24>>24)){g=d;break}else g=b;b=g;f=f+1|0}l=iw(b|0,g|0,3,0)|0;l=iw(l|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;l=jo(a,l,C)|0;if(l){ea(l>>0|0,39|0,1,0);d=da(m>>0|0,1,0,0)|0|0;b=l+1|0;if(!(d<<24>>24))f=2;else{h=m;f=2;g=0;c=1;do{ea(b>>0|0,d|0,1,0);if((da(h>>0|0,1,0,0)|0|0)==39){ea(l+f>>0|0,39|0,1,0);c=c+2|0}else c=f;g=g+1|0;h=m+g|0;d=da(h>>0|0,1,0,0)|0|0;f=c+1|0;b=l+c|0}while(d<<24>>24!=0)}ea(b>>0|0,39|0,1,0);ea(l+f>>0|0,0|0,1,0);Vg(a,l,f,1,1)}}}else if((f|0)==2){e=+Tg(g);ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20272,b)|0;Sl(h,d,20,1)|0;if(e!=+(+da(d|0,8,1,0))){ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20280,b)|0}Vg(a,h,-1,1,-1)}else Vg(a,20304,4,1,0);i=n;return}function xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;d=(da(a+32|0,4,0,0)|0|0)+32|0;b=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,d|0,4,0);ea(c|0,4|0,2,0)}else Yg(a,b,d);return}function yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+80|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+84|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function Aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=Rg(da(c|0,4,0,0)|0|0,1)|0;a:do if((r|0)!=0?(s=Sg(da(c|0,4,0,0)|0|0,1)|0,e=c+4|0,q=Rg(da(e|0,4,0,0)|0|0,1)|0,(q|0)!=0):0){if(!(da(q>>0|0,1,0,0)|0)){Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;break}o=Sg(da(e|0,4,0,0)|0|0,1)|0;e=c+8|0;n=Rg(da(e|0,4,0,0)|0|0,1)|0;if((n|0)!=0?(p=Sg(da(e|0,4,0,0)|0|0,1)|0,f=s+1|0,g=((f|0)<0)<<31>>31,d=jo(a,f,g)|0,(d|0)!=0):0){j=s-o|0;b:do if((j|0)>=0){k=p-o|0;l=((k|0)<0)<<31>>31;m=o+-1|0;c=0;i=0;while(1){e=r+c|0;b=da(e>>0|0,1,0,0)|0|0;if(b<<24>>24==(da(q>>0|0,1,0,0)|0|0)?(Yv(e,q,o)|0)==0:0){b=da(a|0,4,0,0)|0|0;h=da(b+32|0,4,0,0)|0|0;f=iw(f|0,g|0,k|0,l|0)|0;g=C;e=iw(f|0,g|0,-1,-1)|0;u=C;h=da(h+88|0,4,0,0)|0|0;t=((h|0)<0)<<31>>31;if((u|0)>(t|0)|(u|0)==(t|0)&e>>>0>h>>>0){e=13;break}h=Wc(d,f)|0;if(!h){e=15;break}jw(h+i|0,n|0,p|0)|0;e=m+c|0;b=i+p|0;d=h}else{ea(d+i>>0|0,b|0,1,0);e=c;b=i+1|0}c=e+1|0;if((e|0)<(j|0))i=b;else break b}if((e|0)==13){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(b,10096,-1,1,0)|0;Vc(d);break a}else if((e|0)==15){Qd(a);Vc(d);break a}}else{c=0;b=0}while(0);k=s-c|0;jw(d+b|0,r+c|0,k|0)|0;k=b+k|0;ea(d+k>>0|0,0|0,1,0);Vg(a,d,k,1,1)}}while(0);return}function Bj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=Ug(da(c|0,4,0,0)|0|0)|0;e=C;c=da(d+88|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;if((e|0)>(d|0)|(e|0)==(d|0)&b>>>0>c>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}else _g(da(a|0,4,0,0)|0|0,b);return}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;d=Rg(da(c|0,4,0,0)|0|0,1)|0;e=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(f|0,0|0,4,0);if((b|0)==2)b=Rg(da(c+4|0,4,0,0)|0|0,1)|0;else b=0;if((d|0)!=0?(Se(e,d,b,f)|0)!=0:0){b=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,-1,1,-1)|0;Vc(da(f|0,4,0,0)|0|0)}i=g;return}function Dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,i=0,j=0,k=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))d=kh(a,32)|0;else d=da(b+16|0,4,0,0)|0|0;a=Ge(da(c|0,4,0,0)|0|0)|0;do if((d|0)!=0&(a|0)!=5){b=d+16|0;e=b;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,1,0)|0;ea(b|0,e|0,4,0);ea(b+4|0,C|0,4,0);b=da(c|0,4,0,0)|0|0;if((a|0)!=1){h=+Tg(b);ea(d|0,+(h+ +(+da(d|0,8,1,0))),8,1);ea(d+25>>0|0,1|0,1,0);break}e=Ug(b)|0;f=C;ea(d|0,+(+(+da(d|0,8,1,0))+(+(e>>>0)+4294967296.0*+(f|0))),8,1);g=d+24|0;if(!((da(g>>0|0,1,0,0)|0|(da(d+25>>0|0,1,0,0)|0))<<24>>24)){d=d+8|0;a=d;c=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){b=cw(-1,2147483647,c|0,a|0)|0;i=C;if(((a|0)>0|(a|0)==0&c>>>0>0)&((i|0)<(f|0)|(i|0)==(f|0)&b>>>0<e>>>0))b=12;else b=11}else if((a|0)<0?(i=cw(1,-2147483648,c|0,a|0)|0,k=C,b=iw(e|0,f|0,1,0)|0,j=C,(k|0)>(j|0)|(k|0)==(j|0)&i>>>0>b>>>0):0)b=12;else b=11;if((b|0)==11){a=iw(c|0,a|0,e|0,f|0)|0;b=d;ea(b|0,a|0,4,0);ea(b+4|0,C|0,4,0);break}else if((b|0)==12){ea(g>>0|0,1|0,1,0);break}}}while(0);return}function Ej(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if((b|0)!=0?(c=b+16|0,d=da(c+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&(da(c|0,4,0,0)|0|0)>>>0>0):0){if(da(b+24>>0|0,1,0,0)|0){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break}if(da(b+25>>0|0,1,0,0)|0){Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0)));break}d=b+8|0;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(b,c,d);break}}while(0);return}function Fj(a){a=a|0;var b=0,c=0.0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b)c=0.0;else c=+(+da(b|0,8,1,0));Xg(da(a|0,4,0,0)|0|0,c);return}function Gj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if((b|0)!=0?(d=b+16|0,c=da(d|0,4,0,0)|0|0,d=da(d+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&c>>>0>0):0)Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0))/(+(c>>>0)+4294967296.0*+(d|0)));return}function Hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))d=kh(a,8)|0;else d=da(d+16|0,4,0,0)|0|0;if(!b){if(d)e=7}else if((d|0)!=0?(1431655765>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)e=7;if((e|0)==7){a=d;a=iw(da(a|0,4,0,0)|0|0,da(a+4|0,4,0,0)|0|0,1,0)|0;ea(d|0,a|0,4,0);ea(d+4|0,C|0,4,0)}return}function Ij(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b){c=0;d=0}else{d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0}b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0)}else Yg(b,c,d);return}function Jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1)){d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))e=kh(a,28)|0;else e=da(d+16|0,4,0,0)|0|0;if(e){a=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=e+24|0;d=(da(f>>0|0,1,0,0)|0|0)==0;ea(f>>0|0,2|0,1,0);ea(e+20|0,da(a+88|0,4,0,0)|0|0,4,0);do if(!d){if((b|0)==2){b=c+4|0;d=Rg(da(b|0,4,0,0)|0|0,1)|0;b=Sg(da(b|0,4,0,0)|0|0,1)|0;if(!b)break}else{b=1;d=20240}Rk(e,d,b)}while(0);d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if(d)Rk(e,d,b)}}return}function Kj(a){a=a|0;var b=0,c=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=da(b+25>>0|0,1,0,0)|0|0;if(c<<24>>24==2){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0;break}else if(c<<24>>24==1){Qd(a);break}else{Vg(a,sg(b)|0,-1,1,1);break}}while(0);return}function Lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;h=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;f=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Sg(da(c|0,4,0,0)|0|0,1)|0;a:do if((k|0)<=(da(h+120|0,4,0,0)|0|0)){do if((b|0)==3){c=Rg(da(c+8|0,4,0,0)|0|0,1)|0;ea(e|0,c|0,4,0);if(!c)break a;if((Mn(c,-1)|0)==1){c=Ln(e)|0;break}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20192,-1,1,-1)|0;break a}}else c=0;while(0);if((f|0)!=0&(d|0)!=0){b=Fh(d,f,da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,c)|0;d=da(a|0,4,0,0)|0|0;e=((b|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,b|0,4,0);ea(d+4|0,e|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,b,e);break}}}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20152,-1,1,-1)|0}while(0);i=g;return}function Mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;g=n+16|0;l=Rg(da(c|0,4,0,0)|0|0,1)|0;h=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((l|0)!=0?(da(l>>0|0,1,0,0)|0|0)!=0:0){b=0;c=l;b:while(1){e=b;d=c;while(1){d=d+e|0;f=Bn(d,g)|0;e=da(g|0,4,0,0)|0|0;if((e|0)==151)e=f;else if((e|0)==22|(e|0)==125)break b;else{c=d;b=f;break}}if(!(da(c>>0|0,1,0,0)|0))break a}ea(m|0,c-l|0,4,0);ea(m+4|0,l|0,4,0);ea(m+8|0,h|0,4,0);ea(m+12|0,c+b|0,4,0);Vg(a,th(k,19464,m)|0,-1,1,75)}while(0);i=n;return}function Nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;k=p+16|0;n=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;m=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(n>>0|0,1,0,0)|0|0)!=0:0){h=3;b=0;c=n;while(1){e=b;d=c;do{d=d+e|0;e=Bn(d,k)|0;f=da(k|0,4,0,0)|0|0}while((f|0)==151);g=e;e=(f|0)==122|(f|0)==107?0:h+1|0;if((e|0)==2)if((f|0)==5|(f|0)==46|(f|0)==137)break;else c=2;else c=e;if(!(da(d>>0|0,1,0,0)|0))break a;else{h=c;b=g;c=d}}ea(o|0,c-n|0,4,0);ea(o+4|0,n|0,4,0);ea(o+8|0,l|0,4,0);ea(o+12|0,c+b|0,4,0);Vg(a,th(m,19464,o)|0,-1,1,75)}while(0);i=p;return}function Oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;m=p+16|0;n=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Rg(da(c+8|0,4,0,0)|0|0,1)|0;if(!((d|0)==0|(l|0)==0)){a:do if(!(da(d>>0|0,1,0,0)|0))b=0;else{e=d;b=0;do{c=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==105){g=e;while(1){e=g+c|0;f=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==151){c=f;g=e}else break}if(!e)break a;h=iw(f|0,((f|0)<0)<<31>>31|0,1,0)|0;h=lh(n,h,C)|0;if(!h)break a;jw(h|0,e|0,f|0)|0;ea(h+f>>0|0,0|0,1,0);ko(h);if(!(cd(l,h)|0)){ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,e-d|0,4,0);ea(o+8|0,d|0,4,0);ea(o+12|0,k|0,4,0);q=th(n,19440,o)|0;lg(n,b);d=g+(f+c)|0;b=q}lg(n,h);c=f}e=e+c|0}while((da(e>>0|0,1,0,0)|0|0)!=0)}while(0);ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,d|0,4,0);Vg(a,th(n,19456,o)|0,-1,1,75);lg(n,b)}i=p;return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+48|0;if((i|0)>=(j|0))ba();d=e;if(!(lo(a,b,c,d)|0)){mo(d);b=d;Xg(da(a|0,4,0,0)|0|0,(+((da(b|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(b+4|0,4,0,0)|0|0))/864.0e5)}i=e;return}function Qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){no(e);c=da(e+12|0,4,0,0)|0|0;b=da(e+16|0,4,0,0)|0|0;ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20136,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){oo(e);c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+20|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20120,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;g=i;i=i+176|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+72|0;if(!(lo(a,b,c,e)|0)){no(e);oo(e);l=da(e+12|0,4,0,0)|0|0;k=da(e+16|0,4,0,0)|0|0;h=da(e+20|0,4,0,0)|0|0;c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,l|0,4,0);ea(d+8|0,k|0,4,0);ea(d+12|0,h|0,4,0);ea(d+16|0,c|0,4,0);ea(d+20|0,b|0,4,0);$c(100,f,20088,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=i;i=i+208|0;if((i|0)>=(j|0))ba();v=z+96|0;w=z+48|0;y=z+104|0;x=z;a:do if(((b|0)!=0?(u=Rg(da(c|0,4,0,0)|0|0,1)|0,(u|0)!=0):0)?(lo(a,b+-1|0,c+4|0,w)|0)==0:0){g=da(a|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;c=1;b=0;e=0;b:while(1){d=da(u+e>>0|0,1,0,0)|0|0;c:do if(d<<24>>24==37){d=e+1|0;switch(da(u+d>>0|0,1,0,0)|0|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=iw(c|0,b|0,1,0)|0;b=C;break c}case 102:{c=iw(c|0,b|0,8,0)|0;b=C;break c}case 74:case 115:{c=iw(c|0,b|0,50,0)|0;b=C;break c}case 37:case 119:break c;case 106:{c=iw(c|0,b|0,3,0)|0;b=C;break c}case 89:{c=iw(c|0,b|0,8,0)|0;b=C;break c}default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=iw(c|0,b|0,1,0)|0;b=C;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){t=da(f+88|0,4,0,0)|0|0;s=((t|0)<0)<<31>>31;if(b>>>0>s>>>0|(b|0)==(s|0)&c>>>0>t>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(g,10096,-1,1,0)|0;break}b=dw(0,c|0,32)|0;b=lh(f,b,C)|0;if(!b){Qd(a);break}else t=b}else t=y;mo(w);no(w);oo(w);h=w+16|0;l=w+32|0;m=w+20|0;n=x+42|0;o=x+12|0;p=x+16|0;q=w+12|0;r=w+24|0;s=w+8|0;f=0;b=0;d:while(1){g=da(u+f>>0|0,1,0,0)|0|0;e:do if(g<<24>>24==37){f=f+1|0;c=u+f|0;do switch(da(c>>0|0,1,0,0)|0|0){case 109:{ea(v|0,da(q|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 77:{ea(v|0,da(r|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 102:{A=+(+da(l|0,8,1,0));e=t+b|0;ea(k|0,+(A>59.999?59.999:A),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(7,e,19896,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{ea(v|0,da(h|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 83:{ea(v|0,~~+(+da(l|0,8,1,0))|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 119:{c=w;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,1296e5,0)|0;c=pw(c|0,C|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(t+b>>0|0,c+48|0,1,0);b=b+1|0;break e}case 89:{e=t+b|0;ea(v|0,da(s|0,4,0,0)|0|0,4,0);$c(5,e,19928,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 106:case 87:{g=x+0|0;e=w+0|0;d=g+48|0;do{ea(g|0,da(e|0,4,0,0)|0|0,4,0);g=g+4|0;e=e+4|0}while((g|0)<(d|0));ea(n>>0|0,0|0,1,0);ea(o|0,1|0,4,0);ea(p|0,1|0,4,0);mo(x);g=w;d=x;B=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,432e5,0)|0;e=C;d=cw(g|0,e|0,B|0,d|0)|0;d=pw(d|0,C|0,864e5,0)|0;if((da(c>>0|0,1,0,0)|0|0)==87){c=pw(g|0,e|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(v|0,(d+7-c|0)/7|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}else{ea(v|0,d+1|0,4,0);$c(4,t+b|0,19904,v)|0;b=b+3|0;break e}}case 72:{ea(v|0,da(m|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 74:{e=t+b|0;c=w;ea(k|0,+((+((da(c|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(c+4|0,4,0,0)|0|0))/864.0e5),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(20,e,19912,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=t+b|0;d=w;d=pw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1e3,0)|0;d=iw(d|0,C|0,-413362496,-50)|0;c=v;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);$c(30,e,19920,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{ea(t+b>>0|0,37|0,1,0);b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{ea(t+b>>0|0,g|0,1,0);b=b+1|0}while(0);f=f+1|0}ea(t+b>>0|0,0|0,1,0);Vg(a,t,-1,1,(t|0)==(y|0)?-1:75)}while(0);i=z;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Qj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ug(da(c|0,4,0,0)|0|0)|0;g=f+1&-2;d=Ug(da(c+4|0,4,0,0)|0|0)|0;e=(g<<3)+56|0;c=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=lh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Qd(a);else{ew(b|0,0,e|0)|0;ea(b+52|0,c|0,4,0);ea(b|0,0|0,4,0);ea(b+8|0,f|0,4,0);ea(b+12|0,d|0,4,0);c=b+56|0;ea(b+24|0,c|0,4,0);ea(b+20|0,c+(g<<2)|0,4,0);Vg(a,b,56,0,20)}return}function Yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=od(da(c|0,4,0,0)|0|0)|0;e=Ug(da(c+4|0,4,0,0)|0|0)|0;if(!(da(f|0,4,0,0)|0)){a=f+8|0;if((da(a|0,4,0,0)|0|0)>0){b=da(f+20|0,4,0,0)|0|0;c=0;do{ea(b+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}else{if((e|0)>0){a=da(f+20|0,4,0,0)|0|0;c=0;do{b=a+(c<<2)|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(da(a|0,4,0,0)|0|0)){b=da(f+24|0,4,0,0)|0|0;d=da(f+20|0,4,0,0)|0|0;c=e;do{e=b+(c<<2)|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);ea(d+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0);return}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=od(da(c|0,4,0,0)|0|0)|0;g=f+12|0;c=((da(g|0,4,0,0)|0|0)*25|0)+25|0;h=pg(c,((c|0)<0)<<31>>31)|0;if(!h)Qd(a);else{ew(h|0,0,c|0)|0;c=k;ea(c|0,da(f|0,4,0,0)|0|0,4,0);ea(c+4|0,0|0,4,0);$c(24,h,28696,k)|0;c=h;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((da(g|0,4,0,0)|0|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(da((da(d|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0)+1|0;c=da(f|0,4,0,0)|0|0;n=iw(m|0,0,-1,-1)|0;c=iw(n|0,C|0,c|0,0)|0;m=sw(c|0,C|0,m|0,0)|0;c=k;ea(c|0,m|0,4,0);ea(c+4|0,C|0,4,0);$c(24,b,28704,k)|0;if(!b)c=0;else{c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(da(g|0,4,0,0)|0|0))break;else b=b+c|0}}Vg(a,h,-1,1,1)}i=l;return}function _j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+144|0;if((i|0)>=(j|0))ba();h=l;k=l+8|0;f=Rg(da(c|0,4,0,0)|0|0,1)|0;g=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=(f|0)==0?10360:f;e=da(g+20|0,4,0,0)|0|0;a:do if((e|0)>0){b=da(g+16|0,4,0,0)|0|0;c=0;do{d=b+(c<<4)|0;if((da(b+(c<<4)+4|0,4,0,0)|0|0)!=0?(cd(da(d|0,4,0,0)|0|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){ea(h|0,f|0,4,0);$c(128,k,29256,h)|0;m=16;break}if(!(da(g+63>>0|0,1,0,0)|0)){$c(128,k,29288,h)|0;m=16;break}c=d+4|0;b=da(c|0,4,0,0)|0|0;if((da(b+8>>0|0,1,0,0)|0|0)==0?(da(b+16|0,4,0,0)|0|0)==0:0){Ll(b);ea(c|0,0|0,4,0);ea(d+12|0,0|0,4,0);Dg(g);break}ea(h|0,f|0,4,0);$c(128,k,29336,h)|0;m=16}else{ea(h|0,f|0,4,0);$c(128,k,29232,h)|0;m=16}while(0);if((m|0)==16){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,k,-1,1,-1)|0}i=l;return}function $j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;b=w+20|0;f=w+16|0;g=w+12|0;v=w+8|0;h=w+4|0;u=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(b|0,0|0,4,0);ea(f|0,0|0,4,0);ea(v|0,0|0,4,0);r=Rg(da(c|0,4,0,0)|0|0,1)|0;n=Rg(da(c+4|0,4,0,0)|0|0,1)|0;r=(r|0)==0?10360:r;n=(n|0)==0?10360:n;q=u+20|0;d=da(q|0,4,0,0)|0|0;e=da(u+116|0,4,0,0)|0|0;a:do if((d|0)<(e+2|0)){if(!(da(u+63>>0|0,1,0,0)|0)){d=th(u,29456,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break}o=u+16|0;e=da(o|0,4,0,0)|0|0;b:do if((d|0)>0){c=0;while(1){if(!(cd(da(e+(c<<4)|0,4,0,0)|0|0,n)|0))break;c=c+1|0;if((c|0)>=(d|0))break b}ea(s|0,n|0,4,0);d=th(u,29504,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break a}while(0);if((e|0)!=(u+456|0)){e=qo(u,e,(d<<4)+16|0,0)|0;if(!e)break;else m=e}else{e=lh(u,48,0)|0;if(!e)break;m=da(o|0,4,0,0)|0|0;ea(e+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(m+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(m+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(m+12|0,4,0,0)|0|0,4,0);ea(e+16|0,da(m+16|0,4,0,0)|0|0,4,0);ea(e+20|0,da(m+20|0,4,0,0)|0|0,4,0);ea(e+24|0,da(m+24|0,4,0,0)|0|0,4,0);ea(e+28|0,da(m+28|0,4,0,0)|0|0,4,0);m=e}ea(o|0,m|0,4,0);k=da(q|0,4,0,0)|0|0;l=m+(k<<4)|0;ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(g|0,da(u+48|0,4,0,0)|0|0,4,0);e=Vn(da((da(u|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r,g,h,b,f)|0;if((e|0)==7)ea(u+65>>0|0,1|0,1,0);else if(!e){e=da(g|0,4,0,0)|0|256;ea(g|0,e|0,4,0);f=da(b|0,4,0,0)|0|0;g=m+(k<<4)+4|0;e=ym(da(h|0,4,0,0)|0|0,f,u,g,0,e)|0;Vc(f);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);if((e|0)==19){ea(v|0,th(u,29536,s)|0|0,4,0);e=1}else if(!e){e=Wn(u,da(g|0,4,0,0)|0|0)|0;ea(m+(k<<4)+12|0,e|0,4,0);if(e)if((da(e+76>>0|0,1,0,0)|0|0)!=0?(da(e+77>>0|0,1,0,0)|0|0)!=(da(u+62>>0|0,1,0,0)|0|0):0){ea(v|0,th(u,13232,s)|0|0,4,0);e=1}else e=0;else e=7;f=da(g|0,4,0,0)|0|0;c=da(f+4|0,4,0,0)|0|0;ea(c+4|0,da(f|0,4,0,0)|0|0,4,0);c=da(c|0,4,0,0)|0|0;d=da(u+66>>0|0,1,0,0)|0|0;do if(!(da(c+12>>0|0,1,0,0)|0)){b=da(c+208|0,4,0,0)|0|0;if((b|0)!=0?(da(b+43>>0|0,1,0,0)|0|0)==2:0)break;ea(c+4>>0|0,d|0,1,0)}while(0);c=da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;if(!c)c=0;else{h=da(c+4|0,4,0,0)|0|0;ea(h+4|0,da(c|0,4,0,0)|0|0,4,0);c=(da(h+22|0,2,0,1)|0|0)>>>2&1}ro(f,c)|0;so(da(g|0,4,0,0)|0|0,(da(u+24|0,4,0,0)|0)&28|3)}ea(m+(k<<4)+8>>0|0,3|0,1,0);b=jh(u,n)|0;ea(l|0,b|0,4,0);b=(e|0)==0&(b|0)==0?7:e;if(!b){c=da(q|0,4,0,0)|0|0;if((c|0)>0){d=da(o|0,4,0,0)|0|0;e=0;do{b=da(d+(e<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);e=e+1|0}while((e|0)!=(c|0))}b=Yh(u,v)|0;if(!b)break}d=(da(q|0,4,0,0)|0|0)+-1|0;c=da((da(o|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;if(c){Ll(c);m=da(o|0,4,0,0)|0|0;ea(m+(d<<4)+4|0,0|0,4,0);ea(m+(d<<4)+12|0,0|0,4,0)}Dg(u);ea(q|0,d|0,4,0);if((b|0)==7|(b|0)==3082){ea(u+65>>0|0,1|0,1,0);lg(u,da(v|0,4,0,0)|0|0);d=th(u,15776,s)|0;ea(v|0,d|0,4,0);t=42;break}d=da(v|0,4,0,0)|0|0;if(d){t=43;break}ea(s|0,r|0,4,0);d=th(u,29568,s)|0;ea(v|0,d|0,4,0);t=42;break}m=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,m,-1,1,-1)|0;Vc(m)}else{ea(s|0,e|0,4,0);d=th(u,29416,s)|0;ea(v|0,d|0,4,0);b=0;t=42}while(0);if((t|0)==42)if(!d){p=b;t=44}else t=43;if((t|0)==43){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,d,-1,1,-1)|0;lg(u,da(v|0,4,0,0)|0|0);p=b;t=44}if((t|0)==44?(p|0)!=0:0)Od(a,p);i=w;return}function ak(a){a=a|0;if(a){hk(a,0)|0;Vc(da(a+24|0,4,0,0)|0|0);to(a)}return 0}function bk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=a+12|0;f=c&131071;j=b;h=e;i=0;a:while(1){while(1){e=bb(da(k|0,4,0,0)|0|0,d|0,0)|0;if(!((e|0)==(d|0)&(((e|0)<0)<<31>>31|0)==(h|0))){d=4;break a}g=$b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](da(k|0,4,0,0)|0|0,j,f)|0;if((f|0)==(g|0)){e=i;d=13;break a}if((g|0)>=0){e=g;break}e=da(Gb()|0|0,4,0,0)|0|0;if((e|0)!=4){f=g;d=10;break a}}if((e|0)<=0){f=0;e=i;d=13;break}g=iw(e|0,((e|0)<0)<<31>>31|0,d|0,h|0)|0;f=f-e|0;j=j+e|0;h=C;d=g;i=e+i|0}do if((d|0)==4)if((e|0)==-1){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);e=-1;break}else{ea(a+20|0,0|0,4,0);e=-1;break}else if((d|0)==10){ea(a+20|0,e|0,4,0);e=0;d=13}while(0);if((d|0)==13)e=e+f|0;if((e|0)!=(c|0))if((e|0)<0)e=266;else{ea(a+20|0,0|0,4,0);ew(b+e|0,0,c-e|0)|0;e=522}else e=0;return e|0}function ck(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if((c|0)>0){g=a+12|0;h=a+20|0;f=c;while(1){c=uo(da(g|0,4,0,0)|0|0,d,e,b,f,h)|0;if((c|0)<=0)break;f=f-c|0;d=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;if((f|0)<=0){c=0;break a}else{b=b+c|0;e=C}}if((c|0)<0?(da(h|0,4,0,0)|0|0)!=28:0){c=778;break}ea(a+20|0,0|0,4,0);c=13}else c=0;while(0);return c|0}function dk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+40|0,4,0,0)|0|0;if((d|0)>0){e=((d|0)<0)<<31>>31;c=iw(b|0,c|0,-1,-1)|0;c=iw(c|0,C|0,d|0,e|0)|0;b=C;d=qw(c|0,b|0,d|0,e|0)|0;d=cw(c|0,b|0,d|0,C|0)|0}else d=b;c=da(a+12|0,4,0,0)|0|0;while(1){b=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](c,d)|0;if((b|0)>=0){d=6;break}b=Gb()|0;if((da(b|0,4,0,0)|0|0)!=4){d=8;break}}if((d|0)==6)if(!b)b=0;else{b=Gb()|0;d=8}if((d|0)==8){ea(a+20|0,da(b|0,4,0,0)|0|0,4,0);b=bo(1546,47928,da(a+32|0,4,0,0)|0|0,29004)|0}return b|0}function ek(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;if(!(Fb(da(a+12|0,4,0,0)|0|0)|0)){e=a+18|0;if(!((da(e|0,2,0,0)|0)&8))b=0;else{b=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](da(a+32|0,4,0,0)|0|0,d)|0;c=da(d|0,4,0,0)|0|0;if((b|0)==0&(c|0)>-1){Fb(c|0)|0;$n(a,da(d|0,4,0,0)|0|0,28974);b=0}else b=(b|0)==14?0:b;ea(e|0,(da(e|0,2,0,1)|0|0)&65527|0,2,0)}}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);b=bo(1034,48360,da(a+32|0,4,0,0)|0|0,28960)|0}i=f;return b|0}function fk(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+80|0;if((i|0)>=(j|0))ba();c=d;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,c)|0)){c=da(c+36|0,4,0,0)|0|0;a=(c|0)==1;ea(b|0,(a?0:c)|0,4,0);ea(b+4|0,(a?0:((c|0)<0)<<31>>31)|0,4,0);c=0}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=1802}i=d;return c|0}function gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if(!(da(e>>0|0,1,0,0)|0)){c=qc[(fa(da(47552+220|0,4,0,0)|0|0,127|0)|0)&127](d,511)|0;if((c|0)>=0){ea(e>>0|0,b|0,1,0);break}d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{c=5;break a}case 1:{c=3;break}default:c=3850}ea(a+20|0,d|0,4,0)}else{ea(e>>0|0,b|0,1,0);Xa(d|0,0)|0;c=0}while(0);return c|0}function hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if((da(e>>0|0,1,0,1)|0|0|0)==(b|0))c=0;else{if((b|0)==1){ea(e>>0|0,1|0,1,0);c=0;break}do if((kc[(fa(da(47552+232|0,4,0,0)|0|0,127|0)|0)&127](d)|0)<0){c=Gb()|0;b=da(c|0,4,0,0)|0|0;if((b|0)==20){if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](d)|0)>=0)break;b=da(c|0,4,0,0)|0|0}d=(b|0)!=2;c=d?2058:0;if(!d)break a;ea(a+20|0,b|0,4,0);break a}while(0);ea(e>>0|0,0|0,1,0);c=0}while(0);return c|0}function ik(a,b){a=a|0;b=b|0;if((da(a+16>>0|0,1,0,1)|0|0)>1)a=1;else a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](da(a+24|0,4,0,0)|0|0,0)|0)==0&1;ea(b|0,a|0,4,0);return 0}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+80|0;if((i|0)>=(j|0))ba();e=l;a:do switch(b|0){case 4:{ea(c|0,da(a+20|0,4,0,0)|0|0,4,0);d=0;break}case 20:{ea(c|0,wo(a)|0|0,4,0);d=0;break}case 12:{ea(e|0,da((da(a+4|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,4,0);ea(c|0,Zc(10344,e)|0|0,4,0);d=0;break}case 10:{vo(a,4,c);d=0;break}case 6:{ea(a+40|0,da(c|0,4,0,0)|0|0,4,0);d=0;break}case 24:{d=0;break}case 5:{b=c;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;d=a+40|0;if((da(d|0,4,0,0)|0|0)>0){k=a+12|0;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(k|0,4,0,0)|0|0,e)|0)){d=da(d|0,4,0,0)|0|0;g=((d|0)<0)<<31>>31;c=iw(c|0,b|0,-1,-1)|0;c=iw(c|0,C|0,d|0,g|0)|0;h=C;g=qw(c|0,h|0,d|0,g|0)|0;g=cw(c|0,h|0,g|0,C|0)|0;h=C;c=da(e+36|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;do if((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>c>>>0){f=da(e+40|0,4,0,0)|0|0;b=c+-1+(f<<1)|0;b=b+~((b|0)%(f|0)|0)|0;c=((b|0)<0)<<31>>31;d=a+20|0;if((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0){e=((f|0)<0)<<31>>31;do{a=(uo(da(k|0,4,0,0)|0|0,b,c,10360,1,d)|0)==1;b=iw(b|0,c|0,f|0,e|0)|0;c=C;if(!a){d=778;break a}}while((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0);b=qw(g|0,h|0,f|0,e|0)|0;if((b|0)==0&(C|0)==0)break}b=iw(g|0,h|0,-1,-1)|0;if((uo(da(k|0,4,0,0)|0|0,b,C,10360,1,d)|0)!=1){d=778;break a}}while(0);d=0}else d=1802}else d=0;break}case 16:{d=a+4|0;b=Sc(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)|0;if(!b)d=0;else{Zn(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,b)|0;ea(c|0,b|0,4,0);d=0}break}case 13:{vo(a,16,c);d=0;break}case 1:{ea(c|0,da(a+16>>0|0,1,0,1)|0|0,4,0);d=0;break}default:d=12}while(0);i=l;return d|0}function kk(a){a=a|0;return 4096}function lk(a){a=a|0;return ((da(a+18|0,2,0,0)|0)&16)<<8|0}function mk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=da(a+36|0,4,0,0)|0|0;f=da(i|0,4,0,0)|0|0;j=(1<<c+b)-(1<<b)|0;a:do if(!(d&1)){g=da(f+32|0,4,0,0)|0|0;f=(g|0)==0;if(d&4){if(f)d=0;else{d=0;f=g;do{if(j&(da(f+12|0,2,0,1)|0|0)){e=5;break a}d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((j&(d&65535)|0)==0?(h=xo(a,0,b+120|0,c)|0,(h|0)!=0):0){e=h;break}e=i+10|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0;break}if(!f){e=j&65535;d=g;do{if((da(d+12|0,2,0,1)|0|0)&e){e=5;break a}if((da(d+10|0,2,0,1)|0|0)&e){e=5;break a}d=da(d+4|0,4,0,0)|0|0}while((d|0)!=0)}e=xo(a,1,b+120|0,c)|0;if(!e){e=i+12|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0}}else{f=da(f+32|0,4,0,0)|0|0;if(!f)d=0;else{d=0;do{if((f|0)!=(i|0))d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((d&65535&j|0)==0?(e=xo(a,2,b+120|0,c)|0,(e|0)!=0):0)break;e=(j|-65536)^65535;d=i+12|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);d=i+10|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);e=0}while(0);return e|0}function nk(a){a=a|0;return}function ok(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=a+36|0;f=da(e|0,4,0,0)|0|0;if(f){g=da(f|0,4,0,0)|0|0;c=g+32|0;while(1){d=da(c|0,4,0,0)|0|0;if((d|0)==(f|0))break;else c=d+4|0}ea(c|0,da(f+4|0,4,0,0)|0|0,4,0);Vc(f);ea(e|0,0|0,4,0);d=g+28|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);if(!c){if((b|0)!=0?(da(g+12|0,4,0,0)|0|0)>-1:0)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](da(g+8|0,4,0,0)|0|0)|0;yo(a)}}return 0}function pk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(e|0,0|0,4,0);return 0}function qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);b=pb(a|0,b|0,e|0)|0;i=d;return b|0}function sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+528|0;if((i|0)>=(j|0))ba();d=g;e=g+8|0;ea(d|0,a|0,4,0);$c(512,e,10344,d)|0;a=fw(e|0)|0;a:do if((a|0)>1)while(1){c=a+-1|0;if((da(e+a>>0|0,1,0,0)|0|0)==47)break a;if((c|0)>1)a=c;else{a=c;break}}while(0);if((a|0)>0){ea(e+a>>0|0,0|0,1,0);a=_n(e,0,0)|0;ea(b|0,a|0,4,0);if((a|0)>-1)a=0;else f=7}else{ea(b|0,-1|0,4,0);f=7}if((f|0)==7){ea(d|0,28919|0,4,0);ea(d+4|0,10788|0,4,0);ad(14,14848,d);a=bo(14,47896,e,28919)|0}i=g;return a|0}function tk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Jb()|0))a=Pb(a|0,b|0,c|0)|0;else a=0;return a|0}function uk(){return vb(30)|0}function vk(a){a=a|0;to(a);return 0}function wk(a,b){a=a|0;b=b|0;return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;ea(b|0,0|0,4,0);return 0}function zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;ao(a);Bk(a,0)|0;e=da(a+8|0,4,0,0)|0|0;if(e){if(da(e+24|0,4,0,0)|0){b=a+28|0;c=da(b|0,4,0,0)|0|0;d=e+28|0;ea(c+8|0,da(d|0,4,0,0)|0|0,4,0);ea(d|0,c|0,4,0);ea(a+12|0,-1|0,4,0);ea(b|0,0|0,4,0)}c=e+16|0;b=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,b|0,4,0);if(!b){zo(a);f=e+36|0;b=da(f|0,4,0,0)|0|0;c=e+32|0;d=da(c|0,4,0,0)|0|0;if(!b)ea(12178*4|0,d|0,4,0);else ea(b+32|0,d|0,4,0);b=da(c|0,4,0,0)|0|0;if(b)ea(b+36|0,da(f|0,4,0,0)|0|0,4,0);Vc(e)}}to(a);return 0}function Ak(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;l=a+16|0;c=da(l>>0|0,1,0,0)|0|0;a:do if((c&255|0)<(b|0)){g=da(a+8|0,4,0,0)|0|0;m=g+12|0;d=da(m>>0|0,1,0,0)|0|0;if(c<<24>>24!=d<<24>>24?(d&255)>2|(b|0)>1:0){c=5;break}e=(b|0)==1;do if(e)if((d+-1&255)<2){ea(l>>0|0,1|0,1,0);c=g+8|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=g+24|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=0;break a}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);k=10;break}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);if((b|0)==4)if((c&255)<3)k=10;else{f=d;k=14}else{e=d;k=24}}while(0);if((k|0)==10){ea(h|0,e&1^1|0,2,0);ea(h+4|0,da(2514*4|0,4,0,0)|0|0,4,0);if(!(Ao(a,h)|0)){f=d;k=14}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break a}default:c=3850}ea(a+20|0,d|0,4,0);break}}b:do if((k|0)==14)if(e){e=h+4|0;ea(e|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);ea(f|0,510|0,4,0);c:do if(!(Ao(a,h)|0)){c=0;d=0}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;d=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break c}default:{c=3850;break c}}}while(0);ea(e|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(f|0,1|0,4,0);ea(h|0,2|0,2,0);do if((Ao(a,h)|0)!=0&(c|0)==0){c=2058;d=da(Gb()|0|0,4,0,0)|0|0}else{if((c|0)==5){c=5;break a}else if(c)break;ea(l>>0|0,1|0,1,0);h=g+24|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);ea(g+8|0,1|0,4,0);break b}while(0);ea(a+20|0,d|0,4,0);break a}else{e=f;k=24}while(0);do if((k|0)==24){f=(b|0)==4;if(f)if((da(g+8|0,4,0,0)|0|0)>1)c=5;else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;k=29}else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;if((b|0)==2){ea(h+4|0,d+1|0,4,0);d=1;k=30}else k=29}if((k|0)==29){ea(h+4|0,d+2|0,4,0);d=510;k=30}if((k|0)==30){ea(e|0,d|0,4,0);if(!(Ao(a,h)|0))break;d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;k=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break}default:{c=3850;k=33}}if((k|0)==33)ea(a+20|0,d|0,4,0);if(!f)break a}ea(l>>0|0,3|0,1,0);ea(m>>0|0,3|0,1,0);break a}while(0);c=b&255;ea(l>>0|0,c|0,1,0);ea(m>>0|0,c|0,1,0);c=0}else c=0;while(0);i=n;return c|0}function Bk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;g=a+16|0;c=da(g>>0|0,1,0,0)|0|0;a:do if((c&255|0)>(b|0)){h=da(a+8|0,4,0,0)|0|0;do if((c&255)>1){if((b|0)==1){ea(f|0,0|0,2,0);e=f+2|0;ea(e|0,0|0,2,0);c=f+4|0;ea(c|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);d=f+8|0;ea(d|0,510|0,4,0);if(Ao(a,f)|0){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2314;break a}}else{d=f+8|0;e=f+2|0;c=f+4|0}ea(f|0,2|0,2,0);ea(e|0,0|0,2,0);ea(c|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(d|0,2|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,1|0,1,0);break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2058;break a}}while(0);if(!b){d=h+8|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);do if(!c){ea(f|0,2|0,2,0);ea(f+2|0,0|0,2,0);ea(f+8|0,0|0,4,0);ea(f+4|0,0|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,0|0,1,0);c=0;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);ea(h+12>>0|0,0|0,1,0);ea(g>>0|0,0|0,1,0);c=2058;break}}else c=0;while(0);e=h+24|0;d=(da(e|0,4,0,0)|0|0)+-1|0;ea(e|0,d|0,4,0);if(!d)zo(a);if(c)break}ea(g>>0|0,b|0,1,0);c=0}else c=0;while(0);i=k;return c|0}function Ck(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();e=g;f=g+8|0;d=da(a+8|0,4,0,0)|0|0;h=(da(d+12>>0|0,1,0,1)|0|0)>1;c=h&1;do if(!h)if(!(da(d+13>>0|0,1,0,0)|0)){ea(f+2|0,0|0,2,0);ea(f+4|0,(da(2514*4|0,4,0,0)|0|0)+1|0,4,0);ea(f+8|0,1|0,4,0);ea(f|0,1|0,2,0);h=da(11910*4|0,4,0,0)|0|0;d=da(a+12|0,4,0,0)|0|0;ea(e|0,f|0,4,0);if(!($b[(fa(h|0,63|0)|0)&63](d,12,e)|0)){d=0;c=(da(f|0,2,0,0)|0|0)==2?c:1;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);d=3594;break}}else{d=0;c=0}else{d=0;c=1}while(0);ea(b|0,c|0,4,0);i=g;return d|0}function Dk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+160|0;if((i|0)>=(j|0))ba();u=w;p=w+76|0;g=gc[(fa(da(47552+292|0,4,0,0)|0|0,7|0)|0)&7]()|0;if((g|0)<32768)v=1;else v=(g|0)/32768|0;s=a+36|0;g=da(s|0,4,0,0)|0|0;a:do if(!g){g=Sc(16)|0;if(!g)f=7;else{ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);n=a+8|0;m=da(n|0,4,0,0)|0|0;f=da(m+20|0,4,0,0)|0|0;b:do if(!f){l=a+32|0;h=da(l|0,4,0,0)|0|0;if((qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,p)|0)!=0?(da(m+13>>0|0,1,0,0)|0|0)==0:0)f=1802;else t=8;c:do if((t|0)==8){f=fw(h|0)|0;k=f+42|0;q=Sc(k)|0;if(q){ew(q|0,0,k|0)|0;o=q+36|0;ea(q+8|0,o|0,4,0);ea(u|0,h|0,4,0);$c(f+6|0,o,48720,u)|0;f=q+12|0;ea(f|0,-1|0,4,0);n=da(n|0,4,0,0)|0|0;ea(n+20|0,q|0,4,0);ea(q|0,n|0,4,0);ea(q+4|0,8|0,4,0);if(da(m+13>>0|0,1,0,0)|0){f=q;break b}if(!(eg(da(l|0,4,0,0)|0|0,48728,0)|0))k=66;else{ea(q+22>>0|0,1|0,1,0);k=0}h=_n(o,k,(da(p+12|0,4,0,0)|0)&511)|0;ea(f|0,h|0,4,0);if((h|0)<0){ea(u|0,29706|0,4,0);ea(u+4|0,10788|0,4,0);ad(14,14848,u);f=bo(14,47896,o,29706)|0;break}$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](h,da(p+20|0,4,0,0)|0|0,da(p+24|0,4,0,0)|0|0)|0;do if(!(xo(a,1,128,1)|0)){f=da(f|0,4,0,0)|0|0;do{h=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](f,0)|0;if((h|0)>=0){r=h;t=18;break}}while((da(Gb()|0|0,4,0,0)|0|0)==4);if((t|0)==18?(r|0)==0:0)break;f=bo(4618,47928,o,29722)|0;if(f)break c}while(0);f=xo(a,0,128,1)|0;if(!f){f=q;break b}}else f=7}while(0);yo(a);Vc(g);if(f)break a;g=da(s|0,4,0,0)|0|0;t=24;break a}while(0);ea(g|0,f|0,4,0);t=f+28|0;ea(t|0,(da(t|0,4,0,0)|0|0)+1|0,4,0);ea(a+36|0,g|0,4,0);t=f+32|0;ea(g+4|0,da(t|0,4,0,0)|0|0,4,0);ea(t|0,g|0,4,0);t=24}}else t=24;while(0);if((t|0)==24){a=da(g|0,4,0,0)|0|0;s=v+b|0;s=s-((s|0)%(v|0)|0)|0;p=a+20|0;d:do if((da(p|0,2,0,1)|0|0)<(s|0)){f=_(s,c)|0;ea(a+16|0,c|0,4,0);r=a+12|0;g=da(r|0,4,0,0)|0|0;e:do if((g|0)>-1){if(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](g,u)|0){g=4874;break d}g=da(u+36|0,4,0,0)|0|0;if((g|0)<(f|0)){if(!d){g=0;break d}g=(g|0)/4096|0;f=(f|0)/4096|0;if((g|0)<(f|0)){while(1){q=g<<12|4095;g=g+1|0;if((uo(da(r|0,4,0,0)|0|0,q,((q|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((g|0)>=(f|0))break e}g=bo(4874,47976,da(a+8|0,4,0,0)|0|0,29853)|0;break d}}}while(0);o=a+24|0;g=Wc(da(o|0,4,0,0)|0|0,s<<2)|0;if(g){ea(o|0,g|0,4,0);g=da(p|0,2,0,1)|0|0;if((g|0)<(s|0)){m=_(v,c)|0;l=a+22|0;n=(v|0)>0;while(1){f=da(r|0,4,0,0)|0|0;if((f|0)>-1){g=_(g,c)|0;g=jc[(fa(da(47552+256|0,4,0,0)|0|0,7|0)|0)&7](0,m,(da(l>>0|0,1,0,0)|0|0)!=0?1:3,1,f,g)|0;if((g|0)==(-1|0))break}else{g=Sc(c)|0;if(!g){g=7;break d}ew(g|0,0,c|0)|0}h=da(p|0,2,0,0)|0|0;if(n){f=h&65535;k=0;do{q=g+(_(k,c)|0)|0;ea((da(o|0,4,0,0)|0|0)+(f+k<<2)|0,q|0,4,0);k=k+1|0}while((k|0)!=(v|0))}g=(h&65535)+v|0;ea(p|0,g|0,2,0);g=g&65535;if((g|0)>=(s|0)){g=0;break d}}g=bo(5386,48080,da(a+8|0,4,0,0)|0|0,29880)|0}else g=0}else g=3082}else g=0;while(0);if((da(p|0,2,0,1)|0|0)>(b|0))f=da((da(a+24|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;else f=0;ea(e|0,f|0,4,0);f=(da(a+22>>0|0,1,0,0)|0|0)!=0&(g|0)==0?8:g}i=w;return f|0}function Ek(a,b){a=a|0;b=b|0;var c=0;if(b)do{c=b;b=da(b+32|0,4,0,0)|0|0;Fk(a,da(c+20|0,4,0,0)|0|0);Mk(a,da(c+24|0,4,0,0)|0|0);Lk(a,da(c+8|0,4,0,0)|0|0,1);Gk(a,da(c+28|0,4,0,0)|0|0);lg(a,c)}while((b|0)!=0);return}function Fk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;do if(!((da(e|0,4,0,0)|0)&16384)){Fk(a,da(b+12|0,4,0,0)|0|0);Fk(a,da(b+16|0,4,0,0)|0|0);c=da(e|0,4,0,0)|0|0;if(c&65536){lg(a,da(b+8|0,4,0,0)|0|0);c=da(e|0,4,0,0)|0|0}d=b+20|0;if(!(c&2048)){Mk(a,da(d|0,4,0,0)|0|0);break}else{Lk(a,da(d|0,4,0,0)|0|0,1);break}}while(0);if(!((da(e|0,4,0,0)|0)&32768))lg(a,b)}return}function Gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;c=da(b|0,4,0,0)|0|0;if((da(e|0,4,0,0)|0|0)>0){d=0;do{lg(a,da(c+(d<<3)|0,4,0,0)|0|0);d=d+1|0;c=da(b|0,4,0,0)|0|0}while((d|0)<(da(e|0,4,0,0)|0|0))}lg(a,c);lg(a,b)}return}function Hk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=an(a,b,m)|0;do if(!h)if(c){l=pg(16,0)|0;if(!l)d=c;else{ea(l+12|0,b|0,4,0);ea(l+8|0,c|0,4,0);k=a+4|0;f=(da(k|0,4,0,0)|0|0)+1|0;ea(k|0,f|0,4,0);if((f>>>0>9?(e=da(a|0,4,0,0)|0|0,f>>>0>e<<1>>>0):0)?(g=f<<4>>>0>1024?128:f<<1,(g|0)!=(e|0)):0){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();k=pg(g<<3,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(k){h=a+12|0;Vc(da(h|0,4,0,0)|0|0);ea(h|0,k|0,4,0);h=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](k)|0)>>>3;ea(a|0,h|0,4,0);ew(k|0,0,h<<3|0)|0;c=a+8|0;f=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(f)do{g=da(f+12|0,4,0,0)|0|0;e=da(g>>0|0,1,0,0)|0|0;if(!(e<<24>>24))e=0;else{c=e;e=0;do{g=g+1|0;e=e<<3^e^(da(9328+(c&255)>>0|0,1,0,1)|0|0);c=da(g>>0|0,1,0,0)|0|0}while(c<<24>>24!=0)}c=f;f=da(f|0,4,0,0)|0|0;Bo(a,k+(((e>>>0)%(h>>>0)|0)<<3)|0,c)}while((f|0)!=0);d=da(b>>0|0,1,0,0)|0|0;if(!(d<<24>>24))d=0;else{f=d;d=0;do{b=b+1|0;d=d<<3^d^(da(9328+(f&255)>>0|0,1,0,1)|0|0);f=da(b>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}ea(m|0,(d>>>0)%((da(a|0,4,0,0)|0|0)>>>0)|0|0,4,0)}}d=da(a+12|0,4,0,0)|0|0;if(!d)d=0;else d=d+((da(m|0,4,0,0)|0)<<3)|0;Bo(a,d,l);d=0}}else d=0;else{f=h+8|0;d=da(f|0,4,0,0)|0|0;if(c){ea(f|0,c|0,4,0);ea(h+12|0,b|0,4,0);break}g=da(m|0,4,0,0)|0|0;f=da(h+4|0,4,0,0)|0|0;e=da(h|0,4,0,0)|0|0;if(!f)ea(a+8|0,e|0,4,0);else{ea(f|0,e|0,4,0);e=da(h|0,4,0,0)|0|0}if(e)ea(e+4|0,f|0,4,0);b=da(a+12|0,4,0,0)|0|0;if(b){f=b+(g<<3)+4|0;if((da(f|0,4,0,0)|0|0)==(h|0))ea(f|0,e|0,4,0);m=b+(g<<3)|0;ea(m|0,(da(m|0,4,0,0)|0|0)+-1|0,4,0)}Vc(h);l=a+4|0;m=(da(l|0,4,0,0)|0|0)+-1|0;ea(l|0,m|0,4,0);if(!m)Nl(a)}while(0);i=n;return d|0}function Ik(a,b){a=a|0;b=b|0;Fk(a,da(b+36|0,4,0,0)|0|0);lg(a,da(b+16|0,4,0,0)|0|0);if((da(b+51>>0|0,1,0,0)|0)&16)lg(a,da(b+32|0,4,0,0)|0|0);lg(a,b);return}function Jk(a,b){a=a|0;b=b|0;var c=0;if(b){c=da(b+28|0,4,0,0)|0|0;Fk(a,da(c+20|0,4,0,0)|0|0);Mk(a,da(c+24|0,4,0,0)|0|0);Lk(a,da(c+8|0,4,0,0)|0|0,1);Fk(a,da(b+12|0,4,0,0)|0|0);lg(a,b)}return}function Kk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=b+4|0;c=da(e|0,4,0,0)|0|0;if(c){b=b+38|0;if((da(b|0,2,0,0)|0|0)>0){d=0;while(1){lg(a,da(c|0,4,0,0)|0|0);Fk(a,da(c+4|0,4,0,0)|0|0);lg(a,da(c+8|0,4,0,0)|0|0);lg(a,da(c+12|0,4,0,0)|0|0);lg(a,da(c+16|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(b|0,2,0,0)|0|0))break;else c=c+24|0}c=da(e|0,4,0,0)|0|0}lg(a,c)}return}function Lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b){d=(c|0)==0;c=b;while(1){b=c;c=da(c+52|0,4,0,0)|0|0;Mk(a,da(b|0,4,0,0)|0|0);Co(a,da(b+32|0,4,0,0)|0|0);Fk(a,da(b+36|0,4,0,0)|0|0);Mk(a,da(b+40|0,4,0,0)|0|0);Fk(a,da(b+44|0,4,0,0)|0|0);Mk(a,da(b+48|0,4,0,0)|0|0);Fk(a,da(b+60|0,4,0,0)|0|0);Fk(a,da(b+64|0,4,0,0)|0|0);Pn(a,da(b+68|0,4,0,0)|0|0);if(!d)lg(a,b);if(!c)break;else d=0}}return}function Mk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){c=b+4|0;if((da(b|0,4,0,0)|0|0)>0){d=0;e=da(c|0,4,0,0)|0|0;while(1){Fk(a,da(e|0,4,0,0)|0|0);lg(a,da(e+4|0,4,0,0)|0|0);lg(a,da(e+8|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(b|0,4,0,0)|0|0))break;else e=e+20|0}}lg(a,da(c|0,4,0,0)|0|0);lg(a,b)}return}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=b+60|0;c=da(g|0,4,0,0)|0|0;ea(g|0,0|0,4,0);a:do if(!c)b=0;else{b=0;do{while(1){e=da(c|0,4,0,0)|0|0;d=c+24|0;f=c;c=da(d|0,4,0,0)|0|0;if((e|0)==(a|0)){b=f;break}e=e+332|0;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(e|0,f|0,4,0);if(!c)break a}ea(g|0,b|0,4,0);ea(d|0,0|0,4,0)}while((c|0)!=0)}while(0);return b|0}function Ok(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)!=0?(d=b+(c*20|0)|0,(c|0)>0):0){c=b;do{Hn(a,da(c+1>>0|0,1,0,0)|0|0,da(c+16|0,4,0,0)|0|0);c=c+20|0}while(c>>>0<d>>>0)}lg(a,b);return}function Pk(a,b){a=a|0;b=b|0;do if(!a)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;else{if((da(a+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(a+280|0,4,0,0)|0|0)>>>0>b>>>0:0){b=da(a+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0}while(0);a=da(a+520|0,4,0,0)|0|0;ea(a|0,(da(a|0,4,0,0)|0|0)+b|0,4,0);return}function Qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=da(a+(b<<2)|0,4,0,0)|0|0;a:do if(!a)a=0;else while(1){b=da(a+24|0,4,0,0)|0|0;if((Ec(b,c,d)|0)==0?(da(b+d>>0|0,1,0,0)|0|0)==0:0)break a;a=da(a+28|0,4,0,0)|0|0;if(!a){a=0;break}}while(0);return a|0}function Rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+12|0;e=da(d|0,4,0,0)|0|0;f=e+c|0;if((f|0)<(da(a+16|0,4,0,0)|0|0)){ea(d|0,f|0,4,0);jw((da(a+8|0,4,0,0)|0|0)+e|0,b|0,c|0)|0}else Do(a,b,c);return}function Sk(a){a=a|0;var b=0,c=0;c=a+4|0;b=da(c|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)>(b|0)){ea(c|0,b+1|0,4,0);c=Ug(da((da(a+8|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0)|0;b=C}else{b=0;c=0}C=b;return c|0}function Tk(a){a=a|0;var b=0,c=0;b=a+4|0;c=da(b|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)>(c|0)){ea(b|0,c+1|0,4,0);b=Rg(da((da(a+8|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0,1)|0}else b=0;return b|0}function Uk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=a+12|0;g=da(e|0,4,0,0)|0|0;g=iw(g|0,((g|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;i=C;f=da(a+16|0,4,0,0)|0|0;h=((f|0)<0)<<31>>31;if((i|0)<(h|0)|(i|0)==(h|0)&g>>>0<f>>>0){if((b|0)>0)d=4}else{b=Eo(a,b)|0;if((b|0)>=1)d=4}if((d|0)==4){a=a+8|0;do{b=b+-1|0;d=da(e|0,4,0,0)|0|0;ea(e|0,d+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+d>>0|0,c|0,1,0)}while((b|0)>0)}return}function Vk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=i;i=i+112|0;if((i|0)>=(j|0))ba();g=d+28|0;f=d;e=da(a+88|0,4,0,0)|0|0;ea(f+4|0,g|0,4,0);ea(f+8|0,g|0,4,0);ea(f+12|0,0|0,4,0);ea(f+16|0,70|0,4,0);ea(f+20|0,e|0,4,0);ea(f+24>>0|0,1|0,1,0);e=f+25|0;ea(e>>0|0,0|0,1,0);ea(f|0,a|0,4,0);rg(f,1,b,c);c=sg(f)|0;if((da(e>>0|0,1,0,0)|0|0)==1)ea(a+65>>0|0,1|0,1,0);i=d;return c|0}function Wk(a){a=a|0;return kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0}function Xk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+80|0;if((i|0)>=(j|0))ba();h=k+40|0;e=k;if((b|0)!=0?(d=da(b+20|0,4,0,0)|0|0,(d|0)!=0):0){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);f=e+0|0;g=f+40|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));ea(e+8|0,1|0,2,0);c=a+32|0;ea(e+32|0,da(c|0,4,0,0)|0|0,4,0);ea(h|0,e|0,4,0);ea(h+8|0,a|0,4,0);ea(h+4|0,b|0,4,0);bc[(fa(d|0,31|0)|0)&31](h);if((da(a+24|0,4,0,0)|0|0)>0)lg(da(c|0,4,0,0)|0|0,da(a+20|0,4,0,0)|0|0);f=a+0|0;c=e+0|0;g=f+40|0;do{ea(f|0,da(c|0,4,0,0)|0|0,4,0);f=f+4|0;c=c+4|0}while((f|0)<(g|0));c=da(h+20|0,4,0,0)|0|0}else c=0;i=k;return c|0}function Yk(a){a=a|0;var b=0,c=0,d=0;b=da(a|0,4,0,0)|0|0;if(b){c=a+4|0;do{d=b;b=da(b|0,4,0,0)|0|0;lg(da(c|0,4,0,0)|0|0,d)}while((b|0)!=0)}ea(a|0,0|0,4,0);ea(a+24|0,0|0,2,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+20|0,0|0,4,0);ea(a+26|0,1|0,2,0);return}function Zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=g+4|0;b=da(a|0,4,0,0)|0|0;c=b+16|0;do if((da((da(c|0,4,0,0)|0|0)+20|0,4,0,0)|0|0)==0?(da(a+450>>0|0,1,0,0)|0|0)==0:0){d=ym(da(b|0,4,0,0)|0|0,0,b,e,0,542)|0;if(d){sh(a,25496,f);ea(a+12|0,d|0,4,0);b=1;break}d=da(e|0,4,0,0)|0|0;ea((da(c|0,4,0,0)|0|0)+20|0,d|0,4,0);if((wg(d,da(b+72|0,4,0,0)|0|0,-1,0)|0)==7){ea(b+65>>0|0,1|0,1,0);b=1}else b=0}else b=0;while(0);i=g;return b|0}function _k(a){a=a|0;var b=0;do if(a)if((da(3157*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(3158*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(2167*4|0,(da(2167*4|0,4,0,0)|0|0)+-1|0,4,0);ea(a|0,da(3160*4|0,4,0,0)|0|0,4,0);ea(3160*4|0,a|0,4,0);a=(da(3161*4|0,4,0,0)|0|0)+1|0;ea(3161*4|0,a|0,4,0);ea(3162*4|0,(a|0)<(da(3156*4|0,4,0,0)|0|0)&1|0,4,0);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2168*4|0,(da(2168*4|0,4,0,0)|0|0)-b|0,4,0);Vc(a);break}while(0);return}function $k(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;h=da(b|0,4,0,0)|0|0;if((da(a+15>>0|0,1,0,0)|0|0)!=0?(da(a+24|0,4,0,0)|0|0)!=0:0)m=12;else m=3;do if((m|0)==3){g=a+204|0;if(((h|0)!=0?(da((da(g|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)==0:0)?(l=a+152|0,(h|0)!=(da(l|0,4,0,0)|0|0)):0){o=k;ea(o|0,0|0,4,0);ea(o+4|0,0|0,4,0);if(((da(a+16>>0|0,1,0,0)|0|0)!=0?(e=da(a+60|0,4,0,0)|0|0,d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(f=qc[(fa(da(d+24|0,4,0,0)|0|0,127|0)|0)&127](e,k)|0,(f|0)!=0):0){d=0;c=f}else{d=Fo(h)|0;if(d){wn(a);e=Go(da(g|0,4,0,0)|0|0,h)|0;if(!e){m=a+200|0;_k(da(m|0,4,0,0)|0|0);ea(m|0,d|0,4,0);m=k;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;g=iw(h|0,0,-1,-1)|0;m=iw(g|0,C|0,k|0,m|0)|0;m=pw(m|0,C|0,h|0,0)|0;ea(a+24|0,m|0,4,0);ea(l|0,h|0,4,0);m=12;break}else c=e}else{d=0;c=7}}_k(d);ea(b|0,da(l|0,4,0,0)|0|0,4,0)}else m=12}while(0);if((m|0)==12){ea(b|0,da(a+152|0,4,0,0)|0|0,4,0);d=a+142|0;if((c|0)<0)c=da(d|0,2,0,0)|0|0;ea(d|0,c|0,2,0);c=0}i=n;return c|0}function al(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a+4|0,4,0,0)|0|0;a:do if(da(a+9>>0|0,1,0,0)|0){if((da(e+76|0,4,0,0)|0|0)!=(a|0)?((da(e+22|0,2,0,0)|0)&32)!=0:0){d=262;break}d=da(e+72|0,4,0,0)|0|0;if(d){while(1){if(((da(d|0,4,0,0)|0|0)!=(a|0)?(da(d+4|0,4,0,0)|0|0)==(b|0):0)?(da(d+8>>0|0,1,0,0)|0|0)!=c<<24>>24:0)break;d=da(d+12|0,4,0,0)|0|0;if(!d){d=0;break a}}if(c<<24>>24==2){d=e+22|0;ea(d|0,da(d|0,2,0,1)|0|64|0,2,0);d=262}else d=262}else d=0}else d=0;while(0);return d|0}function bl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+64|0;if((i|0)>=(j|0))ba();B=C;y=C+28|0;x=C+24|0;h=C+20|0;o=C+48|0;q=C+16|0;r=C+12|0;v=C+8|0;w=C+32|0;if(!((da(a+15>>0|0,1,0,0)|0|0)!=0?(b=da(a+40|0,4,0,0)|0|0,(b|0)!=0):0))A=3;do if((A|0)==3){z=a+208|0;c=da(z|0,4,0,0)|0|0;a:do if(!c){u=a+16|0;do if(!(da(u>>0|0,1,0,0)|0)){e=a+176|0;d=a+180|0;while(1){b=el(a,1)|0;if(!b)break;else if((b|0)!=5)break a;if(!(kc[(fa(da(e|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)){b=5;break a}}p=a+17|0;if((da(p>>0|0,1,0,1)|0|0)<2){c=da(a|0,4,0,0)|0|0;ea(B|0,1|0,4,0);f=a+64|0;g=(da(da(f|0,4,0,0)|0|0,4,0,0)|0|0)!=0;if(g){e=1;b=0}else{b=oc[(fa(da(c+32|0,4,0,0)|0|0,31|0)|0)&31](c,da(a+172|0,4,0,0)|0|0,0,B)|0;e=(da(B|0,4,0,0)|0|0)!=0}b:do if((b|0)==0&e){ea(y|0,0|0,4,0);d=a+60|0;b=da(d|0,4,0,0)|0|0;b=qc[(fa(da((da(b|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,127|0)|0)&127](b,y)|0;if(!(da(y|0,4,0,0)|0|b)){b=Ho(a,x)|0;if(!b){if((da(x|0,4,0,0)|0|0)!=0|g){do if(!g){ea(h|0,2049|0,4,0);b=sc[(fa(da(c+24|0,4,0,0)|0|0,31|0)|0)&31](c,da(a+172|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0,2049,h)|0;if(!b)break;else if((b|0)!=14){e=0;break b}e=1;b=0;break b}while(0);ea(o>>0|0,0|0,1,0);b=da(f|0,4,0,0)|0|0;b=sc[(fa(da((da(b|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](b,o,1,0,0)|0;b=(b|0)==522?0:b;if(!g?(m=da(f|0,4,0,0)|0|0,n=da(m|0,4,0,0)|0|0,(n|0)!=0):0){kc[(fa(da(n+4|0,4,0,0)|0|0,127|0)|0)&127](m)|0;ea(m|0,0|0,4,0)}e=(da(o>>0|0,1,0,0)|0|0)!=0&1;break}e=da(3164*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]();do if(((el(a,2)|0)==0?($b[(fa(da(c+28|0,4,0,0)|0|0,63|0)|0)&63](c,da(a+172|0,4,0,0)|0|0,0)|0,(da(a+4>>0|0,1,0,0)|0|0)==0):0)?(k=da(d|0,4,0,0)|0|0,l=da(k|0,4,0,0)|0|0,(l|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(l+32|0,4,0,0)|0|0,127|0)|0)&127](k,1)|0;if((da(p>>0|0,1,0,0)|0|0)==5)break;ea(p>>0|0,1|0,1,0)}while(0);e=da(3166*4|0,4,0,0)|0|0;if(!e){e=0;b=0}else{mc[(fa(e|0,3|0)|0)&3]();e=0;b=0}}else e=0}else e=0}else e=0;while(0);if(b)break a;if(e)A=35}else A=35;do if((A|0)==35){if(da(a+14>>0|0,1,0,0)|0){b=776;break a}b=el(a,4)|0;if(b)break a;c=a+64|0;if(!(da(da(c|0,4,0,0)|0|0,4,0,0)|0)){e=da(a|0,4,0,0)|0|0;d=a+172|0;b=oc[(fa(da(e+32|0,4,0,0)|0|0,31|0)|0)&31](e,da(d|0,4,0,0)|0|0,0,q)|0;if((b|0)==0&(da(q|0,4,0,0)|0|0)!=0){ea(r|0,0|0,4,0);b=sc[(fa(da(e+24|0,4,0,0)|0|0,31|0)|0)&31](e,da(d|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,2050,r)|0;if(!b)if((da(r|0,4,0,0)|0)&1){ea(B|0,46645|0,4,0);ea(B+4|0,10788|0,4,0);ad(14,14848,B);e=da(c|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if(!d)b=14;else{kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0);b=14}}else b=0}}else b=0;if(!(da(da(c|0,4,0,0)|0|0,4,0,0)|0))if((da(a+4>>0|0,1,0,0)|0|0)==0?(s=da(a+60|0,4,0,0)|0|0,t=da(s|0,4,0,0)|0|0,(t|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(t+32|0,4,0,0)|0|0,127|0)|0)&127](s,1)|0;if((da(p>>0|0,1,0,0)|0|0)!=5){ea(p>>0|0,1|0,1,0);A=52}else A=52}else A=52;else{b=Io(a)|0;if(!b){b=Jo(a,1)|0;ea(u>>0|0,0|0,1,0);A=52}}if((A|0)==52)if(!b)break;y=b&255;if(!((y|0)==10|(y|0)==13))break a;ea(a+40|0,b|0,4,0);ea(u>>0|0,6|0,1,0);break a}while(0);e=a+12|0;if((da(e>>0|0,1,0,0)|0|0)==0?(da(a+23>>0|0,1,0,0)|0|0)!=0:0){ea(v|0,0|0,4,0);b=Ho(a,v)|0;if(b)break a;if(da(v|0,4,0,0)|0){b=da(a+60|0,4,0,0)|0|0;b=sc[(fa(da((da(b|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](b,w,16,24,0)|0;if(!((b|0)==0|(b|0)==522))break a}else{d=w+0|0;c=d+16|0;do{ea(d>>0|0,0|0,1,0);d=d+1|0}while((d|0)<(c|0))}if(Yv(a+104|0,w,16)|0)wn(a)}if(!(da(e>>0|0,1,0,0)|0)){b=Ho(a,x)|0;if(!b){d=da(a|0,4,0,0)|0|0;c=da(a+212|0,4,0,0)|0|0;if(!(da(x|0,4,0,0)|0)){b=$b[(fa(da(d+28|0,4,0,0)|0|0,63|0)|0)&63](d,c,0)|0;ea(y|0,0|0,4,0);if((b|0)!=5898)A=68}else{b=oc[(fa(da(d+32|0,4,0,0)|0|0,31|0)|0)&31](d,c,0,y)|0;A=68}if((A|0)==68){if(b)break;if(da(y|0,4,0,0)|0){b=dl(a,0)|0;break}}b=a+5|0;if((da(b>>0|0,1,0,0)|0|0)==5){ea(b>>0|0,0|0,1,0);b=0}else b=0}}else b=0}else b=0;while(0);c=da(z|0,4,0,0)|0|0;if(!c)A=78;else A=74}else A=74;while(0);if((A|0)==74){ea(B|0,0|0,4,0);Ko(c);c=da(z|0,4,0,0)|0|0;d=0;do{d=d+1|0;b=Lo(c,B,0,d)|0}while((b|0)==-1);if(!(da(B|0,4,0,0)|0|b))A=78;else{wn(a);A=78}}if((A|0)==78){if((da(a+16>>0|0,1,0,0)|0|0)==0&(b|0)==0)b=Ho(a,a+24|0)|0;if(!b){ea(a+16>>0|0,1|0,1,0);b=0;break}}Mo(a)}while(0);i=C;return b|0}function cl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=yg(da(a|0,4,0,0)|0|0,b,e,d)|0;if(!d){e=da(e|0,4,0,0)|0|0;d=da(e+8|0,4,0,0)|0|0;ea(d+56|0,da(e+4|0,4,0,0)|0|0,4,0);ea(d+68|0,e|0,4,0);ea(d+52|0,a|0,4,0);ea(d+72|0,b|0,4,0);ea(d+6>>0|0,((b|0)==1?100:0)|0,1,0);ea(c|0,d|0,4,0);d=0}i=f;return d|0}function dl(a,b){a=a|0;b=b|0;var c=0,d=0;do if((da(a+12>>0|0,1,0,0)|0|0)==0?(da(a+208|0,4,0,0)|0|0)==0:0){b=da(da(a+60|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(a+4>>0|0,1,0,0)|0)){if((da(b|0,4,0,0)|0|0)<=1){b=14;break}if(!(da(b+52|0,4,0,0)|0)){b=14;break}}b=da(a+64|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}b=on(a)|0;if(!b){ea(a+5>>0|0,5|0,1,0);ea(a+16>>0|0,0|0,1,0);b=0}}else d=10;while(0);if((d|0)==10){ea(b|0,1|0,4,0);b=0}return b|0}function el(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+17|0;c=da(d>>0|0,1,0,0)|0|0;do if((c&255|0)<(b|0)|c<<24>>24==5){if(!(da(a+13>>0|0,1,0,0)|0)){c=da(a+60|0,4,0,0)|0|0;c=qc[(fa(da((da(c|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,127|0)|0)&127](c,b)|0;if(c)break;c=da(d>>0|0,1,0,0)|0|0}if(c<<24>>24!=5|(b|0)==4){ea(d>>0|0,b|0,1,0);c=0}else c=0}else c=0;while(0);return c|0}function fl(a){a=a|0;var b=0,c=0,d=0;b=da(a+4|0,4,0,0)|0|0;a=da(b+444|0,4,0,0)|0|0;if((a|0)!=0?(d=b+452|0,c=da(d|0,4,0,0)|0|0,(c|0)>=0):0){a=qc[(fa(a|0,127|0)|0)&127](da(b+448|0,4,0,0)|0|0,c)|0;if(!a)b=-1;else b=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,b|0,4,0)}else a=0;return a|0}function gl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=a+96|0;c=da(l|0,4,0,0)|0|0;a:do if((c|0)<(b|0)?(da(a+6>>0|0,1,0,0)|0|0)!=0:0){d=a+92|0;o=qg(da(d|0,4,0,0)|0|0,b*48|0,0)|0;if(!o)c=7;else{ew(o+(c*48|0)|0,0,(b-c|0)*48|0)|0;ea(d|0,o|0,4,0);g=a+24|0;h=a+64|0;i=a+148|0;j=a+52|0;k=a+208|0;f=a+72|0;while(1){e=da(g|0,4,0,0)|0|0;a=o+(c*48|0)|0;ea(o+(c*48|0)+20|0,e|0,4,0);if((da(da(h|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(n=f,m=da(n|0,4,0,0)|0|0,n=da(n+4|0,4,0,0)|0|0,(n|0)>0|(n|0)==0&m>>>0>0):0){ea(a|0,m|0,4,0);ea(a+4|0,n|0,4,0)}else{ea(a|0,da(i|0,4,0,0)|0|0,4,0);ea(a+4|0,0|0,4,0)}ea(o+(c*48|0)+24|0,da(j|0,4,0,0)|0|0,4,0);d=pg(512,0)|0;if(!d)break;ew(d|0,0,512)|0;ea(d|0,e|0,4,0);ea(o+(c*48|0)+16|0,d|0,4,0);d=da(k|0,4,0,0)|0|0;if(d){ea(o+(c*48|0)+28|0,da(d+68|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+32|0,da(d+76|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+36|0,da(d+80|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+40|0,da(d+104|0,4,0,0)|0|0,4,0)}c=c+1|0;ea(l|0,c|0,4,0);if((c|0)>=(b|0)){c=0;break a}}ea(o+(c*48|0)+16|0,d|0,4,0);c=7}}else c=0;while(0);return c|0}function hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do if(c){d=da(c+4|0,4,0,0)|0|0;if(!(da(d|0,4,0,0)|0)){d=No(a,b,c)|0;break}c=d+26|0;e=da(c|0,2,0,0)|0|0;if(!(e<<16>>16)){f=a+12|0;ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0)}ea(c|0,e+1<<16>>16|0,2,0);if((b|0)==1)ea(a+44|0,d|0,4,0)}else d=0;while(0);return d|0}function il(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=a+96|0;c=da(g|0,4,0,0)|0|0;if((c|0)>0){f=a+92|0;e=0;a=0;do{d=da(f|0,4,0,0)|0|0;if((da(d+(e*48|0)+20|0,4,0,0)|0|0)>>>0>=b>>>0){a=ai(da(d+(e*48|0)+16|0,4,0,0)|0|0,b)|0|a;c=da(g|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}else a=0;return a|0}function jl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();t=v;p=v+16|0;q=v+12|0;s=v+8|0;n=da(a+68|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(a+40|0,2,0,0)|0|0)!=0:0){o=b*383&8191;r=(n+33|0)>>>12;b:while(1){d=Oo(a,r,p,q,s)|0;if(d)break a;d=(da(p|0,4,0,0)|0|0)+(o<<1)|0;if(!(da(d|0,2,0,0)|0))d=0;else{k=da(s|0,4,0,0)|0|0;l=da(p|0,4,0,0)|0|0;m=da(q|0,4,0,0)|0|0;f=d;g=o;d=0;h=8192;while(1){e=(da(f|0,2,0,1)|0|0)+k|0;if(e>>>0<=n>>>0)d=(da(m+((da(f|0,2,0,1)|0)<<2)|0,4,0,0)|0|0)==(b|0)?e:d;if(!h){u=11;break b}g=g+1&8191;f=l+(g<<1)|0;if(!(da(f|0,2,0,0)|0))break;else h=h+-1|0}}if((r|0)>0&(d|0)==0)r=r+-1|0;else{u=14;break}}if((u|0)==11){ea(t|0,51262|0,4,0);ea(t+4|0,10788|0,4,0);ad(11,13600,t);d=11;break}else if((u|0)==14){ea(c|0,d|0,4,0);d=0;break}}else u=3;while(0);if((u|0)==3){ea(c|0,0|0,4,0);d=0}i=v;return d|0}function kl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=da(a+16|0,4,0,0)|0|0;f=da(a+20|0,4,0,0)|0|0;c=da(e+152|0,4,0,0)|0|0;a=a+4|0;d=da(a|0,4,0,0)|0|0;if(!b){b=rw(f+-1|0,0,c|0,((c|0)<0)<<31>>31|0)|0;g=da(e+60|0,4,0,0)|0|0;b=sc[(fa(da((da(g|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](g,d,c,b,C)|0;b=(b|0)==522?0:b}else{h=da(e+208|0,4,0,0)|0|0;g=da(h+66|0,2,0,1)|0|0;g=g<<16&65536|g&65024;b=rw(g|24|0,0,b+-1|0,0)|0;b=iw(b|0,C|0,56,0)|0;h=da(h+8|0,4,0,0)|0|0;b=sc[(fa(da((da(h|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](h,d,(g|0)<(c|0)?g:c,b,C)|0}do if((f|0)==1)if(!b){d=e+104|0;c=(da(a|0,4,0,0)|0|0)+24|0;a=d+16|0;do{ea(d>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;c=c+1|0}while((d|0)<(a|0));break}else{d=e+104|0;a=d+16|0;do{ea(d>>0|0,255|0,1,0);d=d+1|0}while((d|0)<(a|0));break}while(0);return b|0}function ll(a){a=a|0;var b=0,c=0;if((da(a+24|0,2,0,0)|0)&2)Po(a,1);b=da(a+28|0,4,0,0)|0|0;c=b+12|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);if((da(a+20|0,4,0,0)|0|0)==1)ea(b+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(b+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,1);return}function ml(a){a=a|0;var b=0;b=da(a+16>>0|0,1,0,0)|0|0;do if(!(b<<24>>24==0|b<<24>>24==6)){if((b&255)<=1){if(da(a+4>>0|0,1,0,0)|0)break;Bl(a,0,0)|0;break}b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();Gl(a)|0;b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]()}while(0);Mo(a);return}function nl(a){a=a|0;var b=0,c=0;c=a+26|0;b=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,b|0,2,0);do if(!(b<<16>>16)){b=da(a+28|0,4,0,0)|0|0;c=b+12|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);if((da(a+24|0,2,0,0)|0)&2){if(!(da(a+36|0,4,0,0)|0))break;Po(a,3);break}if(da(b+28>>0|0,1,0,0)|0){if((da(a+20|0,4,0,0)|0|0)==1)ea(b+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(b+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,0)}}while(0);return}function ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=da(a+56|0,4,0,0)|0|0;g=da(a+52|0,4,0,0)|0|0;c=da(a+6>>0|0,1,0,1)|0|0;d=f+c|0;e=g+36|0;if((da(g+22|0,2,0,0)|0)&4)ew(d|0,0,(da(e|0,4,0,0)|0|0)-c|0)|0;ea(d>>0|0,b|0,1,0);d=c+(b>>>1&4^12)|0;h=f+(c+1)|0;ea(h>>0|0,0|0,1,0);ea(h+1>>0|0,0|0,1,0);ea(h+2>>0|0,0|0,1,0);ea(h+3>>0|0,0|0,1,0);ea(f+(c+7)>>0|0,0|0,1,0);ea(f+(c+5)>>0|0,(da(e|0,4,0,0)|0|0)>>>8|0,1,0);ea(f+(c+6)>>0|0,da(e|0,4,0,0)|0|0,1,0);ea(a+16|0,(da(e|0,4,0,0)|0|0)-d|0,2,0);Qo(a,b)|0;ea(a+14|0,d|0,2,0);ea(a+60|0,f+(da(e|0,4,0,0)|0|0)|0,4,0);ea(a+64|0,f+(d&65535)|0,4,0);ea(a+1>>0|0,0|0,1,0);ea(a+20|0,(da(g+32|0,4,0,0)|0|0)+65535|0,2,0);ea(a+18|0,0|0,2,0);ea(a>>0|0,1|0,1,0);return}function pl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();e=f+16|0;d=f;b=a+8|0;ea(e+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(b+12|0,4,0,0)|0|0,4,0);c=a+40|0;ea(d+0|0,da(c+0|0,4,0,0)|0|0,4,0);ea(d+4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+8|0,da(c+8|0,4,0,0)|0|0,4,0);ea(d+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea(c+0|0,0|0,4,0);ea(c+4|0,0|0,4,0);ea(c+8|0,0|0,4,0);ea(c+12|0,0|0,4,0);Nl(a+24|0);c=da(d+8|0,4,0,0)|0|0;if(c)do{ig(0,da(c+8|0,4,0,0)|0|0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);Nl(d);ea(b+0|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);b=da(e+8|0,4,0,0)|0|0;if(b)do{jg(0,da(b+8|0,4,0,0)|0|0);b=da(b|0,4,0,0)|0|0}while((b|0)!=0);Nl(e);Nl(a+56|0);ea(a+72|0,0|0,4,0);b=a+78|0;c=da(b|0,2,0,0)|0|0;if(c&1){d=a+4|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b|0,c&65534|0,2,0)}i=f;return}function ql(a){a=a|0;var b=0,c=0;c=a+332|0;b=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(b){a=da(a+4|0,4,0,0)|0|0;if(a)do{c=a+88|0;ea(c|0,da(c|0,2,0,0)|0|8|0,2,0);a=da(a+52|0,4,0,0)|0|0}while((a|0)!=0);do{a=b;b=da(b+24|0,4,0,0)|0|0;zn(a)}while((b|0)!=0)}return}function rl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+20|0;b=da(f|0,4,0,0)|0|0;i=a+16|0;c=da(i|0,4,0,0)|0|0;if((b|0)>2){e=2;d=2;do{b=c+(e<<4)|0;if(!(da(c+(e<<4)+4|0,4,0,0)|0)){lg(a,da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0)}else{if((d|0)<(e|0)){c=c+(d<<4)|0;ea(c+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(b+12|0,4,0,0)|0|0,4,0)}d=d+1|0}e=e+1|0;b=da(f|0,4,0,0)|0|0;c=da(i|0,4,0,0)|0|0}while((e|0)<(b|0))}else d=2;ew(c+(d<<4)|0,0,b-d<<4|0)|0;ea(f|0,d|0,4,0);if((d|0)<3?(g=da(i|0,4,0,0)|0|0,h=a+456|0,(g|0)!=(h|0)):0){ea(h+0|0,da(g+0|0,4,0,0)|0|0,4,0);ea(h+4|0,da(g+4|0,4,0,0)|0|0,4,0);ea(h+8|0,da(g+8|0,4,0,0)|0|0,4,0);ea(h+12|0,da(g+12|0,4,0,0)|0|0,4,0);ea(h+16|0,da(g+16|0,4,0,0)|0|0,4,0);ea(h+20|0,da(g+20|0,4,0,0)|0|0,4,0);ea(h+24|0,da(g+24|0,4,0,0)|0|0,4,0);ea(h+28|0,da(g+28|0,4,0,0)|0|0,4,0);lg(a,g);ea(i|0,h|0,4,0)}return}function sl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;k=da(a+16|0,4,0,0)|0|0;m=k+152|0;d=((da(k+148|0,4,0,0)|0|0)>>>0)/((da(m|0,4,0,0)|0|0)>>>0)|0;p=k+20|0;ea(p>>0|0,da(p>>0|0,1,0,1)|0|0|4|0,1,0);h=a+20|0;e=da(h|0,4,0,0)|0|0;a=e+-1&0-d;o=a+1|0;c=~a;b=da(k+24|0,4,0,0)|0|0;if(e>>>0<=b>>>0){if((a+d|0)>>>0>b>>>0)d=b+1+c|0}else d=e+1+c|0;a:do if((d|0)>0){g=k+56|0;l=k+204|0;f=0;a=0;while(1){c=f+o|0;if((c|0)!=(e|0)?(ci(da(g|0,4,0,0)|0|0,c)|0)!=0:0){e=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,c,0)|0;c=hl(da(l|0,4,0,0)|0|0,c,e)|0;ea(n|0,c|0,4,0);if(!c)b=0;else{a=((da(c+24|0,2,0,0)|0)&4)==0?a:1;Ag(c);b=0}}else if((c|0)==(((da(2514*4|0,4,0,0)|0|0)/(da(m|0,4,0,0)|0|0)|0)+1|0))b=0;else{b=yg(k,c,n,0)|0;if(b)break a;c=da(n|0,4,0,0)|0|0;b=tl(c)|0;a=((da(c+24|0,2,0,0)|0)&4)==0?a:1;Ag(c)}f=f+1|0;c=(b|0)==0;if(!((f|0)<(d|0)&c))break;e=da(h|0,4,0,0)|0|0}if(c&(a|0)!=0){a=0;do{k=a+o|0;b=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,k,0)|0;b=hl(da(l|0,4,0,0)|0|0,k,b)|0;if(b){k=b+24|0;ea(k|0,da(k|0,2,0,1)|0|0|4|0,2,0);Ag(b)}a=a+1|0}while((a|0)!=(d|0));b=0}}else b=0;while(0);ea(p>>0|0,(da(p>>0|0,1,0,1)|0|0)&251|0,1,0);i=q;return b|0}function tl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();u=w+4|0;l=w;v=da(a+16|0,4,0,0)|0|0;p=v+16|0;a:do if((da(p>>0|0,1,0,0)|0|0)==2){k=da(v|0,4,0,0)|0|0;d=da(v+40|0,4,0,0)|0|0;if(!d){do if((da(v+208|0,4,0,0)|0|0)==0?(g=v+5|0,(da(g>>0|0,1,0,0)|0|0)!=2):0){h=v+24|0;d=da(h|0,4,0,0)|0|0;c=pg(512,0)|0;if(!c){ea(v+56|0,0|0,4,0);b=7;break a}ew(c|0,0,512)|0;ea(c|0,d|0,4,0);m=v+56|0;ea(m|0,c|0,4,0);e=v+64|0;f=da(e|0,4,0,0)|0|0;do if(!(da(f|0,4,0,0)|0)){if((da(g>>0|0,1,0,0)|0|0)==4){d=f+0|0;c=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(c|0));ea(f|0,14696|0,4,0);o=17;break}c=da(v+12>>0|0,1,0,0)|0|0;ea(l|0,0|0,4,0);if((c<<24>>24==0?(da(h|0,4,0,0)|0|0)!=0:0)?(b=da(v+60|0,4,0,0)|0|0,b=$b[(fa(da((da(b|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](b,20,l)|0,(b|0)!=12):0){d=(b|0)==0;if(d&(da(l|0,4,0,0)|0|0)!=0){b=1032;break}if(d)o=15}else o=15;if((o|0)==15)b=sc[(fa(da(k+24|0,4,0,0)|0|0,31|0)|0)&31](k,da(v+172|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,c<<24>>24!=0?4110:2054,0)|0;if(!b)o=17}else o=17;while(0);if((o|0)==17){ea(v+44|0,0|0,4,0);b=v+72|0;ea(v+19>>0|0,0|0,1,0);ea(b+0|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);b=Ro(v)|0;if(!b)break}di(da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);if(!b){o=20;break a}else break a}while(0);ea(p>>0|0,3|0,1,0);o=20}else b=d}else o=20;while(0);b:do if((o|0)==20){So(a);q=v+56|0;r=a+20|0;f=da(r|0,4,0,0)|0|0;do if(!(ci(da(q|0,4,0,0)|0|0,f)|0))if(!(da(v+208|0,4,0,0)|0)){if(f>>>0<=(da(v+28|0,4,0,0)|0|0)>>>0?(t=v+64|0,s=da(t|0,4,0,0)|0|0,(da(s|0,4,0,0)|0|0)!=0):0){o=v+72|0;g=o;m=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;n=da(a+4|0,4,0,0)|0|0;d=da(v+48|0,4,0,0)|0|0;p=v+152|0;e=(da(p|0,4,0,0)|0|0)+-200|0;if((e|0)>0)do{d=(da(n+e>>0|0,1,0,1)|0|0)+d|0;e=e+-200|0}while((e|0)>0);l=a+24|0;ea(l|0,da(l|0,2,0,1)|0|4|0,2,0);ea(u>>0|0,f>>>24|0,1,0);l=u+1|0;ea(l>>0|0,f>>>16|0,1,0);k=u+2|0;ea(k>>0|0,f>>>8|0,1,0);h=u+3|0;ea(h>>0|0,f|0,1,0);b=sc[(fa(da((da(s|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](s,u,4,m,g)|0;if(b)break b;f=da(t|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;c=iw(m|0,g|0,4,0)|0;e=C;b=sc[(fa(da((da(f|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](f,n,b,c,e)|0;if(b)break b;m=da(t|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;b=iw(c|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;ea(u>>0|0,d>>>24|0,1,0);ea(l>>0|0,d>>>16|0,1,0);ea(k>>0|0,d>>>8|0,1,0);ea(h>>0|0,d|0,1,0);b=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,u,4,b,C)|0;if(b)break b;b=(da(p|0,4,0,0)|0|0)+8|0;m=o;m=iw(b|0,((b|0)<0)<<31>>31|0,da(m|0,4,0,0)|0|0,da(m+4|0,4,0,0)|0|0)|0;b=o;ea(b|0,m|0,4,0);ea(b+4|0,C|0,4,0);b=v+44|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=ai(da(q|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0)|0;b=il(v,da(r|0,4,0,0)|0|0)|0|b;if(!b){o=34;break}else break b}if((da(p>>0|0,1,0,0)|0|0)!=4){o=a+24|0;ea(o|0,da(o|0,2,0,1)|0|4|0,2,0);o=34}else o=34}else o=34;else if((da(v+96|0,4,0,0)|0|0)!=0?(To(a)|0)!=0:0)o=34;else b=0;while(0);if((o|0)==34)if((da(v+96|0,4,0,0)|0|0)>0?(To(a)|0)!=0:0)b=Uo(a)|0;else b=0;d=v+24|0;c=da(r|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)>>>0<c>>>0)ea(d|0,c|0,4,0)}while(0);i=w;return b|0}function ul(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+128|0;if((i|0)>=(j|0))ba();h=k;d=da(a|0,4,0,0)|0|0;c=(d|0)==0;if(!c){b=d;do{a=b;b=da(b+32|0,4,0,0)|0|0;ea(a+12|0,b|0,4,0)}while((b|0)!=0);b=h+0|0;a=b+128|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(a|0));if(c)a=0;else{f=h+124|0;do{b=d+12|0;a=d;d=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);b=0;do{e=h+(b<<2)|0;c=da(e|0,4,0,0)|0|0;if(!c){c=e;g=8;break}a=Vo(c,a)|0;ea(e|0,0|0,4,0);b=b+1|0}while((b|0)<31);if((g|0)==8){g=0;ea(c|0,a|0,4,0)}if((b|0)==31)ea(f|0,Vo(da(f|0,4,0,0)|0|0,a)|0|0,4,0)}while((d|0)!=0);a=da(h|0,4,0,0)|0|0}}else{b=h+0|0;a=b+128|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=Vo(a,da(h+(b<<2)|0,4,0,0)|0|0)|0;b=b+1|0}while((b|0)!=32);i=k;return a|0}function vl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+80|0;if((i|0)>=(j|0))ba();l=F+32|0;m=F+28|0;v=F;o=F+40|0;D=F+24|0;ea(D|0,b|0,4,0);s=(d|0)==0;if(!s){ea(D|0,b|0,4,0);if(!b){b=0;h=0}else{h=0;g=D;do{t=(da(b+20|0,4,0,0)|0|0)>>>0>c>>>0;z=b+12|0;h=h+(t&1^1)|0;g=t?g:z;b=da(z|0,4,0,0)|0|0;ea(g|0,b|0,4,0)}while((b|0)!=0);b=da(D|0,4,0,0)|0|0}}else h=1;z=a+192|0;ea(z|0,(da(z|0,4,0,0)|0|0)+h|0,4,0);if((da(b+20|0,4,0,0)|0|0)==1)xl(b);A=da(a+208|0,4,0,0)|0|0;B=da(a+152|0,4,0,0)|0|0;n=da(a+10>>0|0,1,0,0)|0|0;t=n&255;f=A+40|0;if(!(da(f|0,2,0,0)|0)){do if(da((da(da(A+32|0,4,0,0)|0|0,4,0,0)|0|0)+96|0,4,0,0)|0){bd(4,l);g=A+43|0;if(!(da(g>>0|0,1,0,0)|0)){h=da(A+4|0,4,0,0)|0|0;h=oc[(fa(da((da(h|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](h,4,4,10)|0;if((h|0)==5){h=g;u=14;break}else if(h)break}Wo(A,da(l|0,4,0,0)|0|0);if(!(da(g>>0|0,1,0,0)|0)){h=da(A+4|0,4,0,0)|0|0;oc[(fa(da((da(h|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](h,4,4,9)|0;h=g;u=14}else{h=g;u=14}}else{h=A+43|0;u=14}while(0);if((u|0)==14){if(!(da(h>>0|0,1,0,0)|0)){z=da(A+4|0,4,0,0)|0|0;oc[(fa(da((da(z|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](z,3,1,5)|0}ea(f|0,-1|0,2,0);g=0;do{g=g+1|0;h=Lo(A,m,1,g)|0}while((h|0)==-1)}if(h)e=h;else u=19}else u=19;a:do if((u|0)==19){z=A+68|0;m=da(z|0,4,0,0)|0|0;if(!m){ea(o>>0|0,55|0,1,0);ea(o+1>>0|0,127|0,1,0);ea(o+2>>0|0,6|0,1,0);ea(o+3>>0|0,-126|0,1,0);ea(o+4>>0|0,0|0,1,0);ea(o+5>>0|0,45|0,1,0);ea(o+6>>0|0,-30|0,1,0);ea(o+7>>0|0,24|0,1,0);ea(o+8>>0|0,B>>>24|0,1,0);ea(o+9>>0|0,B>>>16|0,1,0);ea(o+10>>0|0,B>>>8|0,1,0);ea(o+11>>0|0,B|0,1,0);r=da(A+104|0,4,0,0)|0|0;ea(o+12>>0|0,r>>>24|0,1,0);ea(o+13>>0|0,r>>>16|0,1,0);ea(o+14>>0|0,r>>>8|0,1,0);ea(o+15>>0|0,r|0,1,0);if(!r)bd(8,A+84|0);l=A+84|0;g=l;g=da(g>>0|0,1,0,1)|0|(da(g+1>>0|0,1,0,1)|0)<<8|(da(g+2>>0|0,1,0,1)|0)<<16|(da(g+3>>0|0,1,0,1)|0)<<24;l=l+4|0;l=da(l>>0|0,1,0,1)|0|(da(l+1>>0|0,1,0,1)|0)<<8|(da(l+2>>0|0,1,0,1)|0)<<16|(da(l+3>>0|0,1,0,1)|0)<<24;f=o+16|0;h=f;ea(h>>0|0,g|0,1,0);ea(h+1>>0|0,g>>8|0,1,0);ea(h+2>>0|0,g>>16|0,1,0);ea(h+3>>0|0,g>>24|0,1,0);f=f+4|0;ea(f>>0|0,l|0,1,0);ea(f+1>>0|0,l>>8|0,1,0);ea(f+2>>0|0,l>>16|0,1,0);ea(f+3>>0|0,l>>24|0,1,0);l=o+24|0;f=o;g=0;h=0;do{g=g+h+(da(f|0,4,0,0)|0|0)|0;h=g+h+(da(f+4|0,4,0,0)|0|0)|0;f=f+8|0}while(f>>>0<l>>>0);ea(l>>0|0,g>>>24|0,1,0);ea(o+25>>0|0,g>>>16|0,1,0);ea(o+26>>0|0,g>>>8|0,1,0);ea(o+27>>0|0,g|0,1,0);ea(o+28>>0|0,h>>>24|0,1,0);ea(o+29>>0|0,h>>>16|0,1,0);ea(o+30>>0|0,h>>>8|0,1,0);ea(o+31>>0|0,h|0,1,0);ea(A+36|0,B|0,4,0);ea(A+65>>0|0,0|0,1,0);ea(A+76|0,g|0,4,0);ea(A+80|0,h|0,4,0);ea(A+47>>0|0,1|0,1,0);g=A+8|0;h=da(g|0,4,0,0)|0|0;h=sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,o,32,0,0)|0;if(h){e=h;break}if((da(A+48>>0|0,1,0,0)|0|0)!=0&n<<24>>24!=0?(e=da(g|0,4,0,0)|0|0,e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,t&19)|0,(e|0)!=0):0)break}else g=A+8|0;ea(v|0,A|0,4,0);o=da(g|0,4,0,0)|0|0;ea(v+4|0,o|0,4,0);p=v+8|0;q=p;ea(q|0,0|0,4,0);ea(q+4|0,0|0,4,0);ea(v+16|0,t|0,4,0);ea(v+20|0,B|0,4,0);q=B+24|0;r=((q|0)<0)<<31>>31;h=rw(m|0,0,q|0,r|0)|0;h=iw(h|0,C|0,32,0)|0;e=C;if(!b){f=h;n=0}else{k=e;f=m;n=b;while(1){m=f+1|0;if(s)f=0;else f=(da(n+12|0,4,0,0)|0|0)==0?c:0;e=Xo(v,n,f,h,k)|0;if(e)break a;h=iw(h|0,k|0,q|0,r|0)|0;e=C;l=da(n+12|0,4,0,0)|0|0;if(!l){f=h;break}else{k=e;f=m;n=l}}}s=(d|0)!=0;do if(!((t&32|0)==0|s^1)){if(!(da(A+49>>0|0,1,0,0)|0)){g=0;e=qc[(fa(da((da(o|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](o,t&19)|0;break}h=da(g|0,4,0,0)|0|0;g=da((da(h|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(g){h=kc[(fa(g|0,127|0)|0)&127](h)|0;if((h|0)<32){g=512;h=0}else u=37}else{h=4096;u=37}if((u|0)==37){u=(h|0)>65536;g=u?65536:h;h=u?0:((h|0)<0)<<31>>31}u=iw(f|0,e|0,-1,-1)|0;u=iw(u|0,C|0,g|0,h|0)|0;l=C;k=qw(u|0,l|0,g|0,h|0)|0;k=cw(u|0,l|0,k|0,C|0)|0;l=C;u=p;ea(u|0,k|0,4,0);ea(u+4|0,l|0,4,0);if((e|0)<(l|0)|(e|0)==(l|0)&f>>>0<k>>>0){h=e;g=0;while(1){e=Xo(v,n,c,f,h)|0;if(e)break a;f=iw(f|0,h|0,q|0,r|0)|0;h=C;g=g+1|0;if(!((h|0)<(l|0)|(h|0)==(l|0)&f>>>0<k>>>0)){e=0;break}}}else{g=0;e=0}}else{g=0;e=0}while(0);if((s?(w=A+47|0,(da(w>>0|0,1,0,0)|0|0)!=0):0)?(y=A+16|0,x=da(y|0,4,0,0)|0|0,y=da(y+4|0,4,0,0)|0|0,(y|0)>-1|(y|0)==-1&x>>>0>4294967295):0){d=rw(g+m|0,0,q|0,r|0)|0;d=iw(d|0,C|0,32,0)|0;v=C;u=(v|0)>(y|0)|(v|0)==(y|0)&d>>>0>x>>>0;Yo(A,u?d:x,u?v:y);ea(w>>0|0,0|0,1,0)}f=da(z|0,4,0,0)|0|0;if((b|0)!=0&(e|0)==0)do{f=f+1|0;e=Zo(A,f,da(b+20|0,4,0,0)|0|0)|0;b=da(b+12|0,4,0,0)|0|0}while((b|0)!=0&(e|0)==0);b=(e|0)==0;if(b&(g|0)>0){h=n+20|0;do{f=f+1|0;g=g+-1|0;e=Zo(A,f,da(h|0,4,0,0)|0|0)|0;b=(e|0)==0}while(b&(g|0)>0)}if(b){ea(A+66|0,B&65280|B>>>16|0,2,0);ea(z|0,f|0,4,0);if(s){z=A+60|0;ea(z|0,(da(z|0,4,0,0)|0|0)+1|0,4,0);ea(A+72|0,c|0,4,0);_o(A);ea(A+12|0,f|0,4,0)}}else if(e)break;f=a+88|0;e=da(f|0,4,0,0)|0|0;if((e|0)!=0?(E=da(D|0,4,0,0)|0|0,(E|0)!=0):0){b=e;e=E;while(1){$o(b,da(e+20|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0);e=da(e+12|0,4,0,0)|0|0;if(!e){e=0;break a}b=da(f|0,4,0,0)|0|0}}else e=0}while(0);i=F;return e|0}function wl(a){a=a|0;var b=0,c=0;b=a+24|0;if((((da(b|0,2,0,0)|0)&2)!=0?(Po(a,1),ea(b|0,(da(b|0,2,0,1)|0)&65529|0,2,0),(da(a+26|0,2,0,0)|0|0)==0):0)?(c=da(a+28|0,4,0,0)|0|0,(da(c+28>>0|0,1,0,0)|0|0)!=0):0){if((da(a+20|0,4,0,0)|0|0)==1)ea(c+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(c+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,0)}return}function xl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=da(a+16|0,4,0,0)|0|0;b=((da(b+105>>0|0,1,0,1)|0|0)<<16|(da(b+104>>0|0,1,0,1)|0|0)<<24|(da(b+106>>0|0,1,0,1)|0|0)<<8|(da(b+107>>0|0,1,0,1)|0|0))+1|0;a=a+4|0;c=da(a|0,4,0,0)|0|0;f=b>>>24&255;ea(c+24>>0|0,f|0,1,0);e=b>>>16&255;ea(c+25>>0|0,e|0,1,0);d=b>>>8&255;ea(c+26>>0|0,d|0,1,0);b=b&255;ea(c+27>>0|0,b|0,1,0);c=da(a|0,4,0,0)|0|0;ea(c+92>>0|0,f|0,1,0);ea(c+93>>0|0,e|0,1,0);ea(c+94>>0|0,d|0,1,0);ea(c+95>>0|0,b|0,1,0);a=da(a|0,4,0,0)|0|0;ea(a+96>>0|0,0|0,1,0);ea(a+97>>0|0,45|0,1,0);ea(a+98>>0|0,-26|0,1,0);ea(a+99>>0|0,9|0,1,0);return}function yl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;if((i|0)>=(j|0))ba();h=q+16|0;n=q;e=ap(a)|0;a:do if(!e){do if(!(da(a+7>>0|0,1,0,0)|0)){p=a+64|0;if((da(da(p|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(da(a+5>>0|0,1,0,0)|0|0)!=4:0){g=da(a+60|0,4,0,0)|0|0;g=kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0;o=(g&512|0)==0;if(o){d=n;ea(d|0,-117058087|0,4,0);ea(d+4|0,-681336544|0,4,0);d=da(a+44|0,4,0,0)|0|0;ea(n+8>>0|0,d>>>24|0,1,0);ea(n+9>>0|0,d>>>16|0,1,0);ea(n+10>>0|0,d>>>8|0,1,0);ea(n+11>>0|0,d|0,1,0);d=a+72|0;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((e|0)==0&(d|0)==0){e=0;d=0}else{d=iw(e|0,d|0,-1,-1)|0;e=da(a+148|0,4,0,0)|0|0;d=pw(d|0,C|0,e|0,0)|0;d=iw(d|0,C|0,1,0)|0;e=rw(d|0,C|0,e|0,0)|0;d=C}f=da(p|0,4,0,0)|0|0;f=sc[(fa(da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](f,h,8,e,d)|0;if(!f){if(!(Yv(h,14808,8)|0)){k=da(p|0,4,0,0)|0|0;k=sc[(fa(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](k,14976,1,e,d)|0;l=12}}else{k=f;l=12}if((l|0)==12?!((k|0)==0|(k|0)==522):0){c=k;break a}d=g&1024;if((da(a+8>>0|0,1,0,0)|0|0)!=0&(d|0)==0?(m=da(p|0,4,0,0)|0|0,m=qc[(fa(da((da(m|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](m,da(a+11>>0|0,1,0,1)|0|0)|0,(m|0)!=0):0){c=m;break a}m=da(p|0,4,0,0)|0|0;e=a+80|0;e=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,n,12,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0)|0;if(e){c=e;break a}}else d=g&1024;if((d|0)==0?(n=da(p|0,4,0,0)|0|0,c=da(a+11>>0|0,1,0,0)|0|0,c=qc[(fa(da((da(n|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](n,(c<<24>>24==3?16:0)|c&255)|0,(c|0)!=0):0)break a;l=a+72|0;n=da(l+4|0,4,0,0)|0|0;m=a+80|0;ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(m+4|0,n|0,4,0);if((b|0)==0|o^1)break;ea(a+44|0,0|0,4,0);c=Ro(a)|0;if(!c)break;else break a}l=a+72|0;n=da(l+4|0,4,0,0)|0|0;m=a+80|0;ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(m+4|0,n|0,4,0)}while(0);d=da(a+204|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(c)do{n=c+24|0;ea(n|0,(da(n|0,2,0,1)|0)&65531|0,2,0);c=da(c+32|0,4,0,0)|0|0}while((c|0)!=0);ea(d+8|0,da(d+4|0,4,0,0)|0|0,4,0);ea(a+16>>0|0,4|0,1,0);c=0}else c=e;while(0);i=q;return c|0}function zl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();g=s;r=a+60|0;d=da(r|0,4,0,0)|0|0;if(!((da(d|0,4,0,0)|0|0)==0?(c=da(a|0,4,0,0)|0|0,c=sc[(fa(da(c+24|0,4,0,0)|0|0,31|0)|0)&31](c,0,d,(da(a+144|0,4,0,0)|0)&556897|30,0)|0,(c|0)!=0):0)){d=a+36|0;c=da(d|0,4,0,0)|0|0;e=a+24|0;f=da(e|0,4,0,0)|0|0;do if(c>>>0<f>>>0){if((da(b+12|0,4,0,0)|0|0)==0?(da(b+20|0,4,0,0)|0|0)>>>0<=c>>>0:0)break;k=da(a+152|0,4,0,0)|0|0;k=rw(f|0,0,k|0,((k|0)<0)<<31>>31|0)|0;l=g;ea(l|0,k|0,4,0);ea(l+4|0,C|0,4,0);l=da(r|0,4,0,0)|0|0;$b[(fa(da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](l,5,g)|0;ea(d|0,da(e|0,4,0,0)|0|0,4,0)}while(0);if(!b)c=0;else{m=a+24|0;n=a+152|0;o=a+104|0;p=a+32|0;q=a+192|0;l=a+88|0;do{k=da(b+20|0,4,0,0)|0|0;if(k>>>0<=(da(m|0,4,0,0)|0|0)>>>0?((da(b+24|0,2,0,0)|0)&32)==0:0){g=da(n|0,4,0,0)|0|0;a=rw(g|0,((g|0)<0)<<31>>31|0,k+-1|0,0)|0;f=C;e=(k|0)==1;if(e){xl(b);g=da(n|0,4,0,0)|0|0}h=b+4|0;d=da(h|0,4,0,0)|0|0;c=da(r|0,4,0,0)|0|0;c=sc[(fa(da((da(c|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](c,d,g,a,f)|0;if(e){a=o+0|0;g=d+24|0;f=a+16|0;do{ea(a>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);a=a+1|0;g=g+1|0}while((a|0)<(f|0))}if(k>>>0>(da(p|0,4,0,0)|0|0)>>>0)ea(p|0,k|0,4,0);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);$o(da(l|0,4,0,0)|0|0,k,da(h|0,4,0,0)|0|0)}else c=0;b=da(b+12|0,4,0,0)|0|0}while((c|0)==0&(b|0)!=0)}}i=s;return c|0}function Al(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;l=a+60|0;d=da(l|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;do if((e|0)!=0?((da(a+16>>0|0,1,0,0)|0|0)+-1&255)>2:0){m=da(a+152|0,4,0,0)|0|0;e=qc[(fa(da(e+24|0,4,0,0)|0|0,127|0)|0)&127](d,k)|0;f=((m|0)<0)<<31>>31;g=rw(m|0,f|0,b|0,0)|0;h=C;if(!e){d=k;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((e|0)==(g|0)&(d|0)==(h|0))c=0;else{if(!((d|0)>(h|0)|(d|0)==(h|0)&e>>>0>g>>>0)){k=iw(e|0,d|0,m|0,f|0)|0;e=C;if(!((e|0)>(h|0)|(e|0)==(h|0)&k>>>0>g>>>0)){n=da(a+200|0,4,0,0)|0|0;ew(n|0,0,m|0)|0;l=da(l|0,4,0,0)|0|0;c=cw(g|0,h|0,m|0,f|0)|0;c=sc[(fa(da((da(l|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](l,n,m,c,C)|0;n=9}}else{c=da(l|0,4,0,0)|0|0;c=$b[(fa(da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](c,g,h)|0;n=9}if((n|0)==9?(c|0)!=0:0)break;ea(a+32|0,b|0,4,0);c=0}}else c=e}else c=0;while(0);i=o;return c|0}
function Yr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();o=r;p=r+8|0;ea(p|0,0|0,4,0);a:do if(!b){ea(e|0,0|0,4,0);f=0}else{g=da(b>>0|0,1,0,0)|0|0;if(g<<24>>24==-98)do{b=da(b+12|0,4,0,0)|0|0;g=da(b>>0|0,1,0,0)|0|0}while(g<<24>>24==-98);if(g<<24>>24==-97)k=da(b+38>>0|0,1,0,1)|0|0;else k=g&255;if((k|0)==157){b=da(b+12|0,4,0,0)|0|0;k=da(b>>0|0,1,0,0)|0|0;if((k&-2)<<24>>24==-124){h=-1;g=-1;n=k&255;k=26016;q=12}else q=30}else if((k|0)==38){h=Wq(da(b+8|0,4,0,0)|0|0,0)|0;f=Yr(a,da(b+12|0,4,0,0)|0|0,c,h,e)|0;g=da(e|0,4,0,0)|0|0;if(!g)break;fm(g,h,1);em(da(e|0,4,0,0)|0|0,d,1);break}else{h=1;g=0;n=k;k=10360;q=12}b:do if((q|0)==12){c:do switch(n|0){case 101:{f=lh(a,40,0)|0;if(!f){ea(p|0,f|0,4,0);break c}else{l=f+0|0;m=l+40|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(m|0));ea(f+8|0,1|0,2,0);ea(f+32|0,a|0,4,0);ea(p|0,f|0,4,0);g=f;f=0;break b}}case 157:{b=da(b+12|0,4,0,0)|0|0;q=30;break b}case 134:{f=lh(a,40,0)|0;if(!f){ea(p|0,f|0,4,0);break c}l=f+0|0;m=l+40|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(m|0));ea(f+8|0,1|0,2,0);ea(f+32|0,a|0,4,0);ea(p|0,f|0,4,0);g=(da(b+8|0,4,0,0)|0|0)+2|0;b=g;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;p=(b-g&1073741823)+-1|0;Wg(f,Xt(a,g,p)|0,(p|0)/2|0,0,75)|0;g=f;f=0;break b}case 97:case 132:case 133:{f=lh(a,40,0)|0;if(!f){ea(p|0,f|0,4,0);break c}l=f+0|0;m=l+40|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(m|0));ea(f+8|0,1|0,2,0);ea(f+32|0,a|0,4,0);ea(p|0,f|0,4,0);do if(!((da(b+4|0,4,0,0)|0)&1024)){h=da(b+8|0,4,0,0)|0|0;ea(o|0,k|0,4,0);ea(o+4|0,h|0,4,0);h=th(a,19456,o)|0;if(!h)break c;if(f)Wg(f,h,-1,1,75)|0}else{k=da(b+8|0,4,0,0)|0|0;k=rw(k|0,((k|0)<0)<<31>>31|0,h|0,g|0)|0;h=C;b=f+8|0;if(!((da(b|0,2,0,0)|0)&9312)){p=f;ea(p|0,k|0,4,0);ea(p+4|0,h|0,4,0);ea(b|0,4|0,2,0);break}else{Yg(f,k,h);break}}while(0);if((n&-2|0)==132&d<<24>>24==65)em(f,67,1);else em(f,d,1);g=f+8|0;b=da(g|0,2,0,1)|0|0;if(b&12)ea(g|0,b&65533|0,2,0);if(c<<24>>24==1){g=f;f=0;break b}g=f;f=Xl(f,c&255)|0;break b}default:{g=0;f=0;break b}}while(0);ea(a+65>>0|0,1|0,1,0);lg(a,0);Lh(f);f=7;break a}while(0);if((q|0)==30){o=(Yr(a,b,c,d,p)|0)==0;g=da(p|0,4,0,0)|0|0;if(o&(g|0)!=0){np(g);h=g+8|0;b=da(h|0,2,0,0)|0|0;do if(!(b&8)){k=g;f=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;if((f|0)==0&(k|0)==-2147483648){ea(g|0,+(9223372036854775808.0),8,1);ea(h|0,b&48640|8|0,2,0);break}else{o=cw(0,0,f|0,k|0)|0;p=g;ea(p|0,o|0,4,0);ea(p+4|0,C|0,4,0);break}}else ea(g|0,+-+(+da(g|0,8,1,0)),8,1);while(0);em(g,d,c);f=0}else f=0}ea(e|0,g|0,4,0)}while(0);i=r;return f|0}function Zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;do if((b|0)!=0?(e=a+19|0,f=da(e>>0|0,1,0,0)|0|0,(f&255)<8):0){d=0;c=a+116|0;while(1){if((da(c+12|0,4,0,0)|0|0)==(b|0)){d=5;break}d=d+1|0;if((d|0)>=10){d=7;break}else c=c+20|0}if((d|0)==5){ea(c+6>>0|0,1|0,1,0);break}else if((d|0)==7){ea(e>>0|0,f+1<<24>>24|0,1,0);ea(a+((f&255)<<2)+24|0,b|0,4,0);break}}while(0);return}function _r(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();l=m;c=a+484|0;h=da(c|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;do if((h|0)!=0?(as(a),ea(a+512|0,0|0,4,0),(da(h+52|0,4,0,0)|0|0)>=1):0){if(da(k+145>>0|0,1,0,0)|0)if(!(Hk((da(h+68|0,4,0,0)|0|0)+8|0,da(h|0,4,0,0)|0|0,h)|0)){ea(c|0,0|0,4,0);break}else{ea(k+65>>0|0,1|0,1,0);break}if(b)ea(a+500|0,(da(b|0,4,0,0)|0|0)-(da(a+496|0,4,0,0)|0|0)+(da(b+4|0,4,0,0)|0|0)|0,4,0);ea(l|0,a+496|0,4,0);g=th(k,25256,l)|0;b=da(h+68|0,4,0,0)|0|0;a:do if(b){d=da(k+20|0,4,0,0)|0|0;if((d|0)>0){e=da(k+16|0,4,0,0)|0|0;f=0;while(1){c=f+1|0;if((da(e+(f<<4)+12|0,4,0,0)|0|0)==(b|0)){c=f;break a}if((c|0)<(d|0))f=c;else break}}else c=0}else c=-1e6;while(0);e=da(h|0,4,0,0)|0|0;f=da(a+384|0,4,0,0)|0|0;ea(l|0,da((da(k+16|0,4,0,0)|0|0)+(c<<4)|0,4,0,0)|0|0,4,0);ea(l+4|0,((c|0)==1?13184:13208)|0,4,0);ea(l+8|0,e|0,4,0);ea(l+12|0,e|0,4,0);ea(l+16|0,g|0,4,0);ea(l+20|0,f|0,4,0);Ar(a,25280,l);lg(k,g);g=Nq(a)|0;Cr(a,c);vh(g,144,0,0,0)|0;ea(l|0,da(h|0,4,0,0)|0|0,4,0);Hr(g,c,th(k,25368,l)|0);a=a+72|0;l=(da(a|0,4,0,0)|0|0)+1|0;ea(a|0,l|0,4,0);a=da(h|0,4,0,0)|0|0;wh(g,vh(g,97,0,l,0)|0,a,0);vh(g,147,c,l,0)|0}while(0);i=m;return}function $r(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=b+52|0;h=da(g|0,4,0,0)|0|0;d=h+1|0;ea(g|0,d|0,4,0);f=(h<<2)+8|0;e=b+56|0;f=qo(a,da(e|0,4,0,0)|0|0,f,((f|0)<0)<<31>>31)|0;if(!f){if((h|0)>0){b=0;do{lg(a,da((da(e|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0);b=b+1|0}while((b|0)!=(h|0))}lg(a,c);lg(a,da(e|0,4,0,0)|0|0);ea(g|0,0|0,4,0)}else{ea(f+(h<<2)|0,c|0,4,0);ea(f+(d<<2)|0,0|0,4,0)}ea(e|0,f|0,4,0);return}function as(a){a=a|0;var b=0,c=0,d=0,e=0;b=da(a+512|0,4,0,0)|0|0;if((b|0)!=0?(e=da(a+484|0,4,0,0)|0|0,(e|0)!=0):0){c=da(a+516|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;a=iw(c|0,((c|0)<0)<<31>>31|0,1,0)|0;a=lh(d,a,C)|0;if(!a)a=0;else{jw(a|0,b|0,c|0)|0;ea(a+c>>0|0,0|0,1,0)}$r(d,e,a)}return}function bs(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();h=m;k=da(a|0,4,0,0)|0|0;l=Vq(k,c)|0;g=(b|0)!=0;if((l|0)!=0&g?(f=da(b|0,4,0,0)|0|0,(f|0)>0):0){c=f;f=0;do{if(!(cd(l,da(b+(f<<4)+8|0,4,0,0)|0|0)|0)){ea(h|0,l|0,4,0);sh(a,25184,h);c=da(b|0,4,0,0)|0|0}f=f+1|0}while((f|0)<(c|0))}if(g){f=((da(b|0,4,0,0)|0)<<4)+24|0;f=qo(k,b,f,((f|0)<0)<<31>>31)|0;if(!f)c=10;else{b=f;c=11}}else{c=lh(k,24,0)|0;if(!c)c=10;else{f=c+0|0;b=f+24|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(b|0));b=c;c=11}}if((c|0)==10){Mk(k,d);Lk(k,e,1);lg(k,l)}else if((c|0)==11){k=b+8|0;ea(k+((da(b|0,4,0,0)|0)<<4)+8|0,e|0,4,0);e=da(b|0,4,0,0)|0|0;ea(k+(e<<4)+4|0,d|0,4,0);ea(k+(e<<4)|0,l|0,4,0);ea(k+(e<<4)+12|0,0|0,4,0);ea(b|0,e+1|0,4,0)}i=m;return b|0}function cs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+96|0;if((i|0)>=(j|0))ba();h=k+48|0;c=k;d=da(da(a+32|0,4,0,0)|0|0,4,0,0)|0|0;e=h+0|0;f=d+0|0;g=e+48|0;do{ea(e>>0|0,da(f>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;f=f+1|0}while((e|0)<(g|0));if((da(a+43>>0|0,1,0,0)|0|0)!=2){e=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(e|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](e)}e=c+0|0;f=d+48|0;g=e+48|0;do{ea(e>>0|0,da(f>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;f=f+1|0}while((e|0)<(g|0));if((Yv(h,c,48)|0)==0?(da(h+12>>0|0,1,0,0)|0|0)!=0:0){f=h+40|0;g=h;d=0;c=0;do{d=d+c+(da(g|0,4,0,0)|0|0)|0;c=d+c+(da(g+4|0,4,0,0)|0|0)|0;g=g+8|0}while(g>>>0<f>>>0);if((d|0)==(da(f|0,4,0,0)|0|0)?(c|0)==(da(h+44|0,4,0,0)|0|0):0){c=a+52|0;if(!(Yv(c,h,48)|0))c=0;else{ea(b|0,1|0,4,0);e=c+0|0;f=h+0|0;g=e+48|0;do{ea(e|0,da(f|0,4,0,0)|0|0,4,0);e=e+4|0;f=f+4|0}while((e|0)<(g|0));c=da(a+66|0,2,0,1)|0|0;ea(a+36|0,c<<16&65536|c&65024|0,4,0);c=0}}else c=1}else c=1;i=k;return c|0}function ds(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;b=sc[(fa(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](a,e,4,b,c)|0;if(!b)ea(d|0,(da(e+1>>0|0,1,0,1)|0|0)<<16|(da(e>>0|0,1,0,1)|0|0)<<24|(da(e+2>>0|0,1,0,1)|0|0)<<8|(da(e+3>>0|0,1,0,1)|0|0)|0,4,0);i=f;return b|0}function es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b>>>0<0|(b|0)==0&a>>>0<8)if(b>>>0<0|(b|0)==0&a>>>0<2)a=0;else{c=40;do{c=(c&65535)+65526|0;a=hw(a|0,b|0,1)|0;b=C}while(b>>>0<0|(b|0)==0&a>>>0<8);c=c&65535;e=11}else{if(b>>>0>0|(b|0)==0&a>>>0>255){d=b;c=40;while(1){c=(c&65535)+40|0;e=lw(a|0,d|0,4)|0;b=C;if(d>>>0>0|(d|0)==0&a>>>0>4095){a=e;d=b}else{a=e;break}}c=c&65535}else c=40;if(b>>>0>0|(b|0)==0&a>>>0>15){e=a;while(1){c=(c&65535)+10&65535;a=lw(e|0,b|0,1)|0;if(b>>>0>0|(b|0)==0&e>>>0>31){e=a;b=C}else break}e=11}else e=11}if((e|0)==11)a=(c&65535)+65526+(da(13496+((a&7)<<1)|0,2,0,1)|0|0)&65535;return a|0}function fs(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=da(a+408|0,4,0,0)|0|0;i=(i|0)==0?a:i;g=i+396|0;f=da(g|0,4,0,0)|0|0;h=da(i+400|0,4,0,0)|0|0;a:do if((f|0)>0){a=0;while(1){if((da(h+(a<<4)|0,4,0,0)|0|0)==(b|0)?(da(h+(a<<4)+4|0,4,0,0)|0|0)==(c|0):0)break;a=a+1|0;if((a|0)>=(f|0)){j=8;break a}}a=h+(a<<4)+8|0;if(!(da(a>>0|0,1,0,0)|0))f=d<<24>>24!=0&1;else f=1;ea(a>>0|0,f|0,1,0)}else j=8;while(0);do if((j|0)==8){a=(f<<4)+16|0;a=Vl(da(i|0,4,0,0)|0|0,h,a,((a|0)<0)<<31>>31)|0;ea(i+400|0,a|0,4,0);if(!a){ea(g|0,0|0,4,0);ea((da(i|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);break}else{f=da(g|0,4,0,0)|0|0;ea(g|0,f+1|0,4,0);ea(a+(f<<4)|0,b|0,4,0);ea(a+(f<<4)+4|0,c|0,4,0);ea(a+(f<<4)+8>>0|0,d|0,1,0);ea(a+(f<<4)+12|0,e|0,4,0);break}}while(0);return}function gs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=da(b+48|0,2,0,0)|0|0;h=e&65535;d=da(b+46|0,2,0,1)|0|0;i=a+64|0;if(!(da(i|0,4,0,0)|0)){c=da(a|0,4,0,0)|0|0;if(!((da(b+51>>0|0,1,0,0)|0)&8))g=Qs(c,h,0)|0;else g=Qs(c,d,h-d|0)|0;if(g){if(e<<16>>16){f=b+32|0;b=b+28|0;d=g+16|0;c=0;do{e=da((da(f|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0;if(!(Zv(e,11152)|0))e=0;else e=br(a,e)|0;ea(g+(c<<2)+20|0,e|0,4,0);ea((da(d|0,4,0,0)|0|0)+c>>0|0,da((da(b|0,4,0,0)|0|0)+c>>0|0,1,0,0)|0|0|0,1,0);c=c+1|0}while((c|0)<(h|0))}c=(da(i|0,4,0,0)|0|0)==0;if(!c){c=(da(g|0,4,0,0)|0|0)+-1|0;ea(g|0,c|0,4,0);if(!c){Vc(g);c=0}else c=0}else c=c?g:0}else c=0}else c=0;return c|0}function hs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+112|0;if((i|0)>=(j|0))ba();w=B;y=B+100|0;z=B+96|0;g=B+48|0;x=da(a+8|0,4,0,0)|0|0;ea(y|0,0|0,4,0);ea(z|0,0|0,4,0);v=da(a|0,4,0,0)|0|0;a:do if(!x)c=0;else{b:do if(!b)A=16;else{m=da(b>>0|0,1,0,0)|0|0;l=m&255;do switch(l|0){case 155:{e=da(b+40|0,4,0,0)|0|0;if(!e){ea(w|0,da(b+8|0,4,0,0)|0|0,4,0);sh(a,28936,w);break b}else{c=da((da(e+40|0,4,0,0)|0|0)+((da(b+34|0,2,0,0)|0)<<4)+8|0,4,0,0)|0|0;break b}}case 132:{Yt(a,b,0,c);break b}case 79:case 78:case 83:case 80:case 81:case 82:{u=b+12|0;w=_t(a,da(u|0,4,0,0)|0|0,y)|0;v=b+16|0;x=_t(a,da(v|0,4,0,0)|0|0,z)|0;$t(a,da(u|0,4,0,0)|0|0,da(v|0,4,0,0)|0|0,l,w,x,c,32);break b}case 97:{w=da(b+8|0,4,0,0)|0|0;wh(x,vh(x,97,0,c,0)|0,w,0);break b}case 119:case 20:{c=du(a,b,0,0)|0;break b}case 75:{w=ws(x)|0;h=ws(x)|0;vh(x,28,0,c,0)|0;eu(a,b,w,h);vh(x,25,1,c,0)|0;e=x+24|0;d=da(e|0,4,0,0)|0|0;f=~w;if((w|0)<0?(k=da(d+112|0,4,0,0)|0|0,(k|0)!=0):0)ea(k+(f<<2)|0,da(x+32|0,4,0,0)|0|0,4,0);g=x+32|0;ea(d+88|0,(da(g|0,4,0,0)|0|0)+-1|0,4,0);vh(x,37,c,0,0)|0;f=da(e|0,4,0,0)|0|0;e=~h;if((h|0)<0?(n=da(f+112|0,4,0,0)|0|0,(n|0)!=0):0)ea(n+(e<<2)|0,da(g|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(g|0,4,0,0)|0|0)+-1|0,4,0);break b}case 24:{c=hs(a,da(b+12|0,4,0,0)|0|0,c)|0;break b}case 77:case 76:{vh(x,25,1,c,0)|0;d=vh(x,l,_t(a,da(b+12|0,4,0,0)|0|0,y)|0,0,0)|0;vh(x,25,0,c,0)|0;e=da(x+32|0,4,0,0)|0|0;if(e>>>0>d>>>0)ea((da(x+4|0,4,0,0)|0|0)+(d*20|0)+8|0,e|0,4,0);ea((da(x+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0);break b}case 159:{c=da(b+28|0,4,0,0)|0|0;break b}case 158:case 95:{c=hs(a,da(b+12|0,4,0,0)|0|0,c)|0;break b}case 62:{d=da(b+44|0,4,0,0)|0|0;e=b+32|0;vh(x,132,(_((da(d+38|0,2,0,0)|0|0)+1|0,da(b+28|0,4,0,0)|0|0)|0)+((da(e|0,2,0,0)|0|0)+1)|0,c,0)|0;e=da(e|0,2,0,0)|0|0;if(e<<16>>16<=-1)break b;if((da((da(d+4|0,4,0,0)|0|0)+((e<<16>>16)*24|0)+21>>0|0,1,0,0)|0|0)!=69)break b;vh(x,39,c,0,0)|0;break b}case 153:{k=da(v+62>>0|0,1,0,0)|0|0;t=b+4|0;if(((da(t|0,4,0,0)|0)&16384|0)==0?(h=da(b+20|0,4,0,0)|0|0,(h|0)!=0):0){u=da(h|0,4,0,0)|0|0;r=1;s=h}else{u=0;r=0;s=0}m=da(b+8|0,4,0,0)|0|0;if(!m)l=0;else{l=m;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;l=l-m&1073741823}g=Rh(v,m,l,u,k,0)|0;if((g|0)!=0?(da(g+12|0,4,0,0)|0|0)!=0:0){q=g+2|0;h=da(q|0,2,0,1)|0|0;if(h&512){g=ws(x)|0;f=s+4|0;Qq(a,da(da(f|0,4,0,0)|0|0,4,0,0)|0|0,c);if((u|0)>1){e=a+100|0;d=1;do{vh(x,77,c,g,0)|0;ct(a,c,1);ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);Qq(a,da((da(f|0,4,0,0)|0|0)+(d*20|0)|0,4,0,0)|0|0,c);au(a);d=d+1|0}while((d|0)!=(u|0))}f=da(x+24|0,4,0,0)|0|0;e=~g;if((g|0)<0?(p=da(f+112|0,4,0,0)|0|0,(p|0)!=0):0)ea(p+(e<<2)|0,da(x+32|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(x+32|0,4,0,0)|0|0)+-1|0,4,0);break b}if(h&1024){Qq(a,da(da(s+4|0,4,0,0)|0|0,4,0,0)|0|0,c);break b}p=(u|0)>0;if(p){l=s+4|0;k=w+20|0;h=w+4|0;e=w+24|0;m=0;d=0;f=0;do{if((d|0)<32?(b=da((da(l|0,4,0,0)|0|0)+(d*20|0)|0,4,0,0)|0|0,ea(w+0|0,0|0,4,0),ea(w+4|0,0|0,4,0),ea(w+8|0,0|0,4,0),ea(w+12|0,0|0,4,0),ea(w+16|0,0|0,4,0),ea(w+20|0,0|0,4,0),ea(k>>0|0,1|0,1,0),ea(w|0,78|0,4,0),ea(h|0,79|0,4,0),ea(e|0,0|0,4,0),qs(w,b)|0,(da(k>>0|0,1,0,0)|0|0)!=0):0)m=m|1<<d;if(!(((da(q|0,2,0,0)|0)&32)==0|(f|0)!=0))f=bu(a,da((da(l|0,4,0,0)|0|0)+(d*20|0)|0,4,0,0)|0|0)|0;d=d+1|0}while((d|0)!=(u|0));n=m}else{n=0;f=0}if(r){do if(!n){l=a+60|0;m=da(l|0,4,0,0)|0|0;k=a+56|0;h=da(k|0,4,0,0)|0|0;if((h|0)<(u|0)){w=a+72|0;m=da(w|0,4,0,0)|0|0;ea(w|0,m+u|0,4,0);m=m+1|0;break}else{ea(l|0,m+u|0,4,0);ea(k|0,h-u|0,4,0);break}}else{w=a+72|0;m=da(w|0,4,0,0)|0|0;ea(w|0,m+u|0,4,0);m=m+1|0}while(0);h=da(q|0,2,0,0)|0|0;if((h&192)!=0?(o=da(da(s+4|0,4,0,0)|0|0,4,0,0)|0|0,w=da(o>>0|0,1,0,0)|0|0,w<<24>>24==-100|w<<24>>24==-102):0)ea(o+38>>0|0,h&192|0,1,0);w=a+100|0;ea(w|0,(da(w|0,4,0,0)|0|0)+1|0,4,0);at(a,s,m,3);au(a)}else m=0;if((u|0)>1?((da(t|0,4,0,0)|0)&128|0)!=0:0)g=cu(v,g,u,da((da(s+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0)|0;else if(p)g=cu(v,g,u,da(da(s+4|0,4,0,0)|0|0,4,0,0)|0|0)|0;if((da(g+2|0,2,0,0)|0)&32){if(!f)f=da(v+8|0,4,0,0)|0|0;wh(x,vh(x,36,0,0,0)|0,f,-4)}wh(x,vh(x,1,n,m,c)|0,g,-5);f=da(x+4|0,4,0,0)|0|0;if(f)ea(f+(((da(x+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,u|0,1,0);if(!((u|0)!=0&(n|0)==0))break b;ct(a,m,u);e=a+56|0;if((da(e|0,4,0,0)|0|0)>=(u|0))break b;ea(e|0,u|0,4,0);ea(a+60|0,m|0,4,0);break b}ea(w|0,l|0,4,0);ea(w+4|0,m|0,4,0);sh(a,28968,w);break b}case 19:case 96:{vh(x,l,_t(a,da(b+12|0,4,0,0)|0|0,y)|0,c,0)|0;break b}case 154:break;case 148:case 73:{u=b+12|0;w=_t(a,da(u|0,4,0,0)|0|0,y)|0;v=b+16|0;x=_t(a,da(v|0,4,0,0)|0|0,z)|0;$t(a,da(u|0,4,0,0)|0|0,da(v|0,4,0,0)|0|0,m<<24>>24==73?79:78,w,x,c,160);break b}case 135:{e=b+32|0;vh(x,31,da(e|0,2,0,0)|0|0,c,0)|0;if(!(da((da(b+8|0,4,0,0)|0|0)+1>>0|0,1,0,0)|0))break b;wh(x,-1,da((da(a+472|0,4,0,0)|0|0)+((da(e|0,2,0,0)|0|0)+-1<<2)|0,4,0,0)|0|0,-2);break b}case 133:{Zt(x,da(b+8|0,4,0,0)|0|0,0,c);break b}case 74:{m=da(b+12|0,4,0,0)|0|0;h=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;d=da(h|0,4,0,0)|0|0;k=_t(a,m,y)|0;l=_t(a,d,z)|0;g=a+19|0;e=da(g>>0|0,1,0,0)|0|0;if(e<<24>>24){w=e+-1<<24>>24;ea(g>>0|0,w|0,1,0);f=da(a+((w&255)<<2)+24|0,4,0,0)|0|0;if(!(w<<24>>24))A=103;else{w=e+-2<<24>>24;ea(g>>0|0,w|0,1,0);g=da(a+((w&255)<<2)+24|0,4,0,0)|0|0}}else{A=a+72|0;f=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,f|0,4,0);A=103}if((A|0)==103){w=a+72|0;g=(da(w|0,4,0,0)|0|0)+1|0;ea(w|0,g|0,4,0)}$t(a,m,d,83,k,l,f,32);w=da(h+20|0,4,0,0)|0|0;Zr(a,da(z|0,4,0,0)|0|0);$t(a,m,w,81,k,_t(a,w,z)|0,g,32);vh(x,72,f,g,c)|0;Zr(a,f);Zr(a,g);break b}case 94:case 88:case 87:case 92:case 86:case 85:case 93:case 90:case 91:case 89:case 71:case 72:{w=_t(a,da(b+12|0,4,0,0)|0|0,y)|0;vh(x,l,_t(a,da(b+16|0,4,0,0)|0|0,z)|0,w,c)|0;break b}case 157:{e=b+12|0;d=da(e|0,4,0,0)|0|0;f=da(d>>0|0,1,0,0)|0|0;if(f<<24>>24==-123){Zt(x,da(d+8|0,4,0,0)|0|0,1,c);break b}else if(f<<24>>24==-124){Yt(a,d,1,c);break b}else{ea(g>>0|0,-124|0,1,0);ea(g+4|0,17408|0,4,0);ea(g+8|0,0|0,4,0);w=_t(a,g,y)|0;vh(x,90,_t(a,da(e|0,4,0,0)|0|0,z)|0,w,c)|0;break b}}case 101:{A=16;break b}case 156:{d=da(b+40|0,4,0,0)|0|0;e=da(b+34|0,2,0,0)|0|0;f=da(d+28|0,4,0,0)|0|0;if(!(da(d>>0|0,1,0,0)|0)){c=da(f+(e*24|0)+16|0,4,0,0)|0|0;break b}if(da(d+1>>0|0,1,0,0)|0){vh(x,47,da(d+8|0,4,0,0)|0|0,da(f+(e*24|0)+12|0,4,0,0)|0|0,c)|0;break b}break}case 38:{e=hs(a,da(b+12|0,4,0,0)|0|0,c)|0;if((e|0)!=(c|0))vh(x,34,e,c,0)|0;vh(x,40,c,(Wq(da(b+8|0,4,0,0)|0|0,0)|0)<<24>>24,0)|0;ct(a,c,1);break b}case 57:{if(!(da(a+412|0,4,0,0)|0)){sh(a,29e3,w);c=0;break a}f=da(b+1>>0|0,1,0,0)|0|0;if(f<<24>>24!=2){d=da(b+8|0,4,0,0)|0|0;if(f<<24>>24==4){wh(x,vh(x,24,0,4,0)|0,d,0);break b}}else{d=da(a+408|0,4,0,0)|0|0;ea(((d|0)==0?a:d)+21>>0|0,1|0,1,0);d=da(b+8|0,4,0,0)|0|0}ys(a,1811,f<<24>>24,d,0,0);break b}case 134:{d=(da(b+8|0,4,0,0)|0|0)+2|0;e=d;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;v=(e-d&1073741823)+-1|0;w=Xt(da(x|0,4,0,0)|0|0,d,v)|0;wh(x,vh(x,30,(v|0)/2|0,c,0)|0,w,-1);break b}default:{q=da(b+20|0,4,0,0)|0|0;o=q+4|0;p=da(o|0,4,0,0)|0|0;q=da(q|0,4,0,0)|0|0;r=ws(x)|0;m=da(b+12|0,4,0,0)|0|0;b=(m|0)!=0;if(b){l=g+0|0;k=m+0|0;h=l+48|0;do{ea(l|0,da(k|0,4,0,0)|0|0,4,0);l=l+4|0;k=k+4|0}while((l|0)<(h|0));m=_t(a,m,y)|0;ea(g+38>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);ea(g>>0|0,-97|0,1,0);ea(g+28|0,m|0,4,0);m=g+4|0;ea(m|0,(da(m|0,4,0,0)|0)&-4097|0,4,0);ea(w>>0|0,79|0,1,0);ea(w+12|0,g|0,4,0);ea(y|0,0|0,4,0);m=w}else m=0;n=q+-1|0;if((n|0)>0){d=a+100|0;h=w+16|0;g=x+24|0;f=x+32|0;e=0;l=m;while(1){ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);m=da(p+(e*20|0)|0,4,0,0)|0|0;if(b){ea(h|0,m|0,4,0);m=l}w=ws(x)|0;ft(a,m,w,16);Qq(a,da(p+((e|1)*20|0)|0,4,0,0)|0|0,c);vh(x,16,0,r,0)|0;au(a);l=da(g|0,4,0,0)|0|0;k=~w;if((w|0)<0?(s=da(l+112|0,4,0,0)|0|0,(s|0)!=0):0)ea(s+(k<<2)|0,da(f|0,4,0,0)|0|0,4,0);ea(l+88|0,(da(f|0,4,0,0)|0|0)+-1|0,4,0);e=e+2|0;if((e|0)>=(n|0))break;else l=m}}if(!(q&1))vh(x,28,0,c,0)|0;else{w=a+100|0;ea(w|0,(da(w|0,4,0,0)|0|0)+1|0,4,0);Qq(a,da((da(o|0,4,0,0)|0|0)+(n*20|0)|0,4,0,0)|0|0,c);au(a)}f=da(x+24|0,4,0,0)|0|0;e=~r;if((r|0)<0?(t=da(f+112|0,4,0,0)|0|0,(t|0)!=0):0)ea(t+(e<<2)|0,da(x+32|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(x+32|0,4,0,0)|0|0)+-1|0,4,0);break b}}while(0);d=da(b+28|0,4,0,0)|0|0;do if((d|0)<0){d=da(a+92|0,4,0,0)|0|0;if((d|0)>0){c=(da(b+32|0,2,0,0)|0|0)+d|0;break b}else{d=da(a+96|0,4,0,0)|0|0;break}}while(0);c=bt(a,da(b+44|0,4,0,0)|0|0,da(b+32|0,2,0,0)|0|0,d,c,da(b+38>>0|0,1,0,0)|0|0)|0}while(0);if((A|0)==16)vh(x,28,0,c,0)|0;Zr(a,da(y|0,4,0,0)|0|0);Zr(a,da(z|0,4,0,0)|0|0)}while(0);i=B;return c|0}function is(a,b){a=a|0;b=b|0;var c=0;c=Nq(a)|0;fs(a,b,1,1,(b|0)==1?13184:13208);wh(c,vh(c,55,0,1,b)|0,5,-14);b=a+68|0;if(!(da(b|0,4,0,0)|0))ea(b|0,1|0,4,0);return}function js(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=b+48|0;if((da(d|0,2,0,1)|0|0|0)<(c|0)){e=c*7|0;a=lh(a,e,((e|0)<0)<<31>>31)|0;if(!a)a=7;else{ew(a|0,0,e|0)|0;e=b+32|0;jw(a|0,da(e|0,4,0,0)|0|0,(da(d|0,2,0,1)|0|0)<<2|0)|0;ea(e|0,a|0,4,0);e=a+(c<<2)|0;f=b+4|0;jw(e|0,da(f|0,4,0,0)|0|0,(da(d|0,2,0,1)|0|0)<<1|0)|0;ea(f|0,e|0,4,0);a=a+(c*6|0)|0;e=b+28|0;jw(a|0,da(e|0,4,0,0)|0|0,da(d|0,2,0,1)|0|0|0)|0;ea(e|0,a|0,4,0);ea(d|0,c|0,2,0);a=b+51|0;ea(a>>0|0,da(a>>0|0,1,0,0)|0|16|0,1,0);a=0}}else a=0;return a|0}function ks(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();f=m;l=m+4|0;do if(!b)c=0;else{g=da(a|0,4,0,0)|0|0;k=b+24|0;e=g+460|0;d=(da(e|0,4,0,0)|0|0)+(da(k|0,4,0,0)|0|0)|0;c=da((da(g|0,4,0,0)|0|0)+100|0,4,0,0)|0|0;if((c|0)<(d|0)){ea(f|0,c|0,4,0);sh(g,27152,f);c=1;break}ea(e|0,d|0,4,0);f=a+28|0;e=da(f|0,2,0,1)|0|0;h=e&4098;ea(f|0,e&61437|0,2,0);ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(l+16|0,0|0,4,0);ea(l+20|0,0|0,4,0);ea(l|0,82|0,4,0);ea(l+4|0,83|0,4,0);e=l+12|0;ea(e|0,g|0,4,0);ea(l+24|0,a|0,4,0);qs(l,b)|0;l=(da(a|0,4,0,0)|0|0)+460|0;ea(l|0,(da(l|0,4,0,0)|0|0)-(da(k|0,4,0,0)|0|0)|0,4,0);if(!((da(a+24|0,4,0,0)|0|0)<=0?(da((da(e|0,4,0,0)|0|0)+64|0,4,0,0)|0|0)<=0:0)){l=b+4|0;ea(l|0,da(l|0,4,0,0)|0|8|0,4,0)}e=da(f|0,2,0,0)|0|0;d=b+4|0;c=da(d|0,4,0,0)|0|0;if(e&2){c=c|2;ea(d|0,c|0,4,0)}ea(f|0,e&65535|h|0,2,0);c=c>>>3&1}while(0);i=m;return c|0}function ls(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;c=da(a+48|0,2,0,0)|0|0;if(!(c<<16>>16)){b=0;c=0}else{g=da(a+4|0,4,0,0)|0|0;d=c&65535;e=0;b=0;do{c=da(g+(e<<1)|0,2,0,0)|0|0;if(c<<16>>16<0)c=1;else c=da(f+((c<<16>>16)*24|0)+22>>0|0,1,0,1)|0|0;b=c+b|0;e=e+1|0}while((e|0)<(d|0));b=b<<2;c=0}ea(a+44|0,es(b,c)|0|0,2,0);return}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=da(a|0,4,0,0)|0|0;d=g+24|0;f=da(d|0,4,0,0)|0|0;ea(d|0,f&-97|64|0,4,0);Cs(a,b,0);if(!(da(a+64|0,4,0,0)|0)){while(1){c=da(b+52|0,4,0,0)|0|0;if(!c){e=b;break}else b=c}ea(d|0,f|0,4,0);b=lh(g,76,0)|0;if(b){c=b+0|0;d=c+76|0;do{ea(c>>0|0,0|0,1,0);c=c+1|0}while((c|0)<(d|0));ea(b+40|0,1|0,2,0);ea(b|0,0|0,4,0);ea(b+28|0,200|0,2,0);hu(a,da(e|0,4,0,0)|0|0,b+38|0,b+4|0);iu(a,b,e);ea(b+36|0,-1|0,2,0);if(da(g+65>>0|0,1,0,0)|0){jg(g,b);b=0}}else b=0}else b=0;return b|0}function ns(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=da(b|0,4,0,0)|0|0;e=da(c>>0|0,1,0,0)|0|0;a:do if(!(e<<24>>24)){g=0;f=0}else{g=e;h=0;while(1){f=h+1|0;if(!(g<<24>>24==95?1:((da(10368+(g&255)>>0|0,1,0,0)|0)&6)!=0)){f=h;break a}g=da(c+f>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){g=0;break}else h=f}}while(0);if((((e&255)+-48|0)>>>0>=10?(ei(c,f)|0)==27:0)?!((f|0)==0|g<<24>>24!=0):0)i=0;else{ea(a+d>>0|0,34|0,1,0);i=1;e=da(c>>0|0,1,0,0)|0|0;d=d+1|0}if(e<<24>>24){f=c;h=0;do{g=d+1|0;ea(a+d>>0|0,e|0,1,0);if((da(f>>0|0,1,0,0)|0|0)==34){ea(a+g>>0|0,34|0,1,0);d=d+2|0}else d=g;h=h+1|0;f=c+h|0;e=da(f>>0|0,1,0,0)|0|0}while(e<<24>>24!=0)}if(i){ea(a+d>>0|0,34|0,1,0);d=d+1|0}ea(a+d>>0|0,0|0,1,0);ea(b|0,d|0,4,0);return}function os(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+20|0;d=da(c>>0|0,1,0,0)|0|0;if(d<<24>>24==2?((da(b+4|0,4,0,0)|0)&1|0)!=0:0){ea(c>>0|0,0|0,1,0);c=2}else e=4;a:do if((e|0)==4)switch(da(b>>0|0,1,0,1)|0|0|0){case 153:{if((d&255)>3){c=0;break a}if((da(b+4|0,4,0,0)|0)&524288){c=0;break a}ea(c>>0|0,0|0,1,0);c=2;break a}case 135:if(d<<24>>24==5){ea(b>>0|0,101|0,1,0);c=0;break a}else if(d<<24>>24==4){ea(c>>0|0,0|0,1,0);c=2;break a}else{c=0;break a}case 156:case 155:case 154:case 27:{if(d<<24>>24==3?(da(b+28|0,4,0,0)|0|0)==(da(a+24|0,4,0,0)|0|0):0){c=0;break a}ea(c>>0|0,0|0,1,0);c=2;break a}default:{c=0;break a}}while(0);return c|0}function ps(a,b){a=a|0;b=b|0;ea(a+20>>0|0,0|0,1,0);return 2}function qs(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)b=0;else{c=qc[(fa(da(a|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0;do if((c|0)==0?(d=b+4|0,((da(d|0,4,0,0)|0)&16384|0)==0):0){if(qs(a,da(b+12|0,4,0,0)|0|0)|0){b=2;break a}if(qs(a,da(b+16|0,4,0,0)|0|0)|0){b=2;break a}b=b+20|0;if(!((da(d|0,4,0,0)|0)&2048))if(!(ku(a,da(b|0,4,0,0)|0|0)|0))break;else{b=2;break a}else if(!(ju(a,da(b|0,4,0,0)|0|0)|0))break;else{b=2;break a}}while(0);b=c&2}while(0);return b|0}function rs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do if(b)if(!c)d=b;else{if((lu(b)|0)==0?(lu(c)|0)==0:0){d=lh(a,48,0)|0;if(d){e=d+0|0;f=e+48|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(d>>0|0,72|0,1,0);ea(d+34|0,-1|0,2,0);ea(d+24|0,1|0,4,0)}ss(a,d,b,c);break}Fk(a,b);Fk(a,c);d=mr(a,132,20616,0)|0}else d=c;while(0);return d|0}function ss(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!b){Fk(a,c);Fk(a,d)}else{if(d){ea(b+16|0,d|0,4,0);a=b+4|0;ea(a|0,da(a|0,4,0,0)|0|(da(d+4|0,4,0,0)|0)&2097408|0,4,0)}if(c){ea(b+12|0,c|0,4,0);a=b+4|0;ea(a|0,da(a|0,4,0,0)|0|(da(c+4|0,4,0,0)|0)&2097408|0,4,0)}Ht(b)}return}function ts(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=b<<16>>16;h=(f<<2)+63&-8;i=f<<1;j=i+2|0;g=(f+7+i+j&-8)+h|0;e=g+c|0;c=lh(a,e,((e|0)<0)<<31>>31)|0;if(c){ew(c|0,0,e|0)|0;ea(c+32|0,c+56|0,4,0);ea(c+8|0,c+h|0,4,0);e=h+j|0;ea(c+4|0,c+e|0,4,0);ea(c+28|0,c+(e+i)|0,4,0);ea(c+48|0,b|0,2,0);ea(c+46|0,f+65535|0,2,0);ea(d|0,c+g|0,4,0)}return c|0}function us(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();q=w;m=da(b+12|0,4,0,0)|0|0;l=a+68|0;t=da(l|0,4,0,0)|0|0;v=t+1|0;ea(l|0,t+2|0,4,0);k=da(a|0,4,0,0)|0|0;g=da(b+24|0,4,0,0)|0|0;a:do if(g){e=da(k+20|0,4,0,0)|0|0;if((e|0)>0){d=da(k+16|0,4,0,0)|0|0;h=0;while(1){f=h+1|0;if((da(d+(h<<4)+12|0,4,0,0)|0|0)==(g|0)){f=h;break a}if((f|0)<(e|0))h=f;else break}}else f=0}else f=-1e6;while(0);if((Rq(a,27,da(b|0,4,0,0)|0|0,0,da((da(k+16|0,4,0,0)|0|0)+(f<<4)|0,4,0,0)|0|0)|0)==0?(fs(a,f,da(m+32|0,4,0,0)|0|0,1,da(m|0,4,0,0)|0|0),u=Nq(a)|0,(u|0)!=0):0){if((c|0)>-1)n=c;else n=da(b+40|0,4,0,0)|0|0;r=gs(a,b)|0;s=da(l|0,4,0,0)|0|0;ea(l|0,s+1|0,4,0);p=b+46|0;e=da(p|0,2,0,1)|0|0;if(r)ea(r|0,(da(r|0,4,0,0)|0|0)+1|0,4,0);wh(u,vh(u,58,s,0,e)|0,r,-6);Pq(a,t,f,m,54);k=vh(u,108,t,0,0)|0;e=a+19|0;d=da(e>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){m=a+72|0;o=(da(m|0,4,0,0)|0|0)+1|0;ea(m|0,o|0,4,0)}else{o=d+-1<<24>>24;ea(e>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}Ot(a,b,t,o,0,q,0,0)|0;vh(u,109,s,o,0)|0;Pt(a,da(q|0,4,0,0)|0|0);vh(u,9,t,k+1|0,0)|0;m=u+32|0;h=da(m|0,4,0,0)|0|0;if(h>>>0>k>>>0)ea((da(u+4|0,4,0,0)|0|0)+(k*20|0)+8|0,h|0,4,0);g=u+24|0;ea((da(g|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);if((c|0)<0)vh(u,118,n,f,0)|0;wh(u,vh(u,55,v,n,f)|0,r,-6);l=u+4|0;e=da(l|0,4,0,0)|0|0;if(e)ea(e+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,(c>>31)+4&252|1|0,1,0);k=vh(u,106,s,0,0)|0;e=da(m|0,4,0,0)|0|0;if((da(b+50>>0|0,1,0,0)|0|0)!=0&(r|0)!=0){h=e+3|0;vh(u,16,0,h,0)|0;e=da(m|0,4,0,0)|0|0;n=da(p|0,2,0,1)|0|0;wh(u,vh(u,99,s,h,o)|0,n,-14);mu(a,2,b)}vh(u,100,s,o,v)|0;vh(u,110,v,o,1)|0;d=da(l|0,4,0,0)|0|0;if(d)ea(d+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);Zr(a,o);vh(u,5,s,e,0)|0;d=da(m|0,4,0,0)|0|0;if(d>>>0>k>>>0)ea((da(l|0,4,0,0)|0|0)+(k*20|0)+8|0,d|0,4,0);ea((da(g|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);vh(u,61,t,0,0)|0;vh(u,61,v,0,0)|0;vh(u,61,s,0,0)|0}i=w;return}function vs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=da(a|0,4,0,0)|0|0;if(!c){c=Xn(l,b,d,0)|0;if(!c)h=4;else h=3}else h=3;if((h|0)==3)if(!(da(c+12|0,4,0,0)|0))h=4;else h=14;if((h|0)==4){f=b&255;e=l+224|0;if(da(e|0,4,0,0)|0){g=jh(l,d)|0;if(g){pc[(fa(da(e|0,4,0,0)|0|0,15|0)|0)&15](da(l+232|0,4,0,0)|0|0,l,f,g);lg(l,g);h=7}}else h=7;if((h|0)==7?(k=l+228|0,(da(k|0,4,0,0)|0|0)!=0):0){e=lh(l,40,0)|0;if(!e)e=0;else{g=e+0|0;f=g+40|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));ea(e+8|0,1|0,2,0);ea(e+32|0,l|0,4,0);Wg(e,d,-1,1,0)|0}c=Rg(e,2)|0;if(c)pc[(fa(da(k|0,4,0,0)|0|0,15|0)|0)&15](da(l+232|0,4,0,0)|0|0,l,da(l+62>>0|0,1,0,1)|0|0,c);Lh(e)}c=Xn(l,b,d,0)|0;if(!c)h=19;else h=14}a:do if((h|0)==14)if(!(da(c+12|0,4,0,0)|0)){f=da(c|0,4,0,0)|0|0;g=0;while(1){e=Xn(l,da(26816+g>>0|0,1,0,0)|0|0,f,0)|0;g=g+1|0;if(da(e+12|0,4,0,0)|0)break;if((g|0)>=3){h=19;break a}}ea(c+0|0,da(e+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(e+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(e+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(e+12|0,4,0,0)|0|0,4,0);ea(c+16|0,0|0,4,0)}while(0);if((h|0)==19){ea(m|0,d|0,4,0);sh(a,26784,m);c=0}i=n;return c|0}function ws(a){a=a|0;var b=0,c=0;a=da(a+24|0,4,0,0)|0|0;c=a+108|0;b=da(c|0,4,0,0)|0|0;ea(c|0,b+1|0,4,0);if(!(b+-1&b)){c=a+112|0;a=Vl(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,b<<3|4,0)|0;ea(c|0,a|0,4,0)}else a=da(a+112|0,4,0,0)|0|0;if(a)ea(a+(b<<2)|0,-1|0,4,0);return ~b|0}function xs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(b){d=da(b|0,4,0,0)|0|0;if((d|0)>0){e=(d*72|0)+8|0;d=e;e=((e|0)<0)<<31>>31}else{d=80;e=0}d=lh(a,d,e)|0;if(d){e=da(b|0,4,0,0)|0|0;ea(d+4|0,e|0,4,0);ea(d|0,e|0,4,0);if((da(b|0,4,0,0)|0|0)>0){e=d+8|0;g=0;do{ea(e+(g*72|0)|0,da(b+(g*72|0)+8|0,4,0,0)|0|0,4,0);ea(e+(g*72|0)+4|0,jh(a,da(b+(g*72|0)+12|0,4,0,0)|0|0)|0|0,4,0);ea(e+(g*72|0)+8|0,jh(a,da(b+(g*72|0)+16|0,4,0,0)|0|0)|0|0,4,0);ea(e+(g*72|0)+12|0,jh(a,da(b+(g*72|0)+20|0,4,0,0)|0|0)|0|0,4,0);ea(e+(g*72|0)+36>>0|0,da(b+(g*72|0)+44>>0|0,1,0,0)|0|0|0,1,0);ea(e+(g*72|0)+40|0,da(b+(g*72|0)+48|0,4,0,0)|0|0,4,0);ea(e+(g*72|0)+24|0,da(b+(g*72|0)+32|0,4,0,0)|0|0,4,0);ea(e+(g*72|0)+28|0,da(b+(g*72|0)+36|0,4,0,0)|0|0,4,0);f=b+(g*72|0)+45|0;h=e+(g*72|0)+37|0;i=(da(h>>0|0,1,0,0)|0)&-3|(da(f>>0|0,1,0,0)|0)&2;ea(h>>0|0,i|0,1,0);i=i&-5|(da(f>>0|0,1,0,0)|0)&4;ea(h>>0|0,i|0,1,0);ea(h>>0|0,i&-9|(da(f>>0|0,1,0,0)|0)&8|0,1,0);ea(e+(g*72|0)+64|0,jh(a,da(b+(g*72|0)+72|0,4,0,0)|0|0)|0|0,4,0);ea(h>>0|0,(da(h>>0|0,1,0,0)|0)&-2|(da(f>>0|0,1,0,0)|0)&1|0,1,0);ea(e+(g*72|0)+68|0,da(b+(g*72|0)+76|0,4,0,0)|0|0,4,0);f=da(b+(g*72|0)+24|0,4,0,0)|0|0;ea(e+(g*72|0)+16|0,f|0,4,0);if(f){f=f+40|0;ea(f|0,(da(f|0,2,0,0)|0|0)+1<<16>>16|0,2,0)}ea(e+(g*72|0)+20|0,fr(a,da(b+(g*72|0)+28|0,4,0,0)|0|0,c)|0|0,4,0);ea(e+(g*72|0)+44|0,Lr(a,da(b+(g*72|0)+52|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(e+(g*72|0)+48|0,Mr(a,da(b+(g*72|0)+56|0,4,0,0)|0|0)|0|0,4,0);i=b+(g*72|0)+64|0;f=da(i+4|0,4,0,0)|0|0;h=e+(g*72|0)+56|0;ea(h|0,da(i|0,4,0,0)|0|0,4,0);ea(h+4|0,f|0,4,0);g=g+1|0}while((g|0)<(da(b|0,4,0,0)|0|0))}}else d=0}else d=0;return d|0}function ys(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Nq(a)|0;if((c|0)==2){i=da(a+408|0,4,0,0)|0|0;ea(((i|0)==0?a:i)+21>>0|0,1|0,1,0)}wh(g,vh(g,24,b,c,0)|0,d,e<<24>>24);if(f<<24>>24!=0?(h=da(g+4|0,4,0,0)|0|0,(h|0)!=0):0)ea(h+(((da(g+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,f|0,1,0);return}function zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0;do if(!(da(a+438>>0|0,1,0,0)|0)){f=da(b+68|0,4,0,0)|0|0;if((c|0)!=(f|0)?(d=da(c+48|0,4,0,0)|0|0,(d|0)!=0):0){e=b+64|0;c=0;while(1){a=da(d+8|0,4,0,0)|0|0;if((da(a+24|0,4,0,0)|0|0)==(f|0)?(cd(da(a+4|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0)|0)==0:0){if(!c)c=da(e|0,4,0,0)|0|0;ea(a+32|0,c|0,4,0)}else a=c;d=da(d|0,4,0,0)|0|0;if(!d)break;else c=a}if(a)break}a=da(b+64|0,4,0,0)|0|0}else a=0;while(0);return a|0}function As(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=da(b+32|0,4,0,0)|0|0;j=b+8|0;h=b+68|0;e=0;while(1){f=(e|0)==0;b=f|(i|0)<(e|0)?i:0;c=da(j|0,4,0,0)|0|0;if(!c)g=b;else{do{d=da(c+40|0,4,0,0)|0|0;b=(f|(d|0)<(e|0))&(d|0)>(b|0)?d:b;c=da(c+20|0,4,0,0)|0|0}while((c|0)!=0);g=b}if(!g)break;b=da(a|0,4,0,0)|0|0;e=da(h|0,4,0,0)|0|0;a:do if(e){f=da(b+20|0,4,0,0)|0|0;if((f|0)>0){c=da(b+16|0,4,0,0)|0|0;d=0;while(1){b=d+1|0;if((da(c+(d<<4)+12|0,4,0,0)|0|0)==(e|0)){b=d;break a}if((b|0)<(f|0))d=b;else break}}else b=0}else b=-1e6;while(0);Dr(a,g,b);e=g}return}function Bs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:do if((b|0)!=0?(c=da(b|0,4,0,0)|0|0,(c|0)>0):0){g=a+68|0;e=0;f=b+8|0;while(1){d=f+40|0;if((da(d|0,4,0,0)|0|0)>-1)break a;h=da(g|0,4,0,0)|0|0;ea(g|0,h+1|0,4,0);ea(d|0,h|0,4,0);d=da(f+20|0,4,0,0)|0|0;if(d){Bs(a,da(d+32|0,4,0,0)|0|0);c=da(b|0,4,0,0)|0|0}e=e+1|0;if((e|0)>=(c|0))break;else f=f+72|0}}while(0);return}function Cs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+32|0;if((i|0)>=(j|0))ba();h=k;if(((b|0)!=0?(g=(da(a|0,4,0,0)|0|0)+65|0,(da(g>>0|0,1,0,0)|0|0)==0):0)?(e=b+6|0,d=da(e|0,2,0,0)|0|0,(d&32)==0):0){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);ea(h|0,84|0,4,0);ea(h+12|0,a|0,4,0);f=h+4|0;if(da(a+22>>0|0,1,0,0)|0){ea(f|0,85|0,4,0);ju(h,b)|0;d=da(e|0,2,0,0)|0|0}ea(f|0,86|0,4,0);if(!(d&256))ea(h+8|0,9|0,4,0);ju(h,b)|0;d=a+64|0;if((((da(d|0,4,0,0)|0|0)==0?(da(g>>0|0,1,0,0)|0|0)==0:0)?(ea(h+0|0,0|0,4,0),ea(h+4|0,0|0,4,0),ea(h+8|0,0|0,4,0),ea(h+12|0,0|0,4,0),ea(h+16|0,0|0,4,0),ea(h+20|0,0|0,4,0),ea(h|0,82|0,4,0),ea(h+4|0,83|0,4,0),ea(h+12|0,a|0,4,0),ea(h+24|0,c|0,4,0),ju(h,b)|0,(da(d|0,4,0,0)|0|0)==0):0)?(da(g>>0|0,1,0,0)|0|0)==0:0){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);ea(h+8|0,10|0,4,0);ea(h|0,84|0,4,0);ea(h+12|0,a|0,4,0);ju(h,b)|0}}i=k;return}function Ds(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(a)do{c=da(a+36|0,4,0,0)|0|0;if((c|0)!=0?(g=da(c+24|0,4,0,0)|0|0,(g|0)>(da(b|0,4,0,0)|0|0)):0)ea(b|0,g|0,4,0);c=da(a+44|0,4,0,0)|0|0;if((c|0)!=0?(d=da(c+24|0,4,0,0)|0|0,(d|0)>(da(b|0,4,0,0)|0|0)):0)ea(b|0,d|0,4,0);c=da(a+60|0,4,0,0)|0|0;if((c|0)!=0?(e=da(c+24|0,4,0,0)|0|0,(e|0)>(da(b|0,4,0,0)|0|0)):0)ea(b|0,e|0,4,0);c=da(a+64|0,4,0,0)|0|0;if((c|0)!=0?(f=da(c+24|0,4,0,0)|0|0,(f|0)>(da(b|0,4,0,0)|0|0)):0)ea(b|0,f|0,4,0);su(da(a|0,4,0,0)|0|0,b);su(da(a+40|0,4,0,0)|0|0,b);su(da(a+48|0,4,0,0)|0|0,b);a=da(a+52|0,4,0,0)|0|0}while((a|0)!=0);return}function Es(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=da(b|0,4,0,0)|0|0;f=e+c|0;if(f>>>0>(da(b+4|0,4,0,0)|0|0)>>>0){g=qo(a,b,(f*72|0)+8|0,0)|0;if(g){do if(!a)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0;else{if((da(a+276|0,4,0,0)|0|0)>>>0<=g>>>0?(da(a+280|0,4,0,0)|0|0)>>>0>g>>>0:0){b=da(a+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0}while(0);ea(g+4|0,(((b+-80|0)>>>0)/72|0)+1|0,4,0);b=g;e=da(g|0,4,0,0)|0|0;h=10}}else h=10;if((h|0)==10){if((e|0)>(d|0)){do{e=e+-1|0;f=b+((e+c|0)*72|0)+8|0;a=b+(e*72|0)+8|0;g=f+72|0;do{ea(f|0,da(a|0,4,0,0)|0|0,4,0);f=f+4|0;a=a+4|0}while((f|0)<(g|0))}while((e|0)>(d|0));e=da(b|0,4,0,0)|0|0}ea(b|0,e+c|0,4,0);ew(b+(d*72|0)+8|0,0,c*72|0)|0;e=d+c|0;if((c|0)>0)do{ea(b+(d*72|0)+48|0,-1|0,4,0);d=d+1|0}while((d|0)<(e|0))}return b|0}function Fs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if((b|0)!=0?(da(b|0,4,0,0)|0|0)>0:0){e=b+4|0;f=da(e|0,4,0,0)|0|0;g=0;do{h=Gs(a,da(f+(g*20|0)|0,4,0,0)|0|0,c,d)|0;f=da(e|0,4,0,0)|0|0;ea(f+(g*20|0)|0,h|0,4,0);g=g+1|0}while((g|0)<(da(b|0,4,0,0)|0|0))}return}function Gs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;do if(b){if((da(b>>0|0,1,0,0)|0|0)==-102?(da(b+28|0,4,0,0)|0|0)==(c|0):0){e=da(b+32|0,2,0,0)|0|0;if(e<<16>>16<0){ea(b>>0|0,101|0,1,0);break}else{e=Lr(a,da((da(d+4|0,4,0,0)|0|0)+((e<<16>>16)*20|0)|0,4,0,0)|0|0,0,0)|0;Fk(a,b);b=e;break}}e=b+12|0;ea(e|0,Gs(a,da(e|0,4,0,0)|0|0,c,d)|0|0,4,0);e=b+16|0;ea(e|0,Gs(a,da(e|0,4,0,0)|0|0,c,d)|0|0,4,0);e=b+20|0;if(!((da(b+4|0,4,0,0)|0)&2048)){Fs(a,da(e|0,4,0,0)|0|0,c,d);break}else{tu(a,da(e|0,4,0,0)|0|0,c,d);break}}else b=0;while(0);return b|0}function Hs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;d=b;f=1;while(1){b=da(d+52|0,4,0,0)|0|0;if(!b){e=5;break}if((da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)==(e|0)){d=b;f=f+1|0}else{e=3;break}}a:do if((e|0)==3){Is(a,b);b=1}else if((e|0)==5)if(!d)b=0;else{g=((f|0)<0)<<31>>31;e=0;while(1){h=d+52|0;ea(h|0,0|0,4,0);b=hr(a,d,c)|0;ea(h|0,e|0,4,0);if(b)break a;b=d+24|0;ea(b|0,f|0,4,0);ea(b+4|0,g|0,4,0);b=da(d+56|0,4,0,0)|0|0;if(!b){b=0;break a}d=b;e=da(b+52|0,4,0,0)|0|0}}while(0);return b|0}function Is(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;if(!((da(b+6|0,2,0,0)|0)&128)){b=da(b+4>>0|0,1,0,1)|0|0;if((b|0)==116)b=35320;else if((b|0)==118)b=35336;else if((b|0)==117)b=35352;else b=35360;ea(c|0,b|0,4,0);sh(a,35232,c)}else sh(a,35184,c);i=d;return}function Js(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();r=A;e=da(b+32|0,4,0,0)|0|0;h=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;o=da(a+8|0,4,0,0)|0|0;p=b+52|0;q=da(p|0,4,0,0)|0|0;if(!(Rq(a,33,0,0,0)|0)){s=ws(o)|0;Ns(a,b,s);t=b+60|0;u=da(t|0,4,0,0)|0|0;v=b+64|0;w=da(v|0,4,0,0)|0|0;x=b+8|0;l=da(x|0,4,0,0)|0|0;y=b+12|0;m=da(y|0,4,0,0)|0|0;ea(v|0,0|0,4,0);ea(t|0,0|0,4,0);ea(y|0,0|0,4,0);ea(x|0,0|0,4,0);x=b+48|0;y=da(x|0,4,0,0)|0|0;f=da(e|0,4,0,0)|0|0;a:do if((f|0)>0){g=0;while(1){if((da(e+(g*72|0)+45>>0|0,1,0,0)|0)&8)break;g=g+1|0;if((g|0)>=(f|0)){k=0;break a}}k=da(e+(g*72|0)+48|0,4,0,0)|0|0}else k=0;while(0);g=a+68|0;e=da(g|0,4,0,0)|0|0;f=e+1|0;ea(g|0,f|0,4,0);d=(y|0)!=0;if((da(b+4>>0|0,1,0,0)|0|0)==115){ea(g|0,e+2|0,4,0);g=d?8:6}else{g=d?7:5;f=0}ea(r>>0|0,g|0,1,0);ea(r+4|0,e|0,4,0);ea(r+1>>0|0,0|0,1,0);ea(r+8|0,0|0,4,0);ea(r+12|0,0|0,4,0);B=a+72|0;g=(da(B|0,4,0,0)|0|0)+1|0;ea(B|0,g|0,4,0);vh(o,60,k,g,h)|0;if(d){h=uu(a,b)|0;wh(o,vh(o,57,e,(da(y|0,4,0,0)|0|0)+2|0,0)|0,h,-6);ea(r+16|0,y|0,4,0)}else vh(o,57,e,h,0)|0;if(f){ea(b+16|0,vh(o,57,f,0,0)|0|0,4,0);f=b+6|0;ea(f|0,da(f|0,2,0,1)|0|8|0,2,0)}ea(x|0,0|0,4,0);h=q+56|0;ea(h|0,0|0,4,0);f=hr(a,q,r)|0;ea(h|0,b|0,4,0);if(!f){h=vh(o,108,e,s,0)|0;vh(o,104,k,0,0)|0;if(d)vh(o,47,e,(da(y|0,4,0,0)|0|0)+1|0,g)|0;else vh(o,102,e,g,0)|0;vh(o,95,e,0,0)|0;f=ws(o)|0;ht(o,m,f);Os(a,b,da(b|0,4,0,0)|0|0,k,0,0,c,f,s);if(l)vh(o,140,l,s,0)|0;d=o+24|0;g=da(d|0,4,0,0)|0|0;e=~f;if((f|0)<0?(n=da(g+112|0,4,0,0)|0|0,(n|0)!=0):0)ea(n+(e<<2)|0,da(o+32|0,4,0,0)|0|0,4,0);f=o+32|0;ea(g+88|0,(da(f|0,4,0,0)|0|0)+-1|0,4,0);ea(p|0,0|0,4,0);hr(a,b,r)|0;ea(p|0,q|0,4,0);vh(o,16,0,h,0)|0;d=da(d|0,4,0,0)|0|0;e=~s;if((s|0)<0?(z=da(d+112|0,4,0,0)|0|0,(z|0)!=0):0)ea(z+(e<<2)|0,da(f|0,4,0,0)|0|0,4,0);ea(d+88|0,(da(f|0,4,0,0)|0|0)+-1|0,4,0)}Mk(da(a|0,4,0,0)|0|0,da(x|0,4,0,0)|0|0);ea(x|0,y|0,4,0);ea(t|0,u|0,4,0);ea(v|0,w|0,4,0)}i=A;return}function Ks(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=i;i=i+48|0;if((i|0)>=(j|0))ba();m=S+40|0;o=S+20|0;F=S;O=da(a|0,4,0,0)|0|0;L=da(a+8|0,4,0,0)|0|0;N=ws(L)|0;K=ws(L)|0;P=b+4|0;G=da(P>>0|0,1,0,0)|0|0;Q=b+52|0;R=da(Q|0,4,0,0)|0|0;p=b+48|0;f=da(p|0,4,0,0)|0|0;e=da(f|0,4,0,0)|0|0;I=G<<24>>24==116;a:do if(!I?(k=O+65|0,(da(k>>0|0,1,0,0)|0|0)==0):0){g=m+4|0;l=1;while(1){if((l|0)>(da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)){H=e;n=14;break a}b:do if((e|0)>0){d=0;h=da(f+4|0,4,0,0)|0|0;while(1){if((da(h+16|0,2,0,1)|0|0)==(l|0))break b;d=d+1|0;if((d|0)<(e|0))h=h+20|0;else break}}else d=0;while(0);if((d|0)==(e|0)){ea(m|0,0|0,4,0);ea(g|0,0|0,4,0);d=mr(O,132,m,0)|0;if(!d){d=7;break a}A=d+4|0;ea(A|0,da(A|0,4,0,0)|0|1024|0,4,0);ea(d+8|0,l|0,4,0);d=kr(a,f,d)|0;if(!d)d=0;else{ea((da(d+4|0,4,0,0)|0|0)+(e*20|0)+16|0,l|0,2,0);e=e+1|0}}else d=f;if(!(da(k>>0|0,1,0,0)|0)){l=l+1|0;f=d}else{H=e;f=d;n=14;break}}}else{H=e;n=14}while(0);if((n|0)==14){E=lh(O,H<<2,0)|0;if(!E)B=0;else{if((H|0)>0){e=0;d=da(f+4|0,4,0,0)|0|0;while(1){ea(E+(e<<2)|0,(da(d+16|0,2,0,1)|0|0)+-1|0,4,0);e=e+1|0;if((e|0)==(H|0))break;else d=d+20|0}}B=uu(a,b)|0}ea(p|0,f|0,4,0);k=R+48|0;ea(k|0,Or(da(a|0,4,0,0)|0|0,f,0)|0|0,4,0);if(!I){f=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;A=a+72|0;e=da(A|0,4,0,0)|0|0;h=e+1|0;ea(A|0,f+1+e|0,4,0);vh(L,25,0,h,0)|0;e=Qs(O,f,1)|0;if(e)if((f|0)>0){d=e+16|0;g=0;do{ea(e+(g<<2)+20|0,Rs(a,b,g)|0|0,4,0);ea((da(d|0,4,0,0)|0|0)+g>>0|0,0|0,1,0);g=g+1|0}while((g|0)!=(f|0));d=e}else d=e;else d=0}else{d=0;h=0}ea(Q|0,0|0,4,0);D=R+56|0;ea(D|0,0|0,4,0);vu(a,b,da(p|0,4,0,0)|0|0,26880)|0;if(!(da(R+52|0,4,0,0)|0))vu(a,R,da(k|0,4,0,0)|0|0,26880)|0;Ns(a,b,N);g=b+8|0;e=da(g|0,4,0,0)|0|0;k=a+72|0;if((e|0)!=0&I){n=da(k|0,4,0,0)|0|0;l=n+1|0;n=n+2|0;ea(k|0,n|0,4,0);A=da(b+12|0,4,0,0)|0|0;vh(L,33,(A|0)==0?e:A+1|0,l,0)|0;vh(L,33,l,n,0)|0}else{l=0;n=0}s=b+60|0;Fk(O,da(s|0,4,0,0)|0|0);ea(s|0,0|0,4,0);s=b+64|0;Fk(O,da(s|0,4,0,0)|0|0);ea(s|0,0|0,4,0);s=da(k|0,4,0,0)|0|0;t=s+1|0;u=s+2|0;q=s+3|0;s=s+4|0;ea(k|0,s|0,4,0);ea(o>>0|0,13|0,1,0);ea(o+4|0,t|0,4,0);ea(o+1>>0|0,0|0,1,0);w=o+8|0;ea(w|0,0|0,4,0);ea(o+12|0,0|0,4,0);ea(F>>0|0,13|0,1,0);ea(F+4|0,u|0,4,0);ea(F+1>>0|0,0|0,1,0);x=F+8|0;ea(x|0,0|0,4,0);ea(F+12|0,0|0,4,0);z=L+32|0;m=vh(L,20,t,0,(da(z|0,4,0,0)|0|0)+1|0)|0;ea(R+8|0,l|0,4,0);k=a+468|0;A=da(k|0,4,0,0)|0|0;hr(a,R,o)|0;vh(L,21,t,0,0)|0;l=da(z|0,4,0,0)|0|0;if(l>>>0>m>>>0)ea((da(L+4|0,4,0,0)|0|0)+(m*20|0)+8|0,l|0,4,0);v=L+24|0;ea((da(v|0,4,0,0)|0|0)+88|0,l+-1|0,4,0);r=vh(L,20,u,0,l+1|0)|0;f=da(g|0,4,0,0)|0|0;p=b+12|0;e=da(p|0,4,0,0)|0|0;ea(g|0,n|0,4,0);ea(p|0,0|0,4,0);y=da(k|0,4,0,0)|0|0;hr(a,b,F)|0;ea(g|0,f|0,4,0);ea(p|0,e|0,4,0);vh(L,21,u,0,0)|0;e=wu(a,b,o,c,q,h,d,N)|0;p=(G+-115&255)<2;if(p)o=wu(a,b,F,c,s,h,d,N)|0;else o=0;if((d|0)!=0?(f=(da(d|0,4,0,0)|0|0)+-1|0,ea(d|0,f|0,4,0),(f|0)==0):0)Vc(d);f=G<<24>>24==118;if((G+-117&255)<2){h=N;d=N}else{h=vh(L,17,s,o,0)|0;d=vh(L,22,u,N,0)|0;vh(L,16,0,h,0)|0;k=R+24|0;g=b+24|0;l=g;k=iw(da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,da(k+4|0,4,0,0)|0|0)|0;ea(g|0,k|0,4,0);ea(g+4|0,C|0,4,0)}if(f){n=b+24|0;m=n;g=da(m+4|0,4,0,0)|0|0;k=R+24|0;l=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;if(g>>>0>k>>>0|((g|0)==(k|0)?(da(m|0,4,0,0)|0|0)>>>0>l>>>0:0)){g=n;ea(g|0,l|0,4,0);ea(g+4|0,k|0,4,0);g=h}else g=h}else{g=vh(L,17,q,e,0)|0;vh(L,22,t,N,0)|0;vh(L,16,0,g,0)|0}m=vh(L,17,q,e,0)|0;vh(L,22,t,h,0)|0;vh(L,16,0,K,0)|0;do if(!I)if(f){n=m;m=m+1|0;break}else{n=vh(L,22,t,h,0)|0;vh(L,16,0,K,0)|0;break}else n=m;while(0);l=da(z|0,4,0,0)|0|0;if(p)vh(L,17,s,o,0)|0;vh(L,22,u,g,0)|0;vh(L,16,0,K,0)|0;k=da(z|0,4,0,0)|0|0;if(k>>>0>r>>>0)ea((da(L+4|0,4,0,0)|0|0)+(r*20|0)+8|0,k|0,4,0);ea((da(v|0,4,0,0)|0|0)+88|0,k+-1|0,4,0);vh(L,22,t,d,0)|0;vh(L,22,u,g,0)|0;g=da(v|0,4,0,0)|0|0;f=~K;if((K|0)<0?(J=da(g+112|0,4,0,0)|0|0,(J|0)!=0):0)ea(J+(f<<2)|0,da(z|0,4,0,0)|0|0,4,0);ea(g+88|0,(da(z|0,4,0,0)|0|0)+-1|0,4,0);wh(L,vh(L,41,0,0,0)|0,E,-15);wh(L,vh(L,42,da(w|0,4,0,0)|0|0,da(x|0,4,0,0)|0|0,H)|0,B,-6);e=da(L+4|0,4,0,0)|0|0;if(e)ea(e+(((da(z|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);vh(L,43,m,n,l)|0;e=da(v|0,4,0,0)|0|0;d=~N;if((N|0)<0?(M=da(e+112|0,4,0,0)|0|0,(M|0)!=0):0)ea(M+(d<<2)|0,da(z|0,4,0,0)|0|0,4,0);ea(e+88|0,(da(z|0,4,0,0)|0|0)+-1|0,4,0);if((da(c>>0|0,1,0,0)|0|0)==9){d=R;while(1){e=da(d+52|0,4,0,0)|0|0;if(!e)break;else d=e}Ms(a,0,da(d|0,4,0,0)|0|0)}d=da(Q|0,4,0,0)|0|0;if(d)Lk(O,d,1);ea(Q|0,R|0,4,0);ea(D|0,b|0,4,0);Ps(a,da(P>>0|0,1,0,1)|0|0,A,y,0);d=0}i=S;return d|0}function Ls(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(!((da(a+4|0,4,0,0)|0)&1024)){c=da(a>>0|0,1,0,1)|0|0;if((c|0)==158){c=Ls(da(a+12|0,4,0,0)|0|0,b)|0;break}else if((c|0)!=157){c=0;break}if(!(Ls(da(a+12|0,4,0,0)|0|0,d)|0))c=0;else{ea(b|0,0-(da(d|0,4,0,0)|0|0)|0,4,0);c=1}}else{ea(b|0,da(a+8|0,4,0,0)|0|0,4,0);c=1}while(0);i=e;return c|0}function Ms(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;if((i|0)>=(j|0))ba();w=x;v=a+8|0;s=da(v|0,4,0,0)|0|0;t=da(a|0,4,0,0)|0|0;if(((da(a+450>>0|0,1,0,0)|0|0)==0?(f=a+16|0,!((da(f>>0|0,1,0,0)|0|0)!=0|(s|0)==0)):0)?(da(t+65>>0|0,1,0,0)|0|0)==0:0){ea(f>>0|0,1|0,1,0);f=da(t+24|0,4,0,0)|0|0;r=(f&32|0)==0;hq(s,da(c|0,4,0,0)|0|0);e=da(c|0,4,0,0)|0|0;if((e|0)>0){q=c+4|0;p=(b|0)==0;m=(f&96|0)==0;n=(b|0)!=0;o=0;do{l=da(q|0,4,0,0)|0|0;e=da(l+(o*20|0)|0,4,0,0)|0|0;do if(e){f=da(l+(o*20|0)+4|0,4,0,0)|0|0;if(f){iq(s,o,0,f,-1);break}f=da(e>>0|0,1,0,0)|0|0;if(f<<24>>24==-102){if(p)u=25}else if(!(f<<24>>24==-100&n))u=25;if((u|0)==25){u=0;f=da(l+(o*20|0)+8|0,4,0,0)|0|0;if(!f){ea(w|0,o+1|0,4,0);f=th(t,34880,w)|0}else f=jh(t,f)|0;iq(s,o,0,f,75);break}k=da(e+32|0,2,0,0)|0|0;f=k<<16>>16;h=da(b|0,4,0,0)|0|0;a:do if((h|0)>0){d=da(e+28|0,4,0,0)|0|0;g=0;while(1){e=g+1|0;if((da(b+(g*72|0)+48|0,4,0,0)|0|0)==(d|0)){e=g;break a}if((e|0)<(h|0))g=e;else break}}else e=0;while(0);e=da(b+(e*72|0)+24|0,4,0,0)|0|0;if(k<<16>>16<0)f=da(e+36|0,2,0,0)|0|0;if((f|0)<0)f=20456;else f=da((da(e+4|0,4,0,0)|0|0)+(f*24|0)|0,4,0,0)|0|0;if(m){iq(s,o,0,jh(t,da(l+(o*20|0)+8|0,4,0,0)|0|0)|0,75);break}if(r){iq(s,o,0,f,-1);break}else{ea(w|0,da(e|0,4,0,0)|0|0,4,0);ea(w+4|0,f|0,4,0);iq(s,o,0,th(t,27824,w)|0,75);break}}while(0);o=o+1|0;e=da(c|0,4,0,0)|0|0}while((o|0)<(e|0))}f=da(v|0,4,0,0)|0|0;ea(w+4|0,b|0,4,0);ea(w|0,a|0,4,0);if((e|0)>0){d=c+4|0;e=0;do{iq(f,e,1,xu(w,da((da(d|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,0)|0,-1);e=e+1|0}while((e|0)<(da(c|0,4,0,0)|0|0))}}i=x;return}function Ns(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();e=n;g=b+8|0;if((da(g|0,4,0,0)|0|0)==0?($s(a),f=b+60|0,(da(f|0,4,0,0)|0|0)!=0):0){k=a+72|0;l=(da(k|0,4,0,0)|0|0)+1|0;ea(k|0,l|0,4,0);ea(g|0,l|0,4,0);m=Nq(a)|0;do if(Ls(da(f|0,4,0,0)|0|0,e)|0){g=da(e|0,4,0,0)|0|0;vh(m,25,g,l,0)|0;if(!g){vh(m,16,0,c,0)|0;break}if((g|0)>-1?(h=b+24|0,e=h,c=da(e+4|0,4,0,0)|0|0,d=((g|0)<0)<<31>>31,c>>>0>d>>>0|((c|0)==(d|0)?(da(e|0,4,0,0)|0|0)>>>0>g>>>0:0)):0){c=h;ea(c|0,g|0,4,0);ea(c+4|0,d|0,4,0)}}else{Qq(a,da(f|0,4,0,0)|0|0,l);vh(m,38,l,0,0)|0;vh(m,46,l,c,0)|0}while(0);e=da(b+64|0,4,0,0)|0|0;if(e){h=da(k|0,4,0,0)|0|0;c=h+1|0;ea(b+12|0,c|0,4,0);ea(k|0,h+2|0,4,0);Qq(a,e,c);vh(m,38,c,0,0)|0;e=vh(m,137,c,0,0)|0;vh(m,25,0,c,0)|0;f=m+32|0;d=da(f|0,4,0,0)|0|0;if(d>>>0>e>>>0)ea((da(m+4|0,4,0,0)|0|0)+(e*20|0)+8|0,d|0,4,0);g=m+24|0;ea((da(g|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);d=h+2|0;vh(m,89,l,c,d)|0;e=vh(m,137,l,0,0)|0;vh(m,25,-1,d,0)|0;d=da(f|0,4,0,0)|0|0;if(d>>>0>e>>>0)ea((da(m+4|0,4,0,0)|0|0)+(e*20|0)+8|0,d|0,4,0);ea((da(g|0,4,0,0)|0|0)+88|0,d+-1|0,4,0)}}i=n;return}function Os(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=da(a+8|0,4,0,0)|0|0;w=da(g>>0|0,1,0,0)|0|0;q=w&255;s=g+4|0;z=da(s|0,4,0,0)|0|0;if(!f)j=0;else j=da(f+1>>0|0,1,0,1)|0|0;if(!e)A=0;else A=(da(e|0,4,0,0)|0|0)==0?0:e;v=(A|0)!=0;r=(j|0)!=0;if(!(v|r))ht(B,da(b+12|0,4,0,0)|0|0,h);x=da(c|0,4,0,0)|0|0;m=g+8|0;e=da(m|0,4,0,0)|0|0;if(e){l=a+72|0;k=da(l|0,4,0,0)|0|0;if((e+x|0)>(k|0)){ea(l|0,k+x|0,4,0);y=e;t=0}else{y=e;t=0}}else{if(v){k=(((da(A+24>>0|0,1,0,0)|0)&1^1)&255)+(da(da(A|0,4,0,0)|0|0,4,0,0)|0|0)|0;y=a+72|0;l=k+(da(y|0,4,0,0)|0|0)|0;ea(y|0,l|0,4,0)}else{l=da(a+72|0,4,0,0)|0|0;k=0}y=l+1|0;ea(m|0,y|0,4,0);ea(a+72|0,l+x|0,4,0);t=k}ea(g+12|0,x|0,4,0);do if((d|0)>-1){if((x|0)>0){l=0;do{vh(B,47,d,l,l+y|0)|0;l=l+1|0}while((l|0)!=(x|0))}}else{if(w<<24>>24==3)break;else if(w<<24>>24==9)k=1;else k=w<<24>>24==13&1;at(a,c,y,k)}while(0);if(r){k=da(f+1>>0|0,1,0,1)|0|0;if((k|0)==1)yh(B,da(f+8|0,4,0,0)|0|0);else if((k|0)==2){d=a+72|0;k=da(d|0,4,0,0)|0|0;p=k+1|0;ea(d|0,k+x|0,4,0);k=f+8|0;yh(B,da(k|0,4,0,0)|0|0);k=da(k|0,4,0,0)|0|0;if((k|0)<0)k=(da(B+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(B|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))k=(da(B+4|0,4,0,0)|0|0)+(k*20|0)|0;else k=29120;ea(k>>0|0,28|0,1,0);ea(k+4|0,1|0,4,0);ea(k+8|0,p|0,4,0);d=B+32|0;e=(da(d|0,4,0,0)|0|0)+x|0;if((x|0)>0){l=c+4|0;k=x+-1|0;m=B+4|0;o=0;do{r=bu(a,da((da(l|0,4,0,0)|0|0)+(o*20|0)|0,4,0,0)|0|0)|0;f=o+y|0;j=o+p|0;if((o|0)<(k|0))vh(B,78,f,e,j)|0;else vh(B,79,f,h,j)|0;wh(B,-1,r,-4);n=da(m|0,4,0,0)|0|0;if(n)ea(n+(((da(d|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-128|0,1,0);o=o+1|0}while((o|0)!=(x|0))}else k=x+-1|0;vh(B,33,y,p,k)|0}else yu(a,da(f+4|0,4,0,0)|0|0,h,x,y);if(!A)ht(B,da(b+12|0,4,0,0)|0|0,h)}a:do switch(q|0){case 7:case 8:{n=da(g+16|0,4,0,0)|0|0;d=da(n|0,4,0,0)|0|0;j=a+19|0;f=da(j>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){v=a+72|0;o=(da(v|0,4,0,0)|0|0)+1|0;ea(v|0,o|0,4,0)}else{o=f+-1<<24>>24;ea(j>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}p=d+2|0;q=a+60|0;e=da(q|0,4,0,0)|0|0;r=a+56|0;j=da(r|0,4,0,0)|0|0;if((j|0)<(p|0)){v=a+72|0;e=da(v|0,4,0,0)|0|0;ea(v|0,e+p|0,4,0);e=e+1|0}else{ea(q|0,e+p|0,4,0);ea(r|0,j-p|0,4,0)}m=e+d|0;k=m+1|0;if(w<<24>>24==8){j=z+1|0;f=vh(B,69,j,0,y)|0;wh(B,f,x,-14);vh(B,49,y,x,k)|0;vh(B,110,j,k,0)|0;j=da(B+4|0,4,0,0)|0|0;if(!j)l=f;else{ea(j+(((da(B+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);l=f}}else{vh(B,49,y,x,k)|0;l=0}if((d|0)>0){k=n+4|0;j=y+-1|0;f=0;do{vh(B,34,j+(da((da(k|0,4,0,0)|0|0)+(f*20|0)+16|0,2,0,1)|0|0)|0,f+e|0,0)|0;f=f+1|0}while((f|0)!=(d|0))}vh(B,73,z,m,0)|0;vh(B,49,e,p,o)|0;vh(B,110,z,o,0)|0;if(l){j=da(B+32|0,4,0,0)|0|0;if(j>>>0>l>>>0)ea((da(B+4|0,4,0,0)|0|0)+(l*20|0)+8|0,j|0,4,0);ea((da(B+24|0,4,0,0)|0|0)+88|0,j+-1|0,4,0)}Zr(a,o);ct(a,e,p);if((da(r|0,4,0,0)|0|0)<(p|0)){ea(r|0,p|0,4,0);ea(q|0,e|0,4,0);u=94}else u=94;break}case 2:{vh(B,111,z,y,x)|0;u=94;break}case 3:{vh(B,25,1,z,0)|0;u=94;break}case 12:case 14:case 6:case 5:{l=t+1|0;k=a+60|0;e=da(k|0,4,0,0)|0|0;m=a+56|0;j=da(m|0,4,0,0)|0|0;if((j|0)<(l|0)){u=a+72|0;e=da(u|0,4,0,0)|0|0;ea(u|0,e+l|0,4,0);e=e+1|0}else{ea(k|0,e+l|0,4,0);ea(m|0,j-l|0,4,0)}j=e+t|0;vh(B,49,y,x,j)|0;if(w<<24>>24==6){y=z+1|0;wh(B,vh(B,69,y,(da(B+32|0,4,0,0)|0|0)+4|0,e)|0,0,-14);vh(B,110,y,e,0)|0}if(v)zu(a,A,b,j,1,t);else{j=a+19|0;f=da(j>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){y=a+72|0;f=(da(y|0,4,0,0)|0|0)+1|0;ea(y|0,f|0,4,0)}else{f=f+-1<<24>>24;ea(j>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}vh(B,74,z,f,0)|0;vh(B,75,z,e,f)|0;j=da(B+4|0,4,0,0)|0|0;if(j)ea(j+(((da(B+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);Zr(a,f)}ct(a,e,l);if((da(m|0,4,0,0)|0|0)<(l|0)){ea(m|0,l|0,4,0);ea(k|0,e|0,4,0);u=94}else u=94;break}case 10:{if(v)zu(a,A,b,y,1,t);else u=95;break}case 9:case 13:{if(v){zu(a,A,b,y,x,t);break a}if(w<<24>>24==13){vh(B,22,da(s|0,4,0,0)|0|0,0,0)|0;u=95;break a}else{vh(B,35,y,x,0)|0;ct(a,y,x);u=94;break a}}case 1:{j=a+19|0;f=da(j>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){w=a+72|0;f=(da(w|0,4,0,0)|0|0)+1|0;ea(w|0,f|0,4,0)}else{f=f+-1<<24>>24;ea(j>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}vh(B,49,y,x,f)|0;vh(B,110,z,f,0)|0;Zr(a,f);u=94;break}case 11:{e=g+1|0;ea(e>>0|0,Au(da(da(c+4|0,4,0,0)|0|0,4,0,0)|0|0,da(e>>0|0,1,0,0)|0|0)|0|0,1,0);if(v){zu(a,A,b,y,1,t);break a}f=a+19|0;j=da(f>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){x=a+72|0;f=(da(x|0,4,0,0)|0|0)+1|0;ea(x|0,f|0,4,0)}else{x=j+-1<<24>>24;ea(f>>0|0,x|0,1,0);f=da(a+((x&255)<<2)+24|0,4,0,0)|0|0}wh(B,vh(B,49,y,1,f)|0,e,1);ct(a,y,1);vh(B,110,z,f,0)|0;Zr(a,f);u=94;break}default:u=94}while(0);if((u|0)==94?(A|0)==0:0)u=95;if((u|0)==95?(C=da(b+8|0,4,0,0)|0|0,(C|0)!=0):0)vh(B,140,C,i,0)|0;return}function Ps(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;if((da(a+450>>0|0,1,0,0)|0|0)==2){g=da(a+8|0,4,0,0)|0|0;h=da(a|0,4,0,0)|0|0;f=(e|0)!=0?35160:10360;if((b|0)==116)e=35320;else if((b|0)==118)e=35336;else if((b|0)==117)e=35352;else e=35360;ea(k|0,c|0,4,0);ea(k+4|0,d|0,4,0);ea(k+8|0,f|0,4,0);ea(k+12|0,e|0,4,0);e=th(h,35120,k)|0;wh(g,vh(g,157,da(a+464|0,4,0,0)|0|0,0,0)|0,e,-1)}i=l;return}function Qs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=c+b|0;e=(d*5|0)+24|0;f=pg(e,0)|0;if(!f)ea(a+65>>0|0,1|0,1,0);else{ew(f|0,0,e|0)|0;ea(f+16|0,f+20+(d<<2)|0,4,0);ea(f+6|0,b|0,2,0);ea(f+8|0,c|0,2,0);ea(f+4>>0|0,da(a+62>>0|0,1,0,0)|0|0|0,1,0);ea(f+12|0,a|0,4,0);ea(f|0,1|0,4,0)}return f|0}function Rs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(b+52|0,4,0,0)|0|0;if(!((e|0)!=0?(d=Rs(a,e,c)|0,(d|0)!=0):0)){d=da(b|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)>(c|0))d=bu(a,da((da(d+4|0,4,0,0)|0|0)+(c*20|0)|0,4,0,0)|0|0)|0;else d=0}return d|0}function Ss(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=(a|0)==0;d=(b|0)==0;a:do if(!(e&d))if(!(e|d)?(f=da(a|0,4,0,0)|0|0,(f|0)==(da(b|0,4,0,0)|0|0)):0)if((f|0)>0){a=da(a+4|0,4,0,0)|0|0;d=da(b+4|0,4,0,0)|0|0;e=0;while(1){if((da(a+(e*20|0)+12>>0|0,1,0,0)|0|0)!=(da(d+(e*20|0)+12>>0|0,1,0,0)|0|0)){d=1;break a}if(Bu(da(a+(e*20|0)|0,4,0,0)|0|0,da(d+(e*20|0)|0,4,0,0)|0|0,c)|0){d=1;break a}e=e+1|0;if((e|0)>=(f|0)){d=0;break}}}else d=0;else d=1;else d=0;while(0);return d|0}function Ts(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=da(a|0,4,0,0)|0|0;j=da(b|0,4,0,0)|0|0;i=Qs(e,j-c|0,d+1|0)|0;if((i|0)!=0&(j|0)>(c|0)){f=e+8|0;g=i+16|0;h=c;d=(da(b+4|0,4,0,0)|0|0)+(c*20|0)|0;while(1){e=bu(a,da(d|0,4,0,0)|0|0)|0;if(!e)e=da(f|0,4,0,0)|0|0;b=h-c|0;ea(i+(b<<2)+20|0,e|0,4,0);ea((da(g|0,4,0,0)|0|0)+b>>0|0,da(d+12>>0|0,1,0,0)|0|0|0,1,0);h=h+1|0;if((h|0)==(j|0))break;else d=d+20|0}}return i|0}function Us(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0;Ja=i;i=i+64|0;if((i|0)>=(j|0))ba();Ha=Ja;Ia=Ja+48|0;Ga=Ja+52|0;T=Ja+28|0;Ea=a+8|0;_=da(Ea|0,4,0,0)|0|0;Fa=da(a|0,4,0,0)|0|0;ea(T+0|0,0|0,4,0);ea(T+4|0,0|0,4,0);ea(T+8|0,0|0,4,0);ea(T+12|0,0|0,4,0);ea(T+16|0,0|0,4,0);if(!d)J=0;else J=(da(d|0,4,0,0)|0|0)>63?0:d;U=T+8|0;ea(U|0,J|0,4,0);X=Fa+60|0;if((da(X|0,2,0,0)|0)&32)f=f&64511;d=da(b|0,4,0,0)|0|0;a:do if((d|0)<=64){B=f&65535;K=(B&64|0)!=0;P=K?1:d;n=(P*80|0)+743&-16;h=n+72|0;d=lh(Fa,h,0)|0;Da=(d|0)==0;if(!Da)ew(d|0,0,h|0)|0;ua=Fa+65|0;if(da(ua>>0|0,1,0,0)|0){lg(Fa,d);d=0;break}Y=d+60|0;Z=d+64|0;ea(Z|0,-1|0,4,0);ea(Y|0,-1|0,4,0);va=d+41|0;ea(va>>0|0,P|0,1,0);ea(d|0,a|0,4,0);wa=d+4|0;ea(wa|0,b|0,4,0);W=d+8|0;ea(W|0,J|0,4,0);ea(d+12|0,e|0,4,0);ya=ws(_)|0;xa=d+48|0;ea(xa|0,ya|0,4,0);k=d+52|0;ea(k|0,ya|0,4,0);ya=d+34|0;ea(ya|0,f|0,2,0);za=a+424|0;Aa=d+56|0;ea(Aa|0,da(za|0,4,0,0)|0|0,4,0);Ba=d+68|0;ea(T|0,d|0,4,0);Ca=d+328|0;S=T+4|0;ea(S|0,Ca|0,4,0);N=T+12|0;ea(N|0,d+n|0,4,0);ea(d+(n+48)|0,d+(n+56)|0,4,0);ea(d+(n+40)|0,0|0,2,0);ea(d+(n+44)|0,3|0,2,0);ea(d+(n+36)|0,0|0,4,0);ea(Ba|0,0|0,4,0);ea(Ca|0,d|0,4,0);ea(d+332|0,0|0,4,0);sa=d+340|0;ea(sa|0,0|0,4,0);ea(d+344|0,8|0,4,0);ta=d+348|0;ea(ta|0,d+352|0,4,0);Cu(Ca,c,72);c=(P|0)==0;if((da(d+340|0,4,0,0)|0|0)>0){u=Ha+20|0;s=Ha+4|0;r=Ha+24|0;t=Ca;h=0;do{if(!c){t=da((da(t+20|0,4,0,0)|0|0)+(h*48|0)|0,4,0,0)|0|0;ea(Ha+0|0,0|0,4,0);ea(Ha+4|0,0|0,4,0);ea(Ha+8|0,0|0,4,0);ea(Ha+12|0,0|0,4,0);ea(Ha+16|0,0|0,4,0);ea(Ha+20|0,0|0,4,0);ea(u>>0|0,2|0,1,0);ea(Ha|0,78|0,4,0);ea(s|0,79|0,4,0);ea(r|0,0|0,4,0);qs(Ha,t)|0;t=da(S|0,4,0,0)|0|0;if(da(u>>0|0,1,0,0)|0)ra=15}else ra=15;if((ra|0)==15){ra=0;ft(a,da((da(t+20|0,4,0,0)|0|0)+(h*48|0)|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,16);t=da(S|0,4,0,0)|0|0;V=(da(t+20|0,4,0,0)|0|0)+(h*48|0)+20|0;ea(V|0,da(V|0,2,0,1)|0|4|0,2,0)}h=h+1|0}while((h|0)<(da(t+12|0,4,0,0)|0|0))}if(c){if(J)ea(d+36>>0|0,da(J|0,4,0,0)|0|0,1,0);if(B&1024)ea(d+40>>0|0,1|0,1,0)}if((da(b|0,4,0,0)|0|0)>0){n=0;do{V=da(b+(n*72|0)+48|0,4,0,0)|0|0;I=da(Ba|0,4,0,0)|0|0;ea(Ba|0,I+1|0,4,0);ea(Ba+(I<<2)+4|0,V|0,4,0);n=n+1|0}while((n|0)<(da(b|0,4,0,0)|0|0))}m=da(sa|0,4,0,0)|0|0;if((m|0)>0)do{m=m+-1|0;Du(Ca,m)}while((m|0)>0);b:do if(!(da(ua>>0|0,1,0,0)|0)){V=(B&1024|0)==0;c:do if(!V){d:do if((da(b|0,4,0,0)|0|0)==1){A=da(b+48|0,4,0,0)|0|0;h=da(b+24|0,4,0,0)|0|0;u=da(e|0,4,0,0)|0|0;e:do if((u|0)>0){s=da(e+4|0,4,0,0)|0|0;r=0;while(1){t=da(s+(r*20|0)|0,4,0,0)|0|0;f:do if(!t)t=0;else while(1){c=da(t+4|0,4,0,0)|0|0;if(!(c&4096))break f;if(!(c&262144))t=t+12|0;else t=da((da(t+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;t=da(t|0,4,0,0)|0|0;if(!t){t=0;break}}while(0);do if((da(t>>0|0,1,0,0)|0|0)==-102){if((da(t+28|0,4,0,0)|0|0)!=(A|0))break;if((da(t+32|0,2,0,0)|0|0)<0)break e}while(0);r=r+1|0;if((r|0)>=(u|0)){ra=41;break}}}else ra=41;while(0);g:do if((ra|0)==41){t=da(h+8|0,4,0,0)|0|0;if(!t)break d;l=e+4|0;k=h+4|0;while(1){if(da(t+50>>0|0,1,0,0)|0){x=t+46|0;h:do if(!(da(x|0,2,0,0)|0))c=0;else{z=t+4|0;y=t+32|0;c=0;do{w=da((da(z|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0;if(!(Eu(Ca,A,w,-1,-1,2,t)|0)){h=da((da(y|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0;if((da(e|0,4,0,0)|0|0)>0)u=0;else break h;i:while(1){v=da((da(l|0,4,0,0)|0|0)+(u*20|0)|0,4,0,0)|0|0;j:do if(!v)s=0;else{s=v;while(1){r=da(s+4|0,4,0,0)|0|0;if(!(r&4096))break j;if(!(r&262144))s=s+12|0;else s=da((da(s+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(s|0,4,0,0)|0|0;if(!s){s=0;break}}}while(0);do if((da(s>>0|0,1,0,0)|0|0)==-102){if((da(s+32|0,2,0,0)|0|0)!=(da((da(z|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0))break;if((da(s+28|0,4,0,0)|0|0)!=(A|0))break;s=bu(a,v)|0;if(!s)break;if(!(cd(da(s|0,4,0,0)|0|0,h)|0))break i}while(0);u=u+1|0;if((u|0)>=(da(e|0,4,0,0)|0|0))break h}if((u|0)<0)break h;if(!(da((da(k|0,4,0,0)|0|0)+(w*24|0)+20>>0|0,1,0,0)|0))break h}c=c+1|0}while((c|0)<(da(x|0,2,0,1)|0|0))}while(0);if((c|0)==(da(x|0,2,0,1)|0|0))break g}t=da(t+20|0,4,0,0)|0|0;if(!t)break d}}while(0);ea(d+40>>0|0,1|0,1,0);break c}while(0);if(!J){ea(ya|0,da(ya|0,2,0,1)|0|512|0,2,0);ea(W|0,e|0,4,0)}}while(0);k:do if((((P|0)==1?(R=da(T|0,4,0,0)|0|0,Q=R+34|0,((da(Q|0,2,0,0)|0)&32)==0):0)?(M=da(R+4|0,4,0,0)|0|0,H=da(M+24|0,4,0,0)|0|0,((da(H+44>>0|0,1,0,0)|0)&16)==0):0)?(da(M+72|0,4,0,0)|0|0)==0:0){J=da(M+48|0,4,0,0)|0|0;v=R+328|0;I=da(N|0,4,0,0)|0|0;A=I+36|0;ea(A|0,0|0,4,0);ea(I+42|0,0|0,2,0);q=Eu(v,J,-1,0,0,2,0)|0;l:do if(!q){r=da(H+8|0,4,0,0)|0|0;m:do if(r){s=I+48|0;n:while(1){do if(da(r+50>>0|0,1,0,0)|0){if(da(r+36|0,4,0,0)|0)break;t=r+46|0;c=da(t|0,2,0,0)|0|0;if((c&65535)>3)break;k=r+4|0;o:do if(!(c<<16>>16)){c=0;u=0}else{u=0;while(1){c=Eu(v,J,da((da(k|0,4,0,0)|0|0)+(u<<1)|0,2,0,0)|0|0,0,0,2,r)|0;if(!c)break;ea((da(s|0,4,0,0)|0|0)+(u<<2)|0,c|0,4,0);u=u+1|0;c=da(t|0,2,0,0)|0|0;if((u|0)>=(c&65535|0))break o}c=da(t|0,2,0,0)|0|0}while(0);if((u|0)==(c&65535|0)){l=u;break n}}while(0);r=da(r+20|0,4,0,0)|0|0;if(!r)break m}ea(A|0,4609|0,4,0);if(!((da(r+51>>0|0,1,0,0)|0)&32)){s=M+64|0;t=da(s|0,4,0,0)|0|0;s=da(s+4|0,4,0,0)|0|0;h=0;q=0;c=da(r+48|0,2,0,1)|0|0;p:while(1){u=c;while(1){c=u+-1|0;if((u|0)<=0)break p;u=da((da(k|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0;if((u&65535)<63)break;else u=c}T=hw(1,0,u<<16>>16|0)|0;h=T|h;q=C|q}if((t&~h|0)==0&(s&~q|0)==0)ra=91}else ra=91;if((ra|0)==91)ea(A|0,4673|0,4,0);T=l&65535;ea(I+40|0,T|0,2,0);ea(I+24|0,T|0,2,0);ea(I+28|0,r|0,4,0);ea(I+20|0,39|0,2,0);break l}while(0);if(!(da(A|0,4,0,0)|0)){ra=103;break k}}else{ea(A|0,4353|0,4,0);ea(da(I+48|0,4,0,0)|0|0,q|0,4,0);ea(I+40|0,1|0,2,0);ea(I+24|0,1|0,2,0);ea(I+20|0,33|0,2,0)}while(0);ea(I+22|0,1|0,2,0);ea(R+800|0,I|0,4,0);l=da(R+68|0,4,0,0)|0|0;q:do if((l|0)>0){m=0;while(1){if((da(R+(m<<2)+72|0,4,0,0)|0|0)==(J|0))break;m=m+1|0;if((m|0)>=(l|0)){m=0;l=0;break q}}m=hw(1,0,m|0)|0;l=C}else{m=0;l=0}while(0);k=I+8|0;ea(k|0,m|0,4,0);ea(k+4|0,l|0,4,0);ea(R+740|0,J|0,4,0);ea(R+32|0,1|0,2,0);k=da(R+8|0,4,0,0)|0|0;if(k)ea(R+36>>0|0,da(k|0,4,0,0)|0|0,1,0);if(!((da(Q|0,2,0,0)|0)&1024)){ra=120;break}ea(R+40>>0|0,1|0,1,0);ra=120}else ra=103;while(0);if((ra|0)==103){x=da(T|0,4,0,0)|0|0;c=da(x+4|0,4,0,0)|0|0;y=da(da(x|0,4,0,0)|0|0,4,0,0)|0|0;R=da(x+41>>0|0,1,0,0)|0|0;z=R&255;r=da(N|0,4,0,0)|0|0;ea(r+48|0,r+56|0,4,0);ea(r+40|0,0|0,2,0);ea(r+44|0,3|0,2,0);ea(r+36|0,0|0,4,0);h=y+65|0;r:do if(R<<24>>24){k=r+16|0;l=x+68|0;m=r+8|0;n=0;o=0;p=0;q=0;w=0;v=c+8|0;s=0;while(1){ea(k>>0|0,w|0,1,0);u=da(v+40|0,4,0,0)|0|0;t=da(l|0,4,0,0)|0|0;s:do if((t|0)>0){c=0;while(1){if((da(x+(c<<2)+72|0,4,0,0)|0|0)==(u|0))break;c=c+1|0;if((c|0)>=(t|0)){c=0;u=0;break s}}c=hw(1,0,c|0)|0;u=C}else{c=0;u=0}while(0);R=m;ea(R|0,c|0,4,0);ea(R+4|0,u|0,4,0);R=s;s=da(v+36>>0|0,1,0,0)|0|0;R=((s|R)&10)==0;o=R?o:n;q=R?q:p;if(!((da((da(v+16|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&16))c=Gu(T,o,q)|0;else c=Fu(T,o,q)|0;if(c)break;R=Hu(T,o,q)|0;c=m;if(R)break;if(da(h>>0|0,1,0,0)|0)break r;w=w+1|0;if((w|0)>=(z|0))break r;else{n=da(c|0,4,0,0)|0|n;p=da(c+4|0,4,0,0)|0|p;v=v+72|0}}Iu(y,r);break b}while(0);Iu(y,r);Ju(d,0);if(da(ua>>0|0,1,0,0)|0)break;if(da(W|0,4,0,0)|0){Ju(d,(da(d+32|0,2,0,1)|0|0)+1&65535);if(!(da(ua>>0|0,1,0,0)|0))ra=120;else break}else ra=121}if((ra|0)==120?(da(W|0,4,0,0)|0|0)==0:0)ra=121;if((ra|0)==121?((da(Fa+24|0,4,0,0)|0)&131072|0)!=0:0){W=d+24|0;ea(W|0,-1|0,4,0);ea(W+4|0,-1|0,4,0)}if((da(a+64|0,4,0,0)|0|0)==0?(da(ua>>0|0,1,0,0)|0|0)==0:0){q=da(va>>0|0,1,0,0)|0|0;t:do if((q&255)>1&(e|0)!=0?((da(X|0,2,0,0)|0)&1024)==0:0){k=Ku(Ba,e)|0;l=C;h=da(U|0,4,0,0)|0|0;if(h){X=Ku(Ba,h)|0;k=X|k;l=C|l}u=d+736|0;c=da(wa|0,4,0,0)|0|0;t=da(S|0,4,0,0)|0|0;s=t+20|0;t=t+12|0;r=q;h=P;do{m=da(u+(((r&255)+-1|0)*80|0)+64|0,4,0,0)|0|0;if(!((da(c+((da(m+16>>0|0,1,0,1)|0|0)*72|0)+44>>0|0,1,0,0)|0)&8))break t;if(V?((da(m+36|0,4,0,0)|0)&4096|0)==0:0)break t;p=m+8|0;o=da(p|0,4,0,0)|0|0;p=da(p+4|0,4,0,0)|0|0;if(!((o&k|0)==0&(p&l|0)==0))break t;m=da(s|0,4,0,0)|0|0;X=da(t|0,4,0,0)|0|0;q=m+(X*48|0)|0;if((X|0)>0)do{n=m+40|0;if(!((o&(da(n|0,4,0,0)|0)|0)==0?(p&(da(n+4|0,4,0,0)|0)|0)==0:0)?((da((da(m|0,4,0,0)|0|0)+4|0,4,0,0)|0)&1|0)==0:0)break t;m=m+48|0}while(m>>>0<q>>>0);r=r+-1<<24>>24;ea(va>>0|0,r|0,1,0);h=h+-1|0}while((r&255)>1)}else h=P;while(0);X=(da(d|0,4,0,0)|0|0)+424|0;ea(X|0,(da(X|0,4,0,0)|0|0)+(da(d+32|0,2,0,0)|0|0)|0,4,0);do if((B&4|0)!=0?(O=(da(d+800|0,4,0,0)|0|0)+36|0,L=da(O|0,4,0,0)|0|0,(L&4096|0)!=0):0){ea(d+38>>0|0,1|0,1,0);if((da((da(b+24|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&32)break;ea(O|0,L&-65|0,4,0)}while(0);qa=d+736|0;J=(h|0)>0;if(J){G=B&16;H=d+38|0;I=_+32|0;D=K^1;F=(g|0)==0|D;E=a+68|0;A=54-(B>>>12&1)|0;w=_+4|0;v=Fa+20|0;n=Fa+16|0;o=0;B=qa;while(1){u=da(B+44>>0|0,1,0,1)|0|0;x=b+(u*72|0)+24|0;c=da(x|0,4,0,0)|0|0;t=da(c+68|0,4,0,0)|0|0;u:do if(!t)k=-1e6;else{s=da(v|0,4,0,0)|0|0;if((s|0)<=0){k=0;break}r=da(n|0,4,0,0)|0|0;l=0;while(1){k=l+1|0;if((da(r+(l<<4)+12|0,4,0,0)|0|0)==(t|0)){k=l;break u}if((k|0)<(s|0))l=k;else break}}while(0);z=da(B+64|0,4,0,0)|0|0;y=c+44|0;t=da(y>>0|0,1,0,1)|0|0;do if(!(t&2)){if(da(c+12|0,4,0,0)|0)break;s=da(z+36|0,4,0,0)|0|0;if(s&1024){q=da(c+60|0,4,0,0)|0|0;v:do if(!q)q=0;else while(1){if((da(q|0,4,0,0)|0|0)==(Fa|0))break v;q=da(q+24|0,4,0,0)|0|0;if(!q){q=0;break}}while(0);wh(_,vh(_,149,da(b+(u*72|0)+48|0,4,0,0)|0|0,0,0)|0,q,-10);break}if(t&16)break;if(s&64|G){fs(a,k,da(c+32|0,4,0,0)|0|0,0,da(c|0,4,0,0)|0|0);break}r=b+(u*72|0)+48|0;if(!(da(H>>0|0,1,0,0)|0))t=54;else{ea(Y|0,da(r|0,4,0,0)|0|0,4,0);t=55}Pq(a,da(r|0,4,0,0)|0|0,k,c,t);if(da(H>>0|0,1,0,0)|0)break;if((da(c+38|0,2,0,0)|0|0)>=64)break;if((da(y>>0|0,1,0,0)|0)&32)break;r=b+(u*72|0)+64|0;q=da(r|0,4,0,0)|0|0;r=da(r+4|0,4,0,0)|0|0;if((q|0)==0&(r|0)==0)q=0;else{c=q;q=0;do{c=lw(c|0,r|0,1)|0;r=C;q=q+1|0}while(!((c|0)==0&(r|0)==0))}wh(_,(da(I|0,4,0,0)|0|0)+-1|0,q,-14)}while(0);u=z+36|0;w:do if((da(u|0,4,0,0)|0)&512){c=da(z+28|0,4,0,0)|0|0;do if((da(y>>0|0,1,0,0)|0)&32){if(((da(c+51>>0|0,1,0,0)|0)&3)!=2|D)break;ea(B+8|0,da(B+4|0,4,0,0)|0|0,4,0);break w}while(0);do if(!(da(H>>0|0,1,0,0)|0)){if(!F){q=g;p=A;break}q=da(E|0,4,0,0)|0|0;ea(E|0,q+1|0,4,0);p=54}else{p=da((da(x|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if((p|0)==0|(p|0)==(c|0))q=g;else{q=g;do{q=q+1|0;p=da(p+20|0,4,0,0)|0|0}while(!((p|0)==0|(p|0)==(c|0)))}ea(Z|0,q|0,4,0);p=55}while(0);ea(B+8|0,q|0,4,0);vh(_,p,q,da(c+40|0,4,0,0)|0|0,k)|0;X=da(Ea|0,4,0,0)|0|0;wh(X,-1,gs(a,c)|0,-6);X=da(u|0,4,0,0)|0|0;if(!((X&15|0)!=0&(X&32770|0)==0))break;if((da(ya|0,2,0,0)|0)&1)break;m=da(w|0,4,0,0)|0|0;if(!m)break;ea(m+(((da(I|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0)}while(0);if((k|0)>-1)zr(a,k);o=o+1|0;if((o|0)==(h|0))break;else B=B+80|0}Z=(da(ua>>0|0,1,0,0)|0|0)==0;ea(d+44|0,da(I|0,4,0,0)|0|0,4,0);if(!Z)break}else{I=_+32|0;ea(d+44|0,da(I|0,4,0,0)|0|0,4,0)}if(!J)break a;ca=d+24|0;fa=d+36|0;ga=d+39|0;ha=a+80|0;ia=a+68|0;ja=a+100|0;ka=a+19|0;la=a+72|0;ma=Ha+20|0;na=Ha+4|0;oa=Ha+24|0;l=-1;k=-1;pa=0;while(1){Q=qa+(pa*80|0)|0;t=qa+(pa*80|0)+64|0;S=qa+(pa*80|0)+44|0;if((da((da(t|0,4,0,0)|0|0)+36|0,4,0,0)|0)&16384){A=da(S>>0|0,1,0,1)|0|0;M=b+(A*72|0)+8|0;R=da(Ea|0,4,0,0)|0|0;p=Nq(a)|0;T=da(ha|0,4,0,0)|0|0;ea(ha|0,T+1|0,4,0);T=vh(p,44,T,0,0)|0;p=da(b+(A*72|0)+24|0,4,0,0)|0|0;Z=da(sa|0,4,0,0)|0|0;c=da(ta|0,4,0,0)|0|0;L=c+(Z*48|0)|0;D=da(t|0,4,0,0)|0|0;x:do if((Z|0)>0){r=b+(A*72|0)+48|0;n=p+4|0;o=D+48|0;u=0;t=0;x=0;m=0;s=c;w=0;while(1){c=da(s|0,4,0,0)|0|0;Z=D;do if((da(Z|0,4,0,0)|0|0)==0&(da(Z+4|0,4,0,0)|0|0)==0){if((da(s+20|0,2,0,0)|0)&2)break;if((da(c+4|0,4,0,0)|0)&1)break;Z=da(r|0,4,0,0)|0|0;ea(Ha+0|0,0|0,4,0);ea(Ha+4|0,0|0,4,0);ea(Ha+8|0,0|0,4,0);ea(Ha+12|0,0|0,4,0);ea(Ha+16|0,0|0,4,0);ea(Ha+20|0,0|0,4,0);ea(ma>>0|0,3|0,1,0);ea(Ha|0,78|0,4,0);ea(na|0,79|0,4,0);ea(oa|0,Z|0,4,0);qs(Ha,c)|0;if(!(da(ma>>0|0,1,0,0)|0))break;Z=da(a|0,4,0,0)|0|0;m=rs(Z,m,Lr(Z,c,0,0)|0)|0}while(0);do if(!(Lu(s,M,l,k)|0))c=x;else{v=da(s+12|0,4,0,0)|0|0;if((v|0)>63){z=0;y=-2147483648}else{z=hw(1,0,v|0)|0;y=C}if(!(w<<24>>24)){w=da((da(n|0,4,0,0)|0|0)+(v*24|0)|0,4,0,0)|0|0;ea(Ha|0,da(p|0,4,0,0)|0|0,4,0);ea(Ha+4|0,w|0,4,0);ad(284,33960,Ha);w=1}if(!((z&u|0)==0&(y&t|0)==0)){c=x;break}c=x+1|0;if(Mu(da(a|0,4,0,0)|0|0,D,c)|0)break x;ea((da(o|0,4,0,0)|0|0)+(x<<2)|0,s|0,4,0);u=z|u;t=y|t}while(0);s=s+48|0;if(s>>>0>=L>>>0){ra=207;break}else x=c}}else{t=0;u=0;c=0;m=0;ra=207}while(0);do if((ra|0)==207){ra=0;s=c&65535;ea(D+40|0,s|0,2,0);ea(D+24|0,s|0,2,0);s=D+36|0;ea(s|0,16961|0,4,0);q=b+(A*72|0)+64|0;E=q;y=da(E+4|0,4,0,0)|0|0;E=(da(E|0,4,0,0)|0)&~u;G=y&((t|-2147483648)^2147483647);o=p+38|0;H=da(o|0,2,0,0)|0|0;z=H<<16>>16;H=H<<16>>16>63?63:z;J=(H|0)>0;if(J){v=0;do{Z=hw(1,0,v|0)|0;c=(((Z&E|0)!=0|(C&G|0)!=0)&1)+c|0;v=v+1|0}while((v|0)!=(H|0))}if((y|0)<0)c=c+-63+z|0;F=c+1|0;n=ts(da(a|0,4,0,0)|0|0,F&65535,0,Ia)|0;if(!n)break;ea(D+28|0,n|0,4,0);ea(n|0,33992|0,4,0);ea(n+12|0,p|0,4,0);v=da(ta|0,4,0,0)|0|0;if(v>>>0<L>>>0){u=n+4|0;t=n+32|0;y=0;z=0;r=0;do{do if(Lu(v,M,l,k)|0){x=da(v+12|0,4,0,0)|0|0;if((x|0)>63){w=0;c=-2147483648}else{w=hw(1,0,x|0)|0;c=C}if(!((w&y|0)==0&(c&z|0)==0))break;Z=da(v|0,4,0,0)|0|0;ea((da(u|0,4,0,0)|0|0)+(r<<1)|0,x|0,2,0);x=Nu(a,da(Z+12|0,4,0,0)|0|0,da(Z+16|0,4,0,0)|0|0)|0;if(!x)x=11152;else x=da(x|0,4,0,0)|0|0;ea((da(t|0,4,0,0)|0|0)+(r<<2)|0,x|0,4,0);y=w|y;z=c|z;r=r+1|0}while(0);v=v+48|0}while(v>>>0<L>>>0)}else r=0;if(J){c=n+4|0;u=n+32|0;t=0;do{Z=hw(1,0,t|0)|0;if(!((Z&E|0)==0&(C&G|0)==0)){ea((da(c|0,4,0,0)|0|0)+(r<<1)|0,t|0,2,0);ea((da(u|0,4,0,0)|0|0)+(r<<2)|0,11152|0,4,0);r=r+1|0}t=t+1|0}while((t|0)!=(H|0))}do if((da(q+4|0,4,0,0)|0|0)<0){if((da(o|0,2,0,0)|0|0)<=63)break;c=n+4|0;u=n+32|0;t=63;do{ea((da(c|0,4,0,0)|0|0)+(r<<1)|0,t|0,2,0);ea((da(u|0,4,0,0)|0|0)+(r<<2)|0,11152|0,4,0);r=r+1|0;t=t+1|0}while((t|0)<(da(o|0,2,0,0)|0|0))}while(0);ea((da(n+4|0,4,0,0)|0|0)+(r<<1)|0,-1|0,2,0);ea((da(n+32|0,4,0,0)|0|0)+(r<<2)|0,11152|0,4,0);r=da(ia|0,4,0,0)|0|0;ea(ia|0,r+1|0,4,0);u=qa+(pa*80|0)+8|0;ea(u|0,r|0,4,0);vh(R,56,r,F,0)|0;r=da(Ea|0,4,0,0)|0|0;wh(r,-1,gs(a,n)|0,-6);ea(ja|0,(da(ja|0,4,0,0)|0|0)+1|0,4,0);r=qa+(pa*80|0)+4|0;v=vh(R,108,da(r|0,4,0,0)|0|0,0,0)|0;t=(m|0)!=0;if(t){Z=ws(R)|0;ft(a,m,Z,16);ea(s|0,da(s|0,4,0,0)|0|131072|0,4,0);s=Z}else s=0;c=da(ka>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){o=(da(la|0,4,0,0)|0|0)+1|0;ea(la|0,o|0,4,0)}else{o=c+-1<<24>>24;ea(ka>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}Ot(a,n,da(r|0,4,0,0)|0|0,o,0,0,0,0)|0;vh(R,110,da(u|0,4,0,0)|0|0,o,0)|0;n=R+4|0;c=da(n|0,4,0,0)|0|0;if(c)ea(c+(((da(R+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);if(t){u=da(R+24|0,4,0,0)|0|0;t=~s;do if((s|0)<0){c=da(u+112|0,4,0,0)|0|0;if(!c)break;ea(c+(t<<2)|0,da(R+32|0,4,0,0)|0|0,4,0)}while(0);ea(u+88|0,(da(R+32|0,4,0,0)|0|0)+-1|0,4,0)}vh(R,9,da(r|0,4,0,0)|0|0,v+1|0,0)|0;t=da(n|0,4,0,0)|0|0;s=da(R+32|0,4,0,0)|0|0;if(t)ea(t+((s+-1|0)*20|0)+3>>0|0,3|0,1,0);if(s>>>0>v>>>0)ea(t+(v*20|0)+8|0,s|0,4,0);t=R+24|0;ea((da(t|0,4,0,0)|0|0)+88|0,s+-1|0,4,0);Zr(a,o);au(a);q=da(R+32|0,4,0,0)|0|0;if(q>>>0>T>>>0)ea((da(n|0,4,0,0)|0|0)+(T*20|0)+8|0,q|0,4,0);ea((da(t|0,4,0,0)|0|0)+88|0,q+-1|0,4,0)}while(0);Fk(da(a|0,4,0,0)|0|0,m);if(da(ua>>0|0,1,0,0)|0)break b}Ou(a,b,Q,pa,da(S>>0|0,1,0,1)|0|0,f);ea(qa+(pa*80|0)+32|0,da(I|0,4,0,0)|0|0,4,0);aa=da(d|0,4,0,0)|0|0;F=aa+8|0;Y=da(F|0,4,0,0)|0|0;_=da(aa|0,4,0,0)|0|0;m=d+(pa*80|0)+736|0;E=da(d+(pa*80|0)+800|0,4,0,0)|0|0;W=d+(pa*80|0)+780|0;y=da(W>>0|0,1,0,1)|0|0;z=da(wa|0,4,0,0)|0|0;H=z+(y*72|0)+8|0;g=da(z+(y*72|0)+48|0,4,0,0)|0|0;u=da(Ba|0,4,0,0)|0|0;y:do if((u|0)>0){c=0;while(1){if((da(Ba+(c<<2)+4|0,4,0,0)|0|0)==(g|0))break;c=c+1|0;if((c|0)>=(u|0)){c=-1;u=-1;break y}}c=hw(1,0,c|0)|0;c=~c;u=~C}else{c=-1;u=-1}while(0);$=d+(pa*80|0)+808|0;G=$;ea(G|0,c&l|0,4,0);ea(G+4|0,u&k|0,4,0);G=ca;G=lw(da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0,pa|0)|0;V=G&1;P=E+36|0;if(!((da(P|0,4,0,0)|0)&64))K=0;else K=((da(ya|0,2,0,0)|0)&32)==0;x=ws(Y)|0;J=d+(pa*80|0)+752|0;ea(J|0,x|0,4,0);X=d+(pa*80|0)+748|0;ea(X|0,x|0,4,0);Z=ws(Y)|0;ea(d+(pa*80|0)+760|0,Z|0,4,0);do if(da(W>>0|0,1,0,0)|0){if(!((da(z+(y*72|0)+44>>0|0,1,0,0)|0)&8))break;U=aa+72|0;e=(da(U|0,4,0,0)|0|0)+1|0;ea(U|0,e|0,4,0);ea(m|0,e|0,4,0);vh(Y,25,0,e,0)|0}while(0);v=da(z+(y*72|0)+45>>0|0,1,0,0)|0|0;z:do if(!(v&4)){w=da(P|0,4,0,0)|0|0;if(w&1024){r=da(E+40|0,2,0,0)|0|0;n=r&65535;p=aa+100|0;ea(p|0,(da(p|0,4,0,0)|0|0)+1|0,4,0);p=n+2|0;q=aa+60|0;c=da(q|0,4,0,0)|0|0;A=aa+56|0;u=da(A|0,4,0,0)|0|0;if((u|0)<(p|0)){W=aa+72|0;o=da(W|0,4,0,0)|0|0;ea(W|0,o+p|0,4,0);o=o+1|0}else{ea(q|0,c+p|0,4,0);ea(A|0,u-p|0,4,0);o=c}t=da(X|0,4,0,0)|0|0;w=r<<16>>16==0;if(!w){y=o+2|0;x=E+48|0;z=0;do{v=y+z|0;c=da((da(x|0,4,0,0)|0|0)+(z<<2)|0,4,0,0)|0|0;do if(c)if(!((da(c+18|0,2,0,0)|0)&1)){Qq(aa,da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,v);break}else{Pu(aa,c,m,z,V,v)|0;t=da(J|0,4,0,0)|0|0;break}while(0);z=z+1|0}while((z|0)<(n|0))}vh(Y,25,da(E+24|0,4,0,0)|0|0,o,0)|0;vh(Y,25,n,o+1|0,0)|0;c=da(E+32|0,4,0,0)|0|0;u=E+28|0;X=(da(u>>0|0,1,0,0)|0|0)!=0?-11:-2;wh(Y,vh(Y,14,g,t,o)|0,c,X);ea(u>>0|0,0|0,1,0);if(!w){s=E+30|0;t=E+48|0;c=(r&65535)>1?0-n|0:-1;c=c>>>0>4294967280?0-c|0:16;u=0;do{if((da(s|0,2,0,1)|0)&1<<u)Qu(m,da((da(t|0,4,0,0)|0|0)+(u<<2)|0,4,0,0)|0|0);u=u+1|0}while((u|0)!=(c|0))}ea(d+(pa*80|0)+781>>0|0,-105|0,1,0);ea(d+(pa*80|0)+784|0,g|0,4,0);ea(d+(pa*80|0)+788|0,da(Y+32|0,4,0,0)|0|0,4,0);ct(aa,o,p);if((da(A|0,4,0,0)|0|0)<(p|0)){ea(A|0,p|0,4,0);ea(q|0,o|0,4,0)}au(aa);ra=459;break}if(!((w&256|0)==0|(w&5|0)==0)){q=da(da(E+48|0,4,0,0)|0|0,4,0,0)|0|0;X=aa+72|0;r=(da(X|0,4,0,0)|0|0)+1|0;ea(X|0,r|0,4,0);q=Pu(aa,q,m,0,V,r)|0;if((q|0)!=(r|0))Zr(aa,r);ra=da(J|0,4,0,0)|0|0;vh(Y,38,q,ra,0)|0;vh(Y,70,g,ra,q)|0;ct(aa,q,1);Ru(aa,g,-1,q);ea(d+(pa*80|0)+781>>0|0,-100|0,1,0);ra=459;break}if((w&258|0)==258){if(!(w&32)){c=0;t=0}else{c=1;t=da(da(E+48|0,4,0,0)|0|0,4,0,0)|0|0}if(!(w&16))c=0;else c=da((da(E+48|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0;u=(V|0)!=0;s=u?t:c;c=u?c:t;if(!c)vh(Y,u?105:108,g,x,0)|0;else{W=da(c|0,4,0,0)|0|0;X=_t(aa,da(W+16|0,4,0,0)|0|0,Ha)|0;vh(Y,da(33536+((da(W>>0|0,1,0,1)|0|0)+-80)>>0|0,1,0,1)|0|0,g,x,X)|0;ct(aa,X,1);Zr(aa,da(Ha|0,4,0,0)|0|0);Qu(m,c)}if(!s){t=0;c=156}else{X=da(s|0,4,0,0)|0|0;W=aa+72|0;t=(da(W|0,4,0,0)|0|0)+1|0;ea(W|0,t|0,4,0);Qq(aa,da(X+16|0,4,0,0)|0|0,t);X=da(X>>0|0,1,0,0)|0|0;if(X<<24>>24==80|X<<24>>24==82)c=V<<1^83;else c=V<<1|80;Qu(m,s)}u=Y+32|0;X=da(u|0,4,0,0)|0|0;ea(d+(pa*80|0)+781>>0|0,V^9|0,1,0);ea(d+(pa*80|0)+784|0,g|0,4,0);ea(d+(pa*80|0)+788|0,X|0,4,0);if((c|0)==156){ra=459;break}X=aa+72|0;q=(da(X|0,4,0,0)|0|0)+1|0;ea(X|0,q|0,4,0);vh(Y,103,g,q,0)|0;Ru(aa,g,-1,q);vh(Y,c,t,x,q)|0;q=da(Y+4|0,4,0,0)|0|0;if(!q){ra=459;break}ea(q+(((da(u|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,83|0,1,0);ra=459;break}if(w&512){F=da(E+24|0,2,0,0)|0|0;ea(Ga>>0|0,0|0,1,0);N=da(E+28|0,4,0,0)|0|0;Q=da(d+(pa*80|0)+744|0,4,0,0)|0|0;do if(!((da(ya|0,2,0,0)|0)&1)){y=0;v=0}else{if((da(fa>>0|0,1,0,0)|0|0)<=0){y=0;v=0;break}v=(da(N+46|0,2,0,1)|0|0)>(F&65535);y=v&1;v=v&1}while(0);c=F&65535;if(!(w&32)){z=c;A=0}else{z=c+1|0;v=1;A=da((da(E+48|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0}do if(!(w&16))t=0;else{t=da((da(E+48|0,4,0,0)|0|0)+(z<<2)|0,4,0,0)|0|0;if((da(t+20|0,2,0,0)|0)&256){W=aa+72|0;X=(da(W|0,4,0,0)|0|0)+1|0;ea(W|0,X|0,4,0);ea(d+(pa*80|0)+772|0,X|0,4,0);vh(Y,25,(da((da(N+28|0,4,0,0)|0|0)+c>>0|0,1,0,0)|0|0)==1^V,X,0)|0;ea(d+(pa*80|0)+776|0,da(Y+32|0,4,0,0)|0|0,4,0)}if(A){v=1;break}u=da((da(N+4|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0;if(u<<16>>16<=-1){v=1;break}y=(da((da((da(N+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+((u<<16>>16)*24|0)+20>>0|0,1,0,0)|0|0)==0?1:y;v=1}while(0);D=Su(aa,m,V,v,Ia)|0;q=da(Ia|0,4,0,0)|0|0;s=(q|0)==0;if(!s)ea(Ga>>0|0,da(q+c>>0|0,1,0,0)|0|0|0,1,0);E=da(J|0,4,0,0)|0|0;w=da(N+46|0,2,0,0)|0|0;if((F&65535)<(w&65535)?!((da((da(N+28|0,4,0,0)|0|0)+c>>0|0,1,0,0)|0|0)==0^((G&1|0)!=0|0!=0)):0)ra=318;else if((V|0)!=0?w<<16>>16==F<<16>>16:0)ra=318;else{H=y;y=0;G=t;J=A}if((ra|0)==318){H=0;G=A;J=t}v=(J|0)!=0;if(v)w=((da(J+18|0,2,0,0)|0)&40)!=0;else w=1;x=w&1;A=(G|0)!=0;if(A)z=((da(G+18|0,2,0,0)|0)&40)!=0;else z=1;u=z&1;z=(v|F<<16>>16!=0)&1;do if(v){t=da((da(J|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;v=D+c|0;Qq(aa,t,v);if((da(J+20|0,2,0,0)|0)&256){if(!(da((da(Y|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))w=(da(Y+4|0,4,0,0)|0|0)+(((da(Y+32|0,4,0,0)|0|0)+-1|0)*20|0)|0;else w=29120;ea(w+12|0,da(d+(pa*80|0)+772|0,4,0,0)|0|0,4,0);ea(w+3>>0|0,1|0,1,0)}if(Tu(t)|0)vh(Y,76,v,E,0)|0;do if(!s){w=q+c|0;if((Au(t,da(w>>0|0,1,0,0)|0|0)|0)<<24>>24==65){ea(w>>0|0,65|0,1,0);v=65}else v=da(w>>0|0,1,0,0)|0|0;if(!(Uu(t,v)|0))break;ea(w>>0|0,65|0,1,0)}while(0);w=c+1|0}else{if(!(H<<24>>24)){w=c;break}vh(Y,28,0,D+c|0,0)|0;w=c+1|0;x=0;z=1}while(0);Vu(aa,D,w-(H&255)|0,q);wh(Y,vh(Y,da(33544+(z<<2|V|x<<1)>>0|0,1,0,1)|0|0,Q,E,D)|0,w,-14);do if(A){s=da((da(G|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;r=D+c|0;ct(aa,r,1);Qq(aa,s,r);if((da(G+20|0,2,0,0)|0)&256){if(!(da((da(Y|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))t=(da(Y+4|0,4,0,0)|0|0)+(((da(Y+32|0,4,0,0)|0|0)+-1|0)*20|0)|0;else t=29120;ea(t+12|0,da(d+(pa*80|0)+772|0,4,0,0)|0|0,4,0);ea(t+3>>0|0,1|0,1,0)}if(Tu(s)|0)vh(Y,76,r,E,0)|0;do if((Au(s,da(Ga>>0|0,1,0,0)|0|0)|0)<<24>>24!=65){if(Uu(s,da(Ga>>0|0,1,0,0)|0|0)|0)break;Vu(aa,r,1,Ga)}while(0);c=c+1|0}else{if(!(y<<24>>24))break;vh(Y,28,0,D+c|0,0)|0;u=0;c=c+1|0}while(0);lg(_,q);ea(d+(pa*80|0)+788|0,da(Y+32|0,4,0,0)|0|0,4,0);if(c)wh(Y,vh(Y,da(33552+(u|V<<1)>>0|0,1,0,1)|0|0,Q,E,D)|0,c,-14);Qu(m,J);Qu(m,G);do if(!K){t=da(N+12|0,4,0,0)|0|0;if(!((da(t+44>>0|0,1,0,0)|0)&32)){W=aa+72|0;X=(da(W|0,4,0,0)|0|0)+1|0;ea(W|0,X|0,4,0);vh(Y,112,Q,X,0)|0;Ru(aa,g,-1,X);vh(Y,66,g,X,0)|0;break}if((g|0)==(Q|0))break;c=da(t+8|0,4,0,0)|0|0;A:do if(!c)c=0;else while(1){if(((da(c+51>>0|0,1,0,0)|0)&3)==2)break A;c=da(c+20|0,4,0,0)|0|0;if(!c){c=0;break}}while(0);z=c+46|0;o=da(z|0,2,0,0)|0|0;t=o&65535;u=aa+60|0;s=da(u|0,4,0,0)|0|0;r=aa+56|0;n=da(r|0,4,0,0)|0|0;if((n|0)<(t|0)){X=aa+72|0;s=da(X|0,4,0,0)|0|0;ea(X|0,s+t|0,4,0);s=s+1|0}else{ea(u|0,s+t|0,4,0);ea(r|0,n-t|0,4,0)}if(o<<16>>16){n=c+4|0;o=N+48|0;v=N+4|0;w=0;do{t=da((da(n|0,4,0,0)|0|0)+(w<<1)|0,2,0,0)|0|0;c=da(o|0,2,0,0)|0|0;B:do if(!(c<<16>>16))c=-1;else{r=da(v|0,4,0,0)|0|0;u=c&65535;c=0;while(1){if((da(r+(c<<1)|0,2,0,0)|0|0)==t<<16>>16)break B;c=c+1|0;if((c|0)>=(u|0)){c=-1;break}}}while(0);vh(Y,47,Q,c<<16>>16,w+s|0)|0;w=w+1|0;t=da(z|0,2,0,1)|0|0}while((w|0)<(t|0))}wh(Y,vh(Y,68,g,Z,s)|0,t,-14)}while(0);r=da(P|0,4,0,0)|0|0;do if(!(r&4096)){n=d+(pa*80|0)+781|0;if(!V){ea(n>>0|0,9|0,1,0);break}else{ea(n>>0|0,8|0,1,0);break}}else ea(d+(pa*80|0)+781>>0|0,-100|0,1,0);while(0);ea(d+(pa*80|0)+784|0,Q|0,4,0);ea(d+(pa*80|0)+782>>0|0,r>>>16&1|0,1,0);if(r&15){ra=459;break}ea(d+(pa*80|0)+783>>0|0,1|0,1,0);ra=459;break}if(!(w&8192))if(!(v&8)){ea(d+(pa*80|0)+781>>0|0,da(33560+V>>0|0,1,0,0)|0|0|0,1,0);ea(d+(pa*80|0)+784|0,g|0,4,0);ea(d+(pa*80|0)+788|0,(vh(Y,da(33568+V>>0|0,1,0,1)|0|0,g,x,0)|0)+1|0,4,0);ea(d+(pa*80|0)+783>>0|0,1|0,1,0);ra=459;break}else{ea(d+(pa*80|0)+781>>0|0,-100|0,1,0);ra=459;break}A=aa+68|0;U=da(A|0,4,0,0)|0|0;ea(A|0,U+1|0,4,0);S=aa+72|0;T=(da(S|0,4,0,0)|0|0)+1|0;ea(S|0,T|0,4,0);V=ws(Y)|0;R=da(z+(y*72|0)+24|0,4,0,0)|0|0;e=da(da(E+48|0,4,0,0)|0|0,4,0,0)|0|0;J=da(e+12|0,4,0,0)|0|0;ea(d+(pa*80|0)+781>>0|0,18|0,1,0);ea(d+(pa*80|0)+784|0,T|0,4,0);c=da(va>>0|0,1,0,0)|0|0;do if((c&255)>1){z=(c&255)-pa|0;x=z+-1|0;w=lh(_,(x*72|0)+80|0,0)|0;if(!w)break z;v=z&255;ea(w+4|0,v|0,4,0);ea(w|0,v|0,4,0);v=w+8|0;n=v+0|0;c=H+0|0;r=n+72|0;do{ea(n|0,da(c|0,4,0,0)|0|0,4,0);n=n+4|0;c=c+4|0}while((n|0)<(r|0));y=da(wa|0,4,0,0)|0|0;if((z|0)<2)break;else z=1;while(1){n=v+(z*72|0)+0|0;c=y+((da(d+((z+pa|0)*80|0)+780>>0|0,1,0,1)|0|0)*72|0)+8|0;r=n+72|0;do{ea(n|0,da(c|0,4,0,0)|0|0,4,0);n=n+4|0;c=c+4|0}while((n|0)<(r|0));if((z|0)<(x|0))z=z+1|0;else break}}else w=da(wa|0,4,0,0)|0|0;while(0);if(!((da(ya|0,2,0,0)|0)&8)){if(!((da(R+44>>0|0,1,0,0)|0)&32)){c=(da(S|0,4,0,0)|0|0)+1|0;ea(S|0,c|0,4,0);vh(Y,28,0,c,0)|0}else{c=da(R+8|0,4,0,0)|0|0;C:do if(!c)c=0;else while(1){if(((da(c+51>>0|0,1,0,0)|0)&3)==2)break C;c=da(c+20|0,4,0,0)|0|0;if(!c){c=0;break}}while(0);Q=da(A|0,4,0,0)|0|0;ea(A|0,Q+1|0,4,0);vh(Y,57,Q,da(c+46|0,2,0,1)|0|0,0)|0;P=da(F|0,4,0,0)|0|0;wh(P,-1,gs(aa,c)|0,-6);c=Q}P=(da(S|0,4,0,0)|0|0)+1|0;ea(S|0,P|0,4,0);O=c}else{P=0;O=0}Q=vh(Y,25,0,T,0)|0;c=da(sa|0,4,0,0)|0|0;do if((c|0)>1){x=0;v=0;do{z=da(ta|0,4,0,0)|0|0;N=z+(x*48|0)|0;y=da(N|0,4,0,0)|0|0;do if((N|0)!=(e|0)){if((da(y+4|0,4,0,0)|0)&1)break;if((da(z+(x*48|0)+20|0,2,0,0)|0)&2)break;if(!((da(z+(x*48|0)+18|0,2,0,0)|0)&4095))break;v=rs(_,v,Lr(_,y,0,0)|0)|0;c=da(sa|0,4,0,0)|0|0}while(0);x=x+1|0}while((x|0)<(c|0));if(!v){N=0;break}N=Yq(aa,72,0,v,0)|0}else N=0;while(0);M=J+12|0;do if((da(M|0,4,0,0)|0|0)>0){o=J+20|0;n=(N|0)==0;r=R+44|0;s=Y+32|0;t=Y+4|0;v=Y+24|0;x=R+8|0;y=aa+60|0;B=aa+56|0;K=N+12|0;L=0;u=0;c=0;p=240;while(1){A=da(o|0,4,0,0)|0|0;if((da(A+(L*48|0)+8|0,4,0,0)|0|0)!=(g|0)?((da(A+(L*48|0)+18|0,2,0,0)|0)&512)==0:0)A=p;else ra=407;do if((ra|0)==407){ra=0;A=da(A+(L*48|0)|0,4,0,0)|0|0;do if(!n){if((da(A+4|0,4,0,0)|0)&1)break;ea(K|0,A|0,4,0);A=N}while(0);q=Us(aa,w,A,0,0,p,U)|0;if(!q){A=p;break}Ou(aa,w,q+736|0,pa,da(W>>0|0,1,0,1)|0|0,0);do if(!((da(ya|0,2,0,0)|0)&8)){F=(L|0)==((da(M|0,4,0,0)|0|0)+-1|0)?-1:L;do if(!((da(r>>0|0,1,0,0)|0)&32)){z=vh(Y,130,O,0,bt(aa,R,-1,g,P,0)|0)|0;wh(Y,z,F,-14)}else{A=da(x|0,4,0,0)|0|0;D:do if(!A)A=0;else while(1){if(((da(A+51>>0|0,1,0,0)|0)&3)==2)break D;A=da(A+20|0,4,0,0)|0|0;if(!A){A=0;break}}while(0);G=da(A+46|0,2,0,0)|0|0;D=G&65535;J=da(y|0,4,0,0)|0|0;H=da(B|0,4,0,0)|0|0;if((H|0)<(D|0)){E=da(S|0,4,0,0)|0|0;ea(S|0,E+D|0,4,0);E=E+1|0}else{ea(y|0,J+D|0,4,0);ea(B|0,H-D|0,4,0);E=J}if(G<<16>>16){H=A+4|0;J=0;do{bt(aa,R,da((da(H|0,4,0,0)|0|0)+(J<<1)|0,2,0,0)|0|0,g,J+E|0,0)|0;J=J+1|0}while((J|0)<(D|0))}J=(F|0)!=0;if(J){z=vh(Y,69,O,0,E)|0;wh(Y,z,D,-14);if((F|0)>-1)ra=426}else{z=0;ra=426}do if((ra|0)==426){ra=0;vh(Y,49,E,D,P)|0;vh(Y,110,O,P,0)|0;if(!J)break;F=da(t|0,4,0,0)|0|0;if(!F)break;ea(F+(((da(s|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0)}while(0);ct(aa,E,D);if((da(B|0,4,0,0)|0|0)>=(D|0))break;ea(B|0,D|0,4,0);ea(y|0,E|0,4,0)}while(0);vh(Y,17,T,V,0)|0;if(!z)break;A=da(s|0,4,0,0)|0|0;if(A>>>0>z>>>0)ea((da(t|0,4,0,0)|0|0)+(z*20|0)+8|0,A|0,4,0);ea((da(v|0,4,0,0)|0|0)+88|0,A+-1|0,4,0)}else vh(Y,17,T,V,0)|0;while(0);c=(da(q+39>>0|0,1,0,0)|0|0)==0?c:1;A=da(q+800|0,4,0,0)|0|0;do if(!((da(A+36|0,4,0,0)|0)&512)){u=0;A=p}else{if((L|0)!=0?(da(A+28|0,4,0,0)|0|0)!=(u|0):0){u=0;A=p;break}u=da(A+28|0,4,0,0)|0|0;if(((da(r>>0|0,1,0,0)|0)&32)!=0?((da(u+51>>0|0,1,0,0)|0)&3)==2:0){u=0;A=p;break}A=(p&65535|4096)&65535}while(0);Ws(q)}while(0);L=L+1|0;if((L|0)>=(da(M|0,4,0,0)|0|0))break;else p=A}ea(d+(pa*80|0)+792|0,u|0,4,0);if(!u){r=c;break}ea(d+(pa*80|0)+744|0,U|0,4,0);r=c}else{ea(d+(pa*80|0)+792|0,0|0,4,0);r=0}while(0);if(N){ea(N+12|0,0|0,4,0);Fk(_,N)}s=Y+32|0;c=da(s|0,4,0,0)|0|0;if(c>>>0>Q>>>0)ea((da(Y+4|0,4,0,0)|0|0)+(Q*20|0)+4|0,c|0,4,0);vh(Y,16,0,da(X|0,4,0,0)|0|0,0)|0;u=da(Y+24|0,4,0,0)|0|0;t=~V;do if((V|0)<0){c=da(u+112|0,4,0,0)|0|0;if(!c)break;ea(c+(t<<2)|0,da(s|0,4,0,0)|0|0,4,0)}while(0);ea(u+88|0,(da(s|0,4,0,0)|0|0)+-1|0,4,0);if((da(va>>0|0,1,0,1)|0|0)>1)lg(_,w);if(r){ra=459;break}Qu(m,e);ra=459}else{ra=da(z+(y*72|0)+36|0,4,0,0)|0|0;vh(Y,20,ra,0,da(z+(y*72|0)+32|0,4,0,0)|0|0)|0;ea(d+(pa*80|0)+788|0,vh(Y,22,ra,x,0)|0|0,4,0);ea(d+(pa*80|0)+781>>0|0,16|0,1,0);ra=459}while(0);if((ra|0)==459){ra=0;c=da(sa|0,4,0,0)|0|0;do if((c|0)>0){o=d+(pa*80|0)+772|0;p=Y+32|0;q=Y+4|0;v=Y+24|0;n=da(ta|0,4,0,0)|0|0;while(1){r=n+20|0;s=da(r|0,2,0,0)|0|0;do if(!(s&6)){u=n+40|0;t=$;if(!(((da(t|0,4,0,0)|0)&(da(u|0,4,0,0)|0)|0)==0?((da(t+4|0,4,0,0)|0)&(da(u+4|0,4,0,0)|0)|0)==0:0)){ea(ga>>0|0,1|0,1,0);break}u=da(n|0,4,0,0)|0|0;if((da(m|0,4,0,0)|0|0)!=0?((da(u+4|0,4,0,0)|0)&1|0)==0:0)break;do if(!(s&512))ft(aa,u,Z,16);else{t=vh(Y,46,da(o|0,4,0,0)|0|0,0,0)|0;ft(aa,u,Z,16);if(!t)break;u=da(p|0,4,0,0)|0|0;if(u>>>0>t>>>0)ea((da(q|0,4,0,0)|0|0)+(t*20|0)+8|0,u|0,4,0);ea((da(v|0,4,0,0)|0|0)+88|0,u+-1|0,4,0)}while(0);ea(r|0,da(r|0,2,0,1)|0|4|0,2,0)}while(0);c=c+-1|0;if((c|0)<=0)break;else n=n+48|0}q=da(sa|0,4,0,0)|0|0;if((q|0)<=0){ra=475;break}s=da(ta|0,4,0,0)|0|0;while(1){do if(!((da(s+20|0,2,0,0)|0)&6)){if((da(s+18|0,2,0,0)|0|0)!=1026)break;if((da(s+8|0,4,0,0)|0|0)!=(g|0))break;if(da(m|0,4,0,0)|0)break;u=da(s|0,4,0,0)|0|0;c=Eu(Ca,g,da(s+12|0,4,0,0)|0|0,l,k,3,0)|0;if(!c)break;if((da(c+20|0,2,0,0)|0)&4)break;t=lh(_,48,0)|0;if(!t)break;n=t+0|0;c=(da(c|0,4,0,0)|0|0)+0|0;r=n+48|0;do{ea(n|0,da(c|0,4,0,0)|0|0,4,0);n=n+4|0;c=c+4|0}while((n|0)<(r|0));ea(t+12|0,da(u+12|0,4,0,0)|0|0,4,0);ft(aa,t,Z,16);lg(_,t)}while(0);q=q+-1|0;if((q|0)<=0)break;else s=s+48|0}}else ra=475;while(0);if((ra|0)==475)ra=0;m=da(m|0,4,0,0)|0|0;do if(m){ea(d+(pa*80|0)+764|0,da(Y+32|0,4,0,0)|0|0,4,0);vh(Y,25,1,m,0)|0;$s(aa);m=da(sa|0,4,0,0)|0|0;if((m|0)<=0)break;n=0;l=da(ta|0,4,0,0)|0|0;while(1){q=l+20|0;do if(!((da(q|0,2,0,0)|0)&6)){p=l+40|0;o=$;if(!(((da(o|0,4,0,0)|0)&(da(p|0,4,0,0)|0)|0)==0?((da(o+4|0,4,0,0)|0)&(da(p+4|0,4,0,0)|0)|0)==0:0))break;ft(aa,da(l|0,4,0,0)|0|0,Z,16);ea(q|0,da(q|0,2,0,1)|0|4|0,2,0);m=da(sa|0,4,0,0)|0|0}while(0);n=n+1|0;if((n|0)>=(m|0))break;else l=l+48|0}}while(0);k=$;l=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0}ea(xa|0,da(qa+(pa*80|0)+24|0,4,0,0)|0|0,4,0);pa=pa+1|0;if((pa|0)>=(h|0))break a}}}while(0);if(Da)d=0;else{ea(za|0,da(Aa|0,4,0,0)|0|0,4,0);Wu(Fa,d);d=0}}else{ea(Ha|0,64|0,4,0);sh(a,33504,Ha);d=0}while(0);i=Ja;return d|0}function Vs(a){a=a|0;var b=0,c=0,d=0,e=0;e=a<<16>>16;do if(a<<16>>16>=10){a=(e|0)%10|0;b=((a|0)<0)<<31>>31;if(a>>>0>4){c=iw(a|0,b|0,-2,-1)|0;d=C}else{c=((a|0)!=0)<<31>>31;c=iw(c|0,((c|0)<0)<<31>>31|0,a|0,b|0)|0;d=C}b=((e|0)/10|0)<<16;a=b>>16;if((b|0)<=131072){b=iw(c|0,d|0,8,0)|0;a=lw(b|0,C|0,3-a|0)|0;b=C;break}if((b|0)>3932160){b=2147483647;a=-1}else{b=iw(c|0,d|0,8,0)|0;a=hw(b|0,C|0,a+-3|0)|0;b=C}}else{b=0;a=1}while(0);C=b;return a|0}function Ws(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;y=da(a|0,4,0,0)|0|0;z=da(y+8|0,4,0,0)|0|0;B=da(a+4|0,4,0,0)|0|0;C=da(y|0,4,0,0)|0|0;$s(y);D=a+41|0;c=da(D>>0|0,1,0,0)|0|0;if(!(c<<24>>24))b=z+24|0;else{b=z+24|0;l=z+32|0;n=z+4|0;k=c&255;do{k=k+-1|0;e=da(a+(k*80|0)+800|0,4,0,0)|0|0;w=da(a+(k*80|0)+760|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;d=~w;if((w|0)<0?(o=da(c+112|0,4,0,0)|0|0,(o|0)!=0):0)ea(o+(d<<2)|0,da(l|0,4,0,0)|0|0,4,0);ea(c+88|0,(da(l|0,4,0,0)|0|0)+-1|0,4,0);x=a+(k*80|0)+781|0;d=da(x>>0|0,1,0,0)|0|0;if(d<<24>>24!=-100?(vh(z,d&255,da(a+(k*80|0)+784|0,4,0,0)|0|0,da(a+(k*80|0)+788|0,4,0,0)|0|0,da(a+(k*80|0)+782>>0|0,1,0,1)|0|0)|0,q=da(n|0,4,0,0)|0|0,(q|0)!=0):0)ea(q+(((da(l|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(a+(k*80|0)+783>>0|0,1,0,0)|0|0|0,1,0);p=e+36|0;if(((da(p|0,4,0,0)|0)&2048|0)!=0?(r=a+(k*80|0)+792|0,s=da(r|0,4,0,0)|0|0,(s|0)>0):0){w=da(a+(k*80|0)+752|0,4,0,0)|0|0;g=da(b|0,4,0,0)|0|0;d=~w;if((w|0)<0?(t=da(g+112|0,4,0,0)|0|0,(t|0)!=0):0){ea(t+(d<<2)|0,da(l|0,4,0,0)|0|0,4,0);h=da(r|0,4,0,0)|0|0;f=da(l|0,4,0,0)|0|0;ea(g+88|0,f+-1|0,4,0);c=a+(k*80|0)+796|0;if((h|0)>0)E=16}else{f=da(l|0,4,0,0)|0|0;ea(g+88|0,f+-1|0,4,0);c=a+(k*80|0)+796|0;h=s;E=16}if((E|0)==16){E=0;d=g;j=h;i=(da(c|0,4,0,0)|0|0)+((h+-1|0)*12|0)|0;while(1){h=i+4|0;g=da(h|0,4,0,0)|0|0;e=g+1|0;if(f>>>0>e>>>0)ea((da(n|0,4,0,0)|0|0)+(e*20|0)+8|0,f|0,4,0);ea(d+88|0,f+-1|0,4,0);vh(z,da(i+8>>0|0,1,0,1)|0|0,da(i|0,4,0,0)|0|0,g,0)|0;h=(da(h|0,4,0,0)|0|0)+-1|0;f=da(l|0,4,0,0)|0|0;if(f>>>0>h>>>0)ea((da(n|0,4,0,0)|0|0)+(h*20|0)+8|0,f|0,4,0);d=da(b|0,4,0,0)|0|0;ea(d+88|0,f+-1|0,4,0);j=j+-1|0;if((j|0)<=0)break;else i=i+-12|0}}lg(C,da(c|0,4,0,0)|0|0)}w=da(a+(k*80|0)+748|0,4,0,0)|0|0;e=da(b|0,4,0,0)|0|0;d=~w;if((w|0)<0?(m=da(e+112|0,4,0,0)|0|0,(m|0)!=0):0)ea(m+(d<<2)|0,da(l|0,4,0,0)|0|0,4,0);d=da(l|0,4,0,0)|0|0;ea(e+88|0,d+-1|0,4,0);e=a+(k*80|0)+756|0;c=da(e|0,4,0,0)|0|0;if(c){vh(z,16,0,c,0)|0;e=da(e|0,4,0,0)|0|0;d=da(l|0,4,0,0)|0|0;if(d>>>0>e>>>0)ea((da(n|0,4,0,0)|0|0)+(e*20|0)+8|0,d|0,4,0);f=d+-1|0;c=(da(b|0,4,0,0)|0|0)+88|0;ea(c|0,f|0,4,0);e=e+-2|0;if(d>>>0>e>>>0)ea((da(n|0,4,0,0)|0|0)+(e*20|0)+8|0,d|0,4,0);ea(c|0,f|0,4,0)}e=da(a+(k*80|0)+776|0,4,0,0)|0|0;if(e){if(!(da((da(z|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))d=(da(n|0,4,0,0)|0|0)+((((e|0)<1?d:e)+-1|0)*20|0)|0;else d=29120;vh(z,(da(d+4|0,4,0,0)|0|0)==0?141:140,da(a+(k*80|0)+772|0,4,0,0)|0|0,e,0)|0}c=da(a+(k*80|0)+736|0,4,0,0)|0|0;if(c){f=vh(z,137,c,0,0)|0;c=da(p|0,4,0,0)|0|0;if(!(c&64)){vh(z,104,da(B+(k*72|0)+48|0,4,0,0)|0|0,0,0)|0;c=da(p|0,4,0,0)|0|0}if(c&512)vh(z,104,da(a+(k*80|0)+744|0,4,0,0)|0|0,0,0)|0;c=da(a+(k*80|0)+764|0,4,0,0)|0|0;if((da(x>>0|0,1,0,0)|0|0)==18)vh(z,17,da(a+(k*80|0)+784|0,4,0,0)|0|0,c,0)|0;else vh(z,16,0,c,0)|0;c=da(l|0,4,0,0)|0|0;if(c>>>0>f>>>0)ea((da(n|0,4,0,0)|0|0)+(f*20|0)+8|0,c|0,4,0);ea((da(b|0,4,0,0)|0|0)+88|0,c+-1|0,4,0)}}while((k|0)>0)}w=da(a+52|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;b=~w;if((w|0)<0?(u=da(c+112|0,4,0,0)|0|0,(u|0)!=0):0)ea(u+(b<<2)|0,da(z+32|0,4,0,0)|0|0,4,0);x=z+32|0;ea(c+88|0,(da(x|0,4,0,0)|0|0)+-1|0,4,0);if(da(D>>0|0,1,0,0)|0){q=a+34|0;r=a+38|0;s=a+64|0;t=C+65|0;u=z+4|0;v=0;w=a+736|0;while(1){e=da(w+44>>0|0,1,0,1)|0|0;f=da(B+(e*72|0)+24|0,4,0,0)|0|0;d=da(w+64|0,4,0,0)|0|0;if(((da(B+(e*72|0)+45>>0|0,1,0,0)|0)&4)!=0?(da(t>>0|0,1,0,0)|0|0)==0:0){g=da(x|0,4,0,0)|0|0;d=da(w+32|0,4,0,0)|0|0;if(!(da((da(z|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))c=(da(u|0,4,0,0)|0|0)+(((d|0)<0?g+-1|0:d)*20|0)|0;else c=29120;if((d|0)<(g|0)){h=da(w+4|0,4,0,0)|0|0;f=B+(e*72|0)+40|0;e=c;while(1){c=e+4|0;do if((da(c|0,4,0,0)|0|0)==(h|0)){b=da(e>>0|0,1,0,0)|0|0;if(b<<24>>24==47){ea(e>>0|0,33|0,1,0);o=e+8|0;ea(c|0,(da(f|0,4,0,0)|0|0)+(da(o|0,4,0,0)|0|0)|0,4,0);p=e+12|0;ea(o|0,da(p|0,4,0,0)|0|0,4,0);ea(p|0,0|0,4,0);break}else if(b<<24>>24==103){ea(e>>0|0,28|0,1,0);ea(c|0,0|0,4,0);ea(e+12|0,0|0,4,0);break}else break}while(0);d=d+1|0;if((d|0)==(g|0))break;else e=e+20|0}}}else E=64;do if((E|0)==64){E=0;p=f+44|0;if((((da(p>>0|0,1,0,0)|0)&2)==0?(da(f+12|0,4,0,0)|0|0)==0:0)?((da(q|0,2,0,0)|0)&16)==0:0){c=da(d+36|0,4,0,0)|0|0;if((da(r>>0|0,1,0,0)|0|0)==0&(c&64|0)==0)vh(z,61,da(B+(e*72|0)+48|0,4,0,0)|0|0,0,0)|0;if((c&17152|0)==512?(A=da(w+8|0,4,0,0)|0|0,(A|0)!=(da(s|0,4,0,0)|0|0)):0)vh(z,61,A,0,0)|0}c=da(d+36|0,4,0,0)|0|0;if(!(c&576)){if(!(c&8192))break;c=w+56|0}else c=d+28|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(da(t>>0|0,1,0,0)|0|0)==0:0){n=da(x|0,4,0,0)|0|0;h=da(w+32|0,4,0,0)|0|0;if(!(da((da(z|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))g=(da(u|0,4,0,0)|0|0)+(((h|0)<0?n+-1|0:h)*20|0)|0;else g=29120;if((h|0)<(n|0)){o=d+48|0;l=d+4|0;m=w+8|0;k=f+8|0;b=da(w+4|0,4,0,0)|0|0;c=g;while(1){d=c+4|0;a:do if((da(d|0,4,0,0)|0|0)==(b|0)){g=da(c>>0|0,1,0,0)|0|0;if(g<<24>>24==103){ea(d|0,da(m|0,4,0,0)|0|0,4,0);ea(c>>0|0,112|0,1,0);break}else if(g<<24>>24!=47)break;e=c+8|0;g=da(e|0,4,0,0)|0|0;if((da(p>>0|0,1,0,0)|0)&32){f=k;while(1){f=da(f|0,4,0,0)|0|0;if(((da(f+51>>0|0,1,0,0)|0)&3)==2)break;else f=f+20|0}g=da((da(f+4|0,4,0,0)|0|0)+(g<<1)|0,2,0,0)|0|0}j=g&65535;g=da(o|0,2,0,0)|0|0;if(g<<16>>16){f=da(l|0,4,0,0)|0|0;i=g&65535;g=0;while(1){if((da(f+(g<<1)|0,2,0,0)|0|0)==j<<16>>16)break;g=g+1|0;if((g|0)>=(i|0))break a}if((g&65535)<<16>>16>-1){ea(e|0,g<<16>>16|0,4,0);ea(d|0,da(m|0,4,0,0)|0|0,4,0)}}}while(0);h=h+1|0;if((h|0)==(n|0))break;else c=c+20|0}}}}while(0);v=v+1|0;if((v|0)>=(da(D>>0|0,1,0,1)|0|0))break;else w=w+80|0}}ea(y+424|0,da(a+56|0,4,0,0)|0|0,4,0);Wu(C,a);return}function Xs(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)!=0?(da(b|0,4,0,0)|0|0)>0:0){c=0;d=da(b+4|0,4,0,0)|0|0;while(1){Xu(a,da(d|0,4,0,0)|0|0);c=c+1|0;if((c|0)>=(da(b|0,4,0,0)|0|0))break;else d=d+20|0}}return}function Ys(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;e=da(a+24|0,4,0,0)|0|0;o=da(e|0,4,0,0)|0|0;f=da(e+4|0,4,0,0)|0|0;p=da(e+12|0,4,0,0)|0|0;d=da(b>>0|0,1,0,1)|0|0;a:do if((d|0)==155)if(((da(e+28|0,2,0,0)|0)&8)==0?(da(a+16|0,4,0,0)|0|0)==(da(b+38>>0|0,1,0,1)|0|0):0){h=p+40|0;d=p+44|0;a=da(d|0,4,0,0)|0|0;b:do if((a|0)>0){c=0;e=da(h|0,4,0,0)|0|0;while(1){if(!(Bu(da(e|0,4,0,0)|0|0,b,-1)|0))break b;c=c+1|0;if((c|0)<(a|0))e=e+16|0;else break}}else c=0;while(0);do if((c|0)>=(a|0)){g=da(o|0,4,0,0)|0|0;k=da(g+62>>0|0,1,0,0)|0|0;g=Gt(g,da(h|0,4,0,0)|0|0,16,d,n)|0;ea(h|0,g|0,4,0);c=da(n|0,4,0,0)|0|0;if((c|0)>-1){ea(g+(c<<4)|0,b|0,4,0);f=o+72|0;d=(da(f|0,4,0,0)|0|0)+1|0;ea(f|0,d|0,4,0);ea(g+(c<<4)+8|0,d|0,4,0);d=da(o|0,4,0,0)|0|0;f=da(b+8|0,4,0,0)|0|0;if(!f)a=0;else{e=f;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;a=e-f&1073741823}e=da(b+20|0,4,0,0)|0|0;if(!e)e=0;else e=da(e|0,4,0,0)|0|0;ea(g+(c<<4)+4|0,Rh(d,f,a,e,k,0)|0|0,4,0);if(!((da(b+4|0,4,0,0)|0)&16)){ea(g+(c<<4)+12|0,-1|0,4,0);break}else{l=o+68|0;m=da(l|0,4,0,0)|0|0;ea(l|0,m+1|0,4,0);ea(g+(c<<4)+12|0,m|0,4,0);break}}}while(0);ea(b+34|0,c|0,2,0);ea(b+40|0,p|0,4,0);c=1}else c=0;else if((d|0)==154|(d|0)==156)if((f|0)!=0?(h=da(f|0,4,0,0)|0|0,(h|0)>0):0){l=b+28|0;d=da(l|0,4,0,0)|0|0;a=0;e=f+8|0;while(1){if((d|0)==(da(e+40|0,4,0,0)|0|0))break;a=a+1|0;if((a|0)>=(h|0)){c=1;break a}else e=e+72|0}k=p+28|0;f=p+32|0;a=da(f|0,4,0,0)|0|0;c:do if((a|0)>0){h=b+32|0;c=0;g=da(k|0,4,0,0)|0|0;while(1){if((da(g+4|0,4,0,0)|0|0)==(d|0)?(da(g+8|0,4,0,0)|0|0)==(da(h|0,2,0,0)|0|0):0)break c;c=c+1|0;if((c|0)<(a|0))g=g+24|0;else break}}else c=0;while(0);d:do if((c|0)>=(a|0)){a=Gt(da(o|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,24,f,n)|0;ea(k|0,a|0,4,0);c=da(n|0,4,0,0)|0|0;if((c|0)>-1){ea(a+(c*24|0)|0,da(b+44|0,4,0,0)|0|0,4,0);f=da(l|0,4,0,0)|0|0;ea(a+(c*24|0)+4|0,f|0,4,0);g=da(b+32|0,2,0,0)|0|0;ea(a+(c*24|0)+8|0,g<<16>>16|0,4,0);e=o+72|0;h=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,h|0,4,0);ea(a+(c*24|0)+16|0,h|0,4,0);h=a+(c*24|0)+12|0;ea(h|0,-1|0,4,0);ea(a+(c*24|0)+20|0,b|0,4,0);e=da(p+24|0,4,0,0)|0|0;e:do if((e|0)!=0?(m=da(e|0,4,0,0)|0|0,(m|0)>0):0){d=0;a=da(e+4|0,4,0,0)|0|0;while(1){e=da(a|0,4,0,0)|0|0;if(((da(e>>0|0,1,0,0)|0|0)==-102?(da(e+28|0,4,0,0)|0|0)==(f|0):0)?(da(e+32|0,2,0,0)|0|0)==g<<16>>16:0)break;d=d+1|0;if((d|0)>=(m|0))break e;else a=a+20|0}ea(h|0,d|0,4,0);if((d|0)>=0)break d}while(0);l=p+12|0;m=da(l|0,4,0,0)|0|0;ea(l|0,m+1|0,4,0);ea(h|0,m|0,4,0)}}while(0);ea(b+40|0,p|0,4,0);ea(b>>0|0,-100|0,1,0);ea(b+34|0,c|0,2,0);c=1}else c=1;else c=0;while(0);i=q;return c|0}function Zs(a,b){a=a|0;b=b|0;return 0}function _s(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;if((da(a+450>>0|0,1,0,0)|0|0)==2){e=da(a+8|0,4,0,0)|0|0;f=da(a|0,4,0,0)|0|0;ea(c|0,b|0,4,0);c=th(f,35e3,c)|0;wh(e,vh(e,157,da(a+464|0,4,0,0)|0|0,0,0)|0,c,-1)}i=d;return}function $s(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=a+19|0;g=0;h=a+116|0;while(1){c=h+12|0;d=da(c|0,4,0,0)|0|0;if(d){e=h+6|0;if(da(e>>0|0,1,0,0)|0){f=da(b>>0|0,1,0,0)|0|0;if((f&255)<8){ea(b>>0|0,f+1<<24>>24|0,1,0);ea(a+((f&255)<<2)+24|0,d|0,4,0)}ea(e>>0|0,0|0,1,0)}ea(c|0,0|0,4,0)}g=g+1|0;if((g|0)==10)break;else h=h+20|0}return}function at(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;if((i|0)>=(j|0))ba();v=x;e=d&255;o=34-(e&1)|0;r=da(b|0,4,0,0)|0|0;if(!(da(a+23>>0|0,1,0,0)|0))d=e&253;if((r|0)>0){f=(d&2)==0;g=a+8|0;h=(o|0)==33;k=v+20|0;l=v+4|0;m=v+24|0;n=0;b=da(b+4|0,4,0,0)|0|0;while(1){e=da(b|0,4,0,0)|0|0;if(!f?(ea(v+0|0,0|0,4,0),ea(v+4|0,0|0,4,0),ea(v+8|0,0|0,4,0),ea(v+12|0,0|0,4,0),ea(v+16|0,0|0,4,0),ea(v+20|0,0|0,4,0),ea(k>>0|0,1|0,1,0),ea(v|0,78|0,4,0),ea(l|0,79|0,4,0),ea(m|0,0|0,4,0),qs(v,e)|0,(da(k>>0|0,1,0,0)|0|0)!=0):0)Ft(a,e,n+c|0,0);else w=8;do if((w|0)==8?(w=0,p=n+c|0,q=hs(a,e,p)|0,(q|0)!=(p|0)):0){d=da(g|0,4,0,0)|0|0;if(h){if(!(da((da(d|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))e=(da(d+4|0,4,0,0)|0|0)+(((da(d+32|0,4,0,0)|0|0)+-1|0)*20|0)|0;else e=29120;if(((da(e>>0|0,1,0,0)|0|0)==33?(s=e+12|0,t=da(s|0,4,0,0)|0|0,((da(e+4|0,4,0,0)|0|0)+1+t|0)==(q|0)):0)?(u=t+1|0,(u+(da(e+8|0,4,0,0)|0|0)|0)==(p|0)):0){ea(s|0,u|0,4,0);break}}vh(d,o,q,p,0)|0}while(0);n=n+1|0;if((n|0)==(r|0))break;else b=b+20|0}}i=x;return}function bt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=da(a+8|0,4,0,0)|0|0;g=a+116|0;j=0;h=g;while(1){i=da(h+12|0,4,0,0)|0|0;if(((i|0)>0?(da(h|0,4,0,0)|0|0)==(d|0):0)?(da(h+4|0,2,0,0)|0|0)==(c|0):0){e=i;j=5;break}j=j+1|0;if((j|0)>=10){j=10;break}else h=h+20|0}do if((j|0)==5){k=a+104|0;f=da(k|0,4,0,0)|0|0;ea(k|0,f+1|0,4,0);ea(h+16|0,f|0,4,0);h=0;while(1){if((da(g+12|0,4,0,0)|0|0)==(e|0))ea(g+6>>0|0,0|0,1,0);h=h+1|0;if((h|0)==10)break;else g=g+20|0}}else if((j|0)==10){mt(k,b,d,c,e);if(!(f<<24>>24)){Ru(a,d,c,e);break}g=da(k+4|0,4,0,0)|0|0;if(g)ea(g+(((da(k+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,f|0,1,0)}while(0);return e|0}function ct(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=b+-1+c|0;e=a+19|0;i=0;j=a+116|0;while(1){f=j+12|0;g=da(f|0,4,0,0)|0|0;if(!((g|0)<(b|0)|(g|0)>(c|0))){h=j+6|0;if(da(h>>0|0,1,0,0)|0){d=da(e>>0|0,1,0,0)|0|0;if((d&255)<8){ea(e>>0|0,d+1<<24>>24|0,1,0);ea(a+((d&255)<<2)+24|0,g|0,4,0)}ea(h>>0|0,0|0,1,0)}ea(f|0,0|0,4,0)}i=i+1|0;if((i|0)==10)break;else j=j+20|0}return}function dt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=da(a+8|0,4,0,0)|0|0;ea(b>>0|0,1|0,1,0);p=b+44|0;if((da(p|0,4,0,0)|0|0)>0){q=x+4|0;s=a+56|0;t=a+60|0;l=x+24|0;m=x+32|0;n=b+36|0;o=a+72|0;u=0;v=da(b+40|0,4,0,0)|0|0;c=0;while(1){h=da((da(v|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if(!h){d=0;f=0}else{d=da(h|0,4,0,0)|0|0;f=da(t|0,4,0,0)|0|0;e=da(s|0,4,0,0)|0|0;if((e|0)<(d|0)){f=da(o|0,4,0,0)|0|0;ea(o|0,f+d|0,4,0);f=f+1|0}else{ea(t|0,f+d|0,4,0);ea(s|0,e-d|0,4,0)}at(a,h,f,1)}e=v+12|0;if((da(e|0,4,0,0)|0|0)>-1){k=ws(x)|0;yu(a,da(e|0,4,0,0)|0|0,k,1,f)}else k=0;j=v+4|0;e=da(j|0,4,0,0)|0|0;if((da(e+2|0,2,0,0)|0)&32){if((d|0)>0){i=0;h=da(h+4|0,4,0,0)|0|0;while(1){e=bu(a,da(h|0,4,0,0)|0|0)|0;i=i+1|0;g=(e|0)!=0;if(!((i|0)<(d|0)&(g^1)))break;else h=h+20|0}if(!g)w=15}else w=15;if((w|0)==15){w=0;e=da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0}if(!c)if(!(da(n|0,4,0,0)|0))c=0;else{c=(da(o|0,4,0,0)|0|0)+1|0;ea(o|0,c|0,4,0)}wh(x,vh(x,36,c,0,0)|0,e,-4);e=da(j|0,4,0,0)|0|0}wh(x,vh(x,10,0,f,da(v+8|0,4,0,0)|0|0)|0,e,-5);e=da(q|0,4,0,0)|0|0;if(e)ea(e+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,d|0,1,0);ct(a,f,d);ct(a,f,d);if((da(s|0,4,0,0)|0|0)<(d|0)){ea(s|0,d|0,4,0);ea(t|0,f|0,4,0)}if(k){f=da(l|0,4,0,0)|0|0;e=~k;if((k|0)<0?(r=da(f+112|0,4,0,0)|0|0,(r|0)!=0):0)ea(r+(e<<2)|0,da(m|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(m|0,4,0,0)|0|0)+-1|0,4,0);$s(a)}u=u+1|0;if((u|0)>=(da(p|0,4,0,0)|0|0))break;else v=v+16|0}if(c)f=vh(x,45,c,0,0)|0;else f=0}else f=0;$s(a);c=b+36|0;if((da(c|0,4,0,0)|0|0)>0){d=0;e=da(b+28|0,4,0,0)|0|0;while(1){Qq(a,da(e+20|0,4,0,0)|0|0,da(e+16|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(c|0,4,0,0)|0|0))break;else e=e+24|0}}ea(b>>0|0,0|0,1,0);$s(a);if(f){c=da(x+32|0,4,0,0)|0|0;if(c>>>0>f>>>0)ea((da(x+4|0,4,0,0)|0|0)+(f*20|0)+8|0,c|0,4,0);ea((da(x+24|0,4,0,0)|0|0)+88|0,c+-1|0,4,0)}return}function et(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da(a+8|0,4,0,0)|0|0;d=b+44|0;if((da(d|0,4,0,0)|0|0)>0){e=0;b=da(b+40|0,4,0,0)|0|0;while(1){a=da((da(b|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if(!a)a=0;else a=da(a|0,4,0,0)|0|0;f=da(b+4|0,4,0,0)|0|0;wh(c,vh(c,142,da(b+8|0,4,0,0)|0|0,a,0)|0,f,-5);e=e+1|0;if((e|0)>=(da(d|0,4,0,0)|0|0))break;else b=b+16|0}}return}function ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m+4|0;l=m;h=da(a+8|0,4,0,0)|0|0;ea(k|0,0|0,4,0);ea(l|0,0|0,4,0);if(!((h|0)==0|(b|0)==0)){n=da(b>>0|0,1,0,1)|0|0;e=n^1;a:do switch(n|0){case 75:{if(d){eu(a,b,c,c);break a}f=ws(h)|0;eu(a,b,c,f);e=da(h+24|0,4,0,0)|0|0;d=~f;if((f|0)<0?(g=da(e+112|0,4,0,0)|0|0,(g|0)!=0):0)ea(g+(d<<2)|0,da(h+32|0,4,0,0)|0|0,4,0);ea(e+88|0,(da(h+32|0,4,0,0)|0|0)+-1|0,4,0);break}case 72:{ft(a,da(b+12|0,4,0,0)|0|0,c,d);h=a+100|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);ft(a,da(b+16|0,4,0,0)|0|0,c,d);au(a);break}case 19:{Yu(a,da(b+12|0,4,0,0)|0|0,c,d);break}case 148:case 73:{g=b+12|0;e=_t(a,da(g|0,4,0,0)|0|0,k)|0;h=b+16|0;d=_t(a,da(h|0,4,0,0)|0|0,l)|0;$t(a,da(g|0,4,0,0)|0|0,da(h|0,4,0,0)|0|0,(da(b>>0|0,1,0,0)|0|0)==73?78:79,e,d,c,128);break}case 74:{Zu(a,b,c,0,d);break}case 77:case 76:{vh(h,e,_t(a,da(b+12|0,4,0,0)|0|0,k)|0,c,0)|0;break}case 71:{g=ws(h)|0;Yu(a,da(b+12|0,4,0,0)|0|0,g,d^16);e=a+100|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);ft(a,da(b+16|0,4,0,0)|0|0,c,d);d=da(h+24|0,4,0,0)|0|0;e=~g;if((g|0)<0?(f=da(d+112|0,4,0,0)|0|0,(f|0)!=0):0)ea(f+(e<<2)|0,da(h+32|0,4,0,0)|0|0,4,0);ea(d+88|0,(da(h+32|0,4,0,0)|0|0)+-1|0,4,0);au(a);break}case 79:case 78:case 83:case 80:case 81:case 82:{f=b+12|0;g=_t(a,da(f|0,4,0,0)|0|0,k)|0;b=b+16|0;h=_t(a,da(b|0,4,0,0)|0|0,l)|0;$t(a,da(f|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,e,g,h,c,d);break}default:{if(lu(b)|0){vh(h,16,0,c,0)|0;break a}if(!(_u(b)|0))vh(h,46,_t(a,b,k)|0,c,(d|0)!=0&1)|0}}while(0);Zr(a,da(k|0,4,0,0)|0|0);Zr(a,da(l|0,4,0,0)|0|0)}i=m;return}function gt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=da(a+8|0,4,0,0)|0|0;f=b+44|0;if((da(f|0,4,0,0)|0|0)!=(0-(da(b+32|0,4,0,0)|0|0)|0)?(vh(e,28,0,da(b+16|0,4,0,0)|0|0,da(b+20|0,4,0,0)|0|0)|0,(da(f|0,4,0,0)|0|0)>0):0){g=0;d=da(b+40|0,4,0,0)|0|0;while(1){b=d+12|0;do if((da(b|0,4,0,0)|0|0)>-1){c=da((da(d|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if((c|0)!=0?(da(c|0,4,0,0)|0|0)==1:0){c=Ts(a,c,0,0)|0;wh(e,vh(e,57,da(b|0,4,0,0)|0|0,0,0)|0,c,-6);break}sh(a,34944,h);ea(b|0,-1|0,4,0)}while(0);g=g+1|0;if((g|0)>=(da(f|0,4,0,0)|0|0))break;else d=d+16|0}}i=k;return}function ht(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>0){d=vh(a,138,b,0,-1)|0;vh(a,16,0,c,0)|0;b=da(a+32|0,4,0,0)|0|0;if(b>>>0>d>>>0)ea((da(a+4|0,4,0,0)|0|0)+(d*20|0)+8|0,b|0,4,0);ea((da(a+24|0,4,0,0)|0|0)+88|0,b+-1|0,4,0)}return}function it(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&8388608|0)!=0?(f=zs(a,b)|0,(f|0)!=0):0){a=0;b=f;do{if((da(b+8>>0|0,1,0,1)|0|0|0)==(c|0)?($u(da(b+16|0,4,0,0)|0|0,d)|0)!=0:0)a=da(b+9>>0|0,1,0,1)|0|0|a;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0)}else{a=0;f=0}if(e)ea(e|0,a|0,4,0);return ((a|0)!=0?f:0)|0}function jt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=da(b+44>>0|0,1,0,0)|0|0;if(f&16){e=da(a|0,4,0,0)|0|0;d=b+60|0;while(1){d=da(d|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(e|0))break;else d=d+24|0}if(!(da((da(da(d+4|0,4,0,0)|0|0,4,0,0)|0|0)+52|0,4,0,0)|0))e=8;else e=5}else e=5;do if((e|0)==5){if(((f&1)!=0?((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&2048|0)==0:0)?(da(a+18>>0|0,1,0,0)|0|0)==0:0){e=8;break}if((c|0)==0?(da(b+12|0,4,0,0)|0|0)!=0:0){ea(g|0,da(b|0,4,0,0)|0|0,4,0);sh(a,34456,g);d=1}else d=0}while(0);if((e|0)==8){ea(g|0,da(b|0,4,0,0)|0|0,4,0);sh(a,34424,g);d=1}i=h;return d|0}function kt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;l=da(a|0,4,0,0)|0|0;f=da(b+68|0,4,0,0)|0|0;a:do if(f){e=da(l+20|0,4,0,0)|0|0;if((e|0)>0){h=da(l+16|0,4,0,0)|0|0;k=0;while(1){g=k+1|0;if((da(h+(k<<4)+12|0,4,0,0)|0|0)==(f|0)){g=k;break a}if((g|0)<(e|0))k=g;else break}}else g=0}else g=-1e6;while(0);e=Lr(l,c,0,0)|0;f=or(l,0,0,0)|0;if(f){ea(f+16|0,jh(l,da(b|0,4,0,0)|0|0)|0|0,4,0);ea(f+12|0,jh(l,da((da(l+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0)|0|0,4,0)}c=jr(a,0,f,e,0,0,0,0,0,0)|0;ea(m>>0|0,12|0,1,0);ea(m+4|0,d|0,4,0);ea(m+1>>0|0,0|0,1,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);hr(a,c,m)|0;Lk(l,c,1);i=n;return}function lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n+4|0;f=n;a:do if((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&524288){if(!c){e=an((da(b+68|0,4,0,0)|0|0)+56|0,da(b|0,4,0,0)|0|0,f)|0;if((e|0)!=0?(da(e+8|0,4,0,0)|0|0)!=0:0)e=1;else e=(da(b+16|0,4,0,0)|0|0)!=0;e=e&1;break}a=da(b+16|0,4,0,0)|0|0;if(a){k=b+36|0;l=(d|0)!=0;do{f=da(a+20|0,4,0,0)|0|0;if((f|0)>0){h=0;do{g=da(a+(h<<3)+36|0,4,0,0)|0|0;if((da(c+(g<<2)|0,4,0,0)|0|0)>-1){e=1;break a}h=h+1|0;if((g|0)==(da(k|0,2,0,0)|0|0)&l){e=1;break a}}while((h|0)<(f|0))}a=da(a+4|0,4,0,0)|0|0}while((a|0)!=0)}f=an((da(b+68|0,4,0,0)|0|0)+56|0,da(b|0,4,0,0)|0|0,m)|0;if((f|0)!=0?(e=da(f+8|0,4,0,0)|0|0,(e|0)!=0):0)while(1){if(av(b,e,c,d)|0){e=1;break a}e=da(e+12|0,4,0,0)|0|0;if(!e){e=0;break}}else e=0}else e=0;while(0);i=n;return e|0}function mt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if((d|0)>=0?(da(b+36|0,2,0,0)|0|0)!=(d|0):0){f=da(b+44>>0|0,1,0,1)|0|0;j=(f&16|0)!=0?150:47;if(!(f&32))f=d;else{f=da(b+8|0,4,0,0)|0|0;a:do if(!f)f=0;else while(1){if(((da(f+51>>0|0,1,0,0)|0)&3)==2)break a;f=da(f+20|0,4,0,0)|0|0;if(!f){f=0;break}}while(0);i=d&65535;g=da(f+48|0,2,0,0)|0|0;b:do if(!(g<<16>>16))f=-1;else{h=da(f+4|0,4,0,0)|0|0;g=g&65535;f=0;while(1){if((da(h+(f<<1)|0,2,0,0)|0|0)==i<<16>>16)break b;f=f+1|0;if((f|0)>=(g|0)){f=-1;break}}}while(0);f=f<<16>>16}vh(a,j,c,f,e)|0}else vh(a,103,c,e,0)|0;if((d|0)>-1)Mt(a,b,d,e);return}function nt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=b+16|0;c=da(f|0,4,0,0)|0|0;do if(!c){d=da(b+12|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;e=b+48|0;a=pg((da(e|0,2,0,1)|0|0)+1|0,0)|0;ea(f|0,a|0,4,0);if(!a){ea(c+65>>0|0,1|0,1,0);c=0;break}if(!(da(e|0,2,0,0)|0))c=0;else{b=b+4|0;d=d+4|0;c=0;do{a=da((da(b|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0;if(a<<16>>16<0)a=68;else a=da((da(d|0,4,0,0)|0|0)+((a<<16>>16)*24|0)+21>>0|0,1,0,0)|0|0;ea((da(f|0,4,0,0)|0|0)+c>>0|0,a|0,1,0);c=c+1|0}while((c|0)<(da(e|0,2,0,1)|0|0));a=da(f|0,4,0,0)|0|0}ea(a+c>>0|0,0|0,1,0);c=da(f|0,4,0,0)|0|0}while(0);return c|0}function ot(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=b+44|0;if(!((da(p>>0|0,1,0,0)|0)&16)){i=da(a|0,4,0,0)|0|0;k=da(b+68|0,4,0,0)|0|0;a:do if(k){l=da(i+20|0,4,0,0)|0|0;if((l|0)>0){i=da(i+16|0,4,0,0)|0|0;j=0;while(1){h=j+1|0;if((da(i+(j<<4)+12|0,4,0,0)|0|0)==(k|0))break a;if((h|0)<(l|0))j=h;else{j=h;break}}}else j=0}else j=-1e6;while(0);o=Nq(a)|0;if((d|0)<0)d=da(a+68|0,4,0,0)|0|0;i=d+1|0;n=(f|0)!=0;if(n)ea(f|0,d|0,4,0);do if(!((da(p>>0|0,1,0,0)|0)&32)){if((e|0)!=0?(da(e>>0|0,1,0,0)|0|0)==0:0){m=15;break}Pq(a,d,j,b,c)}else m=15;while(0);if((m|0)==15)fs(a,j,da(b+32|0,4,0,0)|0|0,(c|0)==55&1,da(b|0,4,0,0)|0|0);if(g)ea(g|0,i|0,4,0);d=da(b+8|0,4,0,0)|0|0;if(!d)h=0;else{k=(e|0)==0;b=a+8|0;l=i;h=0;while(1){i=l+1|0;if(((da(d+51>>0|0,1,0,0)|0)&3)==2?((da(p>>0|0,1,0,0)|0)&32)!=0&n:0)ea(f|0,l|0,4,0);h=h+1|0;if(!(!k?(da(e+h>>0|0,1,0,0)|0|0)==0:0)){vh(o,c,l,da(d+40|0,4,0,0)|0|0,j)|0;m=da(b|0,4,0,0)|0|0;wh(m,-1,gs(a,d)|0,-6)}d=da(d+20|0,4,0,0)|0|0;if(!d)break;else l=i}}d=a+68|0;if((i|0)>(da(d|0,4,0,0)|0|0))ea(d|0,i|0,4,0)}else h=0;return h|0}function pt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=da(a+408|0,4,0,0)|0|0;f=(f|0)==0?a:f;e=f+452|0;a=da(e|0,4,0,0)|0|0;c=da(f+520|0,4,0,0)|0|0;a:do if((a|0)>0){d=0;while(1){if((da(c+(d<<2)|0,4,0,0)|0|0)==(b|0))break a;d=d+1|0;if((d|0)>=(a|0)){g=4;break}}}else g=4;while(0);do if((g|0)==4){a=Wc(c,(a<<2)+4|0)|0;if(!a){ea((da(f|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);break}else{ea(f+520|0,a|0,4,0);c=da(e|0,4,0,0)|0|0;ea(e|0,c+1|0,4,0);ea(a+(c<<2)|0,b|0,4,0);break}}while(0);return}function qt(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=da(a+8|0,4,0,0)|0|0;u=ws(t)|0;r=((da(b+44>>0|0,1,0,0)|0)&32)>>>4^70;if(!(j<<24>>24))wh(t,vh(t,r,d,u,f)|0,g<<16>>16,-14);if((lt(a,b,0,0)|0)!=0|(c|0)!=0){n=i&255;o=ut(a,c,0,0,3,b,n)|0;o=tt(a,b)|0|o;l=a+72|0;k=da(l|0,4,0,0)|0|0;j=k+1|0;p=b+38|0;ea(l|0,j+(da(p|0,2,0,0)|0|0)|0,4,0);vh(t,33,f,j,0)|0;l=da(p|0,2,0,0)|0|0;if(l<<16>>16>0){q=(o|0)==-1;m=k+2|0;k=0;do{if(!q){if((k|0)<32?(1<<k&o|0)!=0:0)s=9}else s=9;if((s|0)==9){s=0;mt(t,b,d,k,m+k|0);l=da(p|0,2,0,0)|0|0}k=k+1|0}while((k|0)<(l<<16>>16|0))}q=t+32|0;p=da(q|0,4,0,0)|0|0;wt(a,c,109,0,1,b,j,n,u);if((p|0)<(da(q|0,4,0,0)|0|0))wh(t,vh(t,r,d,u,f)|0,g<<16>>16,-14);yt(a,b,j,0,0,0)}else j=0;if((da(b+12|0,4,0,0)|0|0)==0?(zt(a,b,d,e,0),vh(t,95,d,h<<24>>24!=0&1,0)|0,h<<24>>24!=0):0)wh(t,-1,da(b|0,4,0,0)|0|0,0);Bt(a,b,0,j,0,0);wt(a,c,109,0,2,b,j,i&255,u);k=da(t+24|0,4,0,0)|0|0;j=~u;if((u|0)<0?(v=da(k+112|0,4,0,0)|0|0,(v|0)!=0):0)ea(v+(j<<2)|0,da(t+32|0,4,0,0)|0|0,4,0);ea(k+88|0,(da(t+32|0,4,0,0)|0|0)+-1|0,4,0);return}function rt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=da(a+8|0,4,0,0)|0|0;b=da(a+404|0,4,0,0)|0|0;if(b){j=(da(a|0,4,0,0)|0|0)+16|0;k=a+19|0;l=a+72|0;m=h+32|0;n=h+4|0;i=h+24|0;do{d=da(b+8|0,4,0,0)|0|0;e=da(j|0,4,0,0)|0|0;g=da(b+12|0,4,0,0)|0|0;c=da(k>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){f=(da(l|0,4,0,0)|0|0)+1|0;ea(l|0,f|0,4,0)}else{f=c+-1<<24>>24;ea(k>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}Pq(a,0,d,da((da(e+(d<<4)+12|0,4,0,0)|0|0)+72|0,4,0,0)|0|0,55);e=g+1|0;d=vh(h,77,e,0,0)|0;vh(h,74,0,e,0)|0;c=da(m|0,4,0,0)|0|0;if(c>>>0>d>>>0)ea((da(n|0,4,0,0)|0|0)+(d*20|0)+8|0,c|0,4,0);ea((da(i|0,4,0,0)|0|0)+88|0,c+-1|0,4,0);vh(h,49,g+-1|0,2,f)|0;vh(h,75,0,f,e)|0;c=da(n|0,4,0,0)|0|0;if(c)ea(c+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);vh(h,61,0,0,0)|0;Zr(a,f);b=da(b|0,4,0,0)|0|0}while((b|0)!=0)}return}function st(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;ea(e|0,c|0,4,0);if(!c)d=0;else{d=c;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-c&1073741823}ea(e+4|0,d|0,4,0);d=mr(a,b,e,0)|0;i=f;return d|0}function tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();g=m+4|0;l=m;if((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&524288){d=da(b+16|0,4,0,0)|0|0;if(!d)c=0;else{c=0;do{e=da(d+20|0,4,0,0)|0|0;if((e|0)>0){f=0;do{n=da(d+(f<<3)+36|0,4,0,0)|0|0;c=((n|0)>31?-1:1<<n)|c;f=f+1|0}while((f|0)<(e|0))}d=da(d+4|0,4,0,0)|0|0}while((d|0)!=0)}d=an((da(b+68|0,4,0,0)|0|0)+56|0,da(b|0,4,0,0)|0|0,g)|0;if((d|0)!=0?(h=da(d+8|0,4,0,0)|0|0,(h|0)!=0):0)do{ea(l|0,0|0,4,0);Lt(a,b,h,l,0)|0;d=da(l|0,4,0,0)|0|0;if((d|0)!=0?(k=da(d+46|0,2,0,0)|0|0,k<<16>>16!=0):0){g=k&65535;f=da(d+4|0,4,0,0)|0|0;e=0;do{d=da(f+(e<<1)|0,2,0,0)|0|0;if(d<<16>>16>31)d=-1;else d=1<<(d<<16>>16);c=d|c;e=e+1|0}while((e|0)<(g|0))}h=da(h+12|0,4,0,0)|0|0}while((h|0)!=0)}else c=0;i=m;return c|0}function ut(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;i=(c|0)!=0?110:109;if(!b)h=0;else{h=0;do{if((((da(b+8>>0|0,1,0,1)|0|0|0)==(i|0)?((da(b+9>>0|0,1,0,1)|0|0)&e|0)!=0:0)?($u(da(b+16|0,4,0,0)|0|0,c)|0)!=0:0)?(j=bv(a,b,f,g)|0,(j|0)!=0):0)h=da(j+(d<<2)+16|0,4,0,0)|0|h;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0)}return h|0}function vt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=b+20|0;d=da(i|0,4,0,0)|0|0;do if(!d){f=da(a|0,4,0,0)|0|0;h=b+38|0;e=(da(h|0,2,0,0)|0|0)+1|0;e=pg(e,((e|0)<0)<<31>>31)|0;if(!e){ea(f+65>>0|0,1|0,1,0);break}if((da(h|0,2,0,0)|0|0)>0){f=b+4|0;d=0;do{ea(e+d>>0|0,da((da(f|0,4,0,0)|0|0)+(d*24|0)+21>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0}while((d|0)<(da(h|0,2,0,0)|0|0))}else d=0;do{ea(e+d>>0|0,0|0,1,0);if((d|0)<=0)break;d=d+-1|0}while((da(e+d>>0|0,1,0,0)|0|0)==65);ea(i|0,e|0,4,0);g=10}else{e=d;g=10}while(0);do if((g|0)==10){d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823;if(d)if(!c){wh(a,-1,e,d);break}else{wh(a,vh(a,48,c,d,0)|0,e,d);break}}while(0);return}function wt(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;if(b)do{if(((da(b+8>>0|0,1,0,1)|0|0|0)==(c|0)?(da(b+9>>0|0,1,0,1)|0|0|0)==(e|0):0)?($u(da(b+16|0,4,0,0)|0|0,d)|0)!=0:0)cv(a,b,f,g,h,i);b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0);return}function xt(a,b,c,d,e,f,g,h,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+16|0;if((i|0)>=(j|0))ba();E=ja;aa=(g|0)!=0;J=da(a|0,4,0,0)|0|0;ia=Nq(a)|0;w=da(b+38|0,2,0,0)|0|0;ga=b+44|0;if(!((da(ga>>0|0,1,0,0)|0)&32)){$=1;_=0}else{q=b+8|0;while(1){q=da(q|0,4,0,0)|0|0;if(((da(q+51>>0|0,1,0,0)|0)&3)==2)break;else q=q+20|0}$=da(q+46|0,2,0,1)|0|0;_=q}if(w<<16>>16>0){s=b+36|0;r=b+4|0;q=k<<24>>24==10;p=a+408|0;o=f+1|0;x=ia+4|0;y=ia+32|0;z=ia+24|0;A=k&255;u=w<<16>>16;t=0;do{a:do if((t|0)!=(da(s|0,2,0,0)|0|0)?(B=da(r|0,4,0,0)|0|0,C=da(B+(t*24|0)+20>>0|0,1,0,0)|0|0,D=C&255,C<<24>>24!=0):0){if(q)if(C<<24>>24==10)ha=14;else{w=D;ha=11}else{w=A;ha=11}do if((ha|0)==11){ha=0;if((w|0)==5)w=(da(B+(t*24|0)+4|0,4,0,0)|0|0)==0?2:5;if((w|0)==3|(w|0)==1)break;else if((w|0)==2){ha=14;break}else if((w|0)==4){vh(ia,76,o+t|0,l,0)|0;break a}v=o+t|0;w=vh(ia,77,v,0,0)|0;Qq(a,da((da(r|0,4,0,0)|0|0)+(t*24|0)+4|0,4,0,0)|0|0,v);v=da(y|0,4,0,0)|0|0;if(v>>>0>w>>>0)ea((da(x|0,4,0,0)|0|0)+(w*20|0)+8|0,v|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,v+-1|0,4,0);break a}while(0);if((ha|0)==14){ha=0;w=da(p|0,4,0,0)|0|0;ea(((w|0)==0?a:w)+21>>0|0,1|0,1,0);w=2}Z=da(B+(t*24|0)|0,4,0,0)|0|0;ea(E|0,da(b|0,4,0,0)|0|0,4,0);ea(E+4|0,Z|0,4,0);Z=th(J,27824,E)|0;wh(ia,vh(ia,23,1299,w,o+t|0)|0,Z,-1);w=da(x|0,4,0,0)|0|0;if(w)ea(w+(((da(y|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0)}while(0);t=t+1|0}while((t|0)!=(u|0))}t=da(b+24|0,4,0,0)|0|0;if(((t|0)!=0?((da(J+24|0,4,0,0)|0)&8192|0)==0:0)?(ea(a+92|0,f+1|0,4,0),(da(t|0,4,0,0)|0|0)>0):0){s=t+4|0;o=ia+24|0;u=ia+32|0;w=0;q=k<<24>>24==10?2:k&255;while(1){v=ws(ia)|0;Yu(a,da((da(s|0,4,0,0)|0|0)+(w*20|0)|0,4,0,0)|0|0,v,16);if((q|0)==4){vh(ia,16,0,l,0)|0;p=4}else{r=da((da(s|0,4,0,0)|0|0)+(w*20|0)+4|0,4,0,0)|0|0;if(!r)r=da(b|0,4,0,0)|0|0;p=(q|0)==5?2:q;ys(a,275,p,r,0,3)}r=da(o|0,4,0,0)|0|0;q=~v;if((v|0)<0?(F=da(r+112|0,4,0,0)|0|0,(F|0)!=0):0)ea(F+(q<<2)|0,da(u|0,4,0,0)|0|0,4,0);ea(r+88|0,(da(u|0,4,0,0)|0|0)+-1|0,4,0);w=w+1|0;if((w|0)>=(da(t|0,4,0,0)|0|0))break;else q=p}}if(h<<24>>24!=0&(_|0)==0){s=ws(ia)|0;o=da(b+45>>0|0,1,0,0)|0|0;if(k<<24>>24==10)o=o<<24>>24==10?2:o&255;else o=k&255;if(aa?(vh(ia,79,f,s,g)|0,G=da(ia+4|0,4,0,0)|0|0,(G|0)!=0):0)ea(G+(((da(ia+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);b:do if(!((o|0)!=5|k<<24>>24==5)?(n=da(b+8|0,4,0,0)|0|0,(n|0)!=0):0){while(1){if(((da(n+50>>0|0,1,0,0)|0|0)+-3&255)<2)break;n=da(n+20|0,4,0,0)|0|0;if(!n){t=0;break b}}t=vh(ia,16,0,0,0)|0}else t=0;while(0);vh(ia,70,d,s,f)|0;c:do switch(o|0){case 4:{vh(ia,16,0,l,0)|0;o=0;break}case 3:case 2:case 1:{ha=49;break}case 5:{if(((da(J+24|0,4,0,0)|0)&262144|0)!=0?(H=it(a,b,109,0,0)|0,(H|0)!=0):0)o=H;else if(!(lt(a,b,0,0)|0)){if(!(da(b+8|0,4,0,0)|0)){o=1;break c}o=da(a+408|0,4,0,0)|0|0;ea(((o|0)==0?a:o)+20>>0|0,1|0,1,0);zt(a,b,d,e,0);o=1;break c}else o=0;Z=da(a+408|0,4,0,0)|0|0;ea(((Z|0)==0?a:Z)+20>>0|0,1|0,1,0);qt(a,b,o,d,e,f,1,0,5,1);o=1;break}default:{o=2;ha=49}}while(0);if((ha|0)==49){Et(a,o,b);o=0}r=ia+24|0;q=da(r|0,4,0,0)|0|0;p=~s;if((s|0)<0?(I=da(q+112|0,4,0,0)|0|0,(I|0)!=0):0)ea(I+(p<<2)|0,da(ia+32|0,4,0,0)|0|0,4,0);n=ia+32|0;ea(q+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);if(!t){p=0;t=0}else{p=vh(ia,16,0,0,0)|0;n=da(n|0,4,0,0)|0|0;if(n>>>0>t>>>0)ea((da(ia+4|0,4,0,0)|0|0)+(t*20|0)+8|0,n|0,4,0);ea((da(r|0,4,0,0)|0|0)+88|0,n+-1|0,4,0)}}else{p=0;t=0;o=0}w=da(b+8|0,4,0,0)|0|0;if(w){W=f+1|0;X=a+60|0;Y=a+56|0;Z=a+72|0;M=h<<24>>24==0;N=ia+24|0;O=ia+32|0;P=k<<24>>24==10;Q=ia+4|0;R=_+46|0;S=_+32|0;T=_+4|0;U=g+1|0;V=a+408|0;K=J+24|0;L=$&65535;s=k&255;r=b+36|0;q=a+92|0;A=0;n=0;v=-1;while(1){H=c+(n<<2)|0;do if(da(H|0,4,0,0)|0){if(!(A<<24>>24)){vt(ia,b,W);A=1}I=n+e|0;k=ws(ia)|0;G=w+36|0;if(da(G|0,4,0,0)|0){vh(ia,28,0,da(H|0,4,0,0)|0|0,0)|0;ea(q|0,W|0,4,0);ft(a,da(G|0,4,0,0)|0|0,k,16);ea(q|0,0|0,4,0)}J=w+48|0;B=da(J|0,2,0,0)|0|0;E=B&65535;D=da(X|0,4,0,0)|0|0;C=da(Y|0,4,0,0)|0|0;if((C|0)<(E|0)){h=da(Z|0,4,0,0)|0|0;ea(Z|0,h+E|0,4,0);h=h+1|0}else{ea(X|0,D+E|0,4,0);ea(Y|0,C-E|0,4,0);h=D}if(!(B<<16>>16))F=v;else{z=w+4|0;F=0;do{E=da((da(z|0,4,0,0)|0|0)+(F<<1)|0,2,0,0)|0|0;C=E<<16>>16;if(E<<16>>16>=0?E<<16>>16!=(da(r|0,2,0,0)|0|0):0){D=F+h|0;E=W+C|0;ha=81}else{E=F+h|0;if((v|0)!=(E|0)){D=E;v=(da(G|0,4,0,0)|0|0)==0?E:-1;E=f;ha=81}}if((ha|0)==81){ha=0;vh(ia,34,E,D,0)|0;B=da(J|0,2,0,0)|0|0}F=F+1|0;E=B&65535}while((F|0)<(E|0));F=v}vh(ia,49,h,E,da(H|0,4,0,0)|0|0)|0;ct(a,h,da(J|0,2,0,1)|0|0);G=(_|0)==(w|0);if(aa&G&M){v=da(N|0,4,0,0)|0|0;u=~k;if((k|0)<0?(ca=da(v+112|0,4,0,0)|0|0,(ca|0)!=0):0)ea(ca+(u<<2)|0,da(O|0,4,0,0)|0|0,4,0);ea(v+88|0,(da(O|0,4,0,0)|0|0)+-1|0,4,0);v=F;break}z=da(w+50>>0|0,1,0,0)|0|0;y=z&255;if(!(z<<24>>24)){v=da(J|0,2,0,1)|0|0;ct(a,h,v);if((da(Y|0,4,0,0)|0|0)<(v|0)){ea(Y|0,v|0,4,0);ea(X|0,h|0,4,0)}v=da(N|0,4,0,0)|0|0;u=~k;if((k|0)<0?(fa=da(v+112|0,4,0,0)|0|0,(fa|0)!=0):0)ea(fa+(u<<2)|0,da(O|0,4,0,0)|0|0,4,0);ea(v+88|0,(da(O|0,4,0,0)|0|0)+-1|0,4,0);v=F;break}if(P)H=z<<24>>24==10?2:y;else H=s;v=da(w+46|0,2,0,1)|0|0;wh(ia,vh(ia,67,I,k,h)|0,v,-14);do if(!G){E=da(X|0,4,0,0)|0|0;D=da(Y|0,4,0,0)|0|0;if((D|0)<($|0)){E=da(Z|0,4,0,0)|0|0;ea(Z|0,E+$|0,4,0);E=E+1|0;break}else{ea(X|0,E+$|0,4,0);ea(Y|0,D-$|0,4,0);break}}else E=h;while(0);do if(aa|(H|0)==5){if(!((da(ga>>0|0,1,0,0)|0)&32)){vh(ia,112,I,E,0)|0;if(!aa)break;vh(ia,79,E,k,g)|0;z=da(Q|0,4,0,0)|0|0;if(!z)break;ea(z+(((da(O|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);break}do if(!G){if(!(da(R|0,2,0,0)|0))break;y=w+4|0;x=0;do{B=da((da(T|0,4,0,0)|0|0)+(x<<1)|0,2,0,0)|0|0;D=da(J|0,2,0,0)|0|0;d:do if(!(D<<16>>16))D=-1;else{z=da(y|0,4,0,0)|0|0;C=D&65535;D=0;while(1){if((da(z+(D<<1)|0,2,0,0)|0|0)==B<<16>>16)break d;D=D+1|0;if((D|0)>=(C|0)){D=-1;break}}}while(0);vh(ia,47,I,D<<16>>16,x+E|0)|0;x=x+1|0}while((x|0)<(da(R|0,2,0,1)|0|0))}while(0);if(!aa)break;y=((da(w+51>>0|0,1,0,0)|0)&3)==2?h:E;D=da(R|0,2,0,0)|0|0;if(!(D<<16>>16))break;C=(D&65535)+(da(O|0,4,0,0)|0|0)|0;B=0;z=78;do{D=br(a,da((da(S|0,4,0,0)|0|0)+(B<<2)|0,4,0,0)|0|0)|0;v=(B|0)==((da(R|0,2,0,1)|0|0)+-1|0);C=v?k:C;z=v?79:z;wh(ia,vh(ia,z,U+(da((da(T|0,4,0,0)|0|0)+(B<<1)|0,2,0,0)|0|0)|0,C,B+y|0)|0,D,-4);D=da(Q|0,4,0,0)|0|0;if(D)ea(D+(((da(O|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);B=B+1|0}while((B|0)<(da(R|0,2,0,1)|0|0))}while(0);if((H|0)==3|(H|0)==2|(H|0)==1)mu(a,H,w);else if((H|0)==4)vh(ia,16,0,l,0)|0;else{v=da(V|0,4,0,0)|0|0;ea(((v|0)==0?a:v)+20>>0|0,1|0,1,0);if(!((da(K|0,4,0,0)|0)&262144))z=0;else z=it(a,b,109,0,0)|0;qt(a,b,z,d,e,E,L,0,5,G&1);o=1}D=da(N|0,4,0,0)|0|0;C=~k;do if((k|0)<0){z=da(D+112|0,4,0,0)|0|0;if(!z)break;ea(z+(C<<2)|0,da(O|0,4,0,0)|0|0,4,0)}while(0);ea(D+88|0,(da(O|0,4,0,0)|0|0)+-1|0,4,0);v=da(J|0,2,0,1)|0|0;ct(a,h,v);if((da(Y|0,4,0,0)|0|0)<(v|0)){ea(Y|0,v|0,4,0);ea(X|0,h|0,4,0)}if((E|0)==(h|0)){v=F;break}ct(a,E,$);if((da(Y|0,4,0,0)|0|0)>=($|0)){v=F;break}ea(Y|0,$|0,4,0);ea(X|0,E|0,4,0);v=F}while(0);w=da(w+20|0,4,0,0)|0|0;if(!w)break;else n=n+1|0}}if(t){vh(ia,16,0,t+1|0,0)|0;n=da(ia+32|0,4,0,0)|0|0;if(n>>>0>p>>>0)ea((da(ia+4|0,4,0,0)|0|0)+(p*20|0)+8|0,n|0,4,0);ea((da(ia+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0)}ea(m|0,o|0,4,0);i=ja;return}function yt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;V=i;i=i+32|0;if((i|0)>=(j|0))ba();M=V+20|0;K=V+16|0;I=V+12|0;J=V+8|0;T=V+4|0;S=V;O=da(a|0,4,0,0)|0|0;H=a+438|0;N=da(H>>0|0,1,0,0)|0|0;R=O+24|0;a:do if((da(R|0,4,0,0)|0)&524288){L=b+68|0;g=da(L|0,4,0,0)|0|0;b:do if(g){k=da(O+20|0,4,0,0)|0|0;if((k|0)>0){h=da(O+16|0,4,0,0)|0|0;n=0;while(1){m=n+1|0;if((da(h+(n<<4)+12|0,4,0,0)|0|0)==(g|0)){m=n;break b}if((m|0)<(k|0))n=m;else break}}else m=0}else m=-1e6;while(0);G=da((da(O+16|0,4,0,0)|0|0)+(m<<4)|0,4,0,0)|0|0;t=da(b+16|0,4,0,0)|0|0;if(!t)h=b;else{v=(e|0)==0;w=N<<24>>24==0;x=O+65|0;y=c+1|0;z=a+68|0;A=(c|0)==0;B=(d|0)==0;C=a+408|0;D=b+36|0;E=O+284|0;F=(f|0)!=0;u=t;do{ea(K|0,0|0,4,0);ea(I|0,0|0,4,0);c:do if(!v){t=da(u+8|0,4,0,0)|0|0;if(cd(da(b|0,4,0,0)|0|0,t)|0){s=da(u+20|0,4,0,0)|0|0;if((s|0)>0){h=0;do{g=da(u+(h<<3)+36|0,4,0,0)|0|0;if((da(e+(g<<2)|0,4,0,0)|0|0)>-1){U=17;break c}h=h+1|0;if((g|0)==(da(D|0,2,0,0)|0|0)&F){U=17;break c}}while((h|0)<(s|0))}}else U=17}else{t=da(u+8|0,4,0,0)|0|0;U=17}while(0);do if((U|0)==17){U=0;if(!(da(H>>0|0,1,0,0)|0))r=rh(a,0,t,G)|0;else r=Zh(O,t,G)|0;t=(r|0)==0;if(!t?(Lt(a,r,u,K,I)|0)==0:0){t=da(I|0,4,0,0)|0|0;if(!t){ea(J|0,da(u+36|0,4,0,0)|0|0,4,0);t=J}h=u+20|0;if((da(h|0,4,0,0)|0|0)>0){p=da(K|0,4,0,0)|0|0;k=(p|0)==0;n=r+36|0;o=r+4|0;p=p+4|0;g=0;q=0;do{s=t+(q<<2)|0;if((da(s|0,4,0,0)|0|0)==(da(D|0,2,0,0)|0|0))ea(s|0,-1|0,4,0);if(da(E|0,4,0,0)|0){if(k)s=n;else s=(da(p|0,4,0,0)|0|0)+(q<<1)|0;g=(dv(a,da(r|0,4,0,0)|0|0,da((da(o|0,4,0,0)|0|0)+((da(s|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0,m)|0)==2&1}q=q+1|0}while((q|0)<(da(h|0,4,0,0)|0|0));s=r}else{s=r;g=0}fs(a,m,da(r+32|0,4,0,0)|0|0,0,da(s|0,4,0,0)|0|0);ea(z|0,(da(z|0,4,0,0)|0|0)+1|0,4,0);if(!A)ev(a,m,r,da(K|0,4,0,0)|0|0,u,t,c,-1,g);d:do if(!B){s=da(C|0,4,0,0)|0|0;s=da(((s|0)==0?a:s)+528|0,4,0,0)|0|0;do if(s){s=da(s|0,4,0,0)|0|0;if((s|0)==(da(u+28|0,4,0,0)|0|0)?(da(u+25>>0|0,1,0,0)|0|0)==7:0)break d;if((s|0)!=(da(u+32|0,4,0,0)|0|0))break;if((da(u+26>>0|0,1,0,0)|0|0)==7)break d}while(0);ev(a,m,r,da(K|0,4,0,0)|0|0,u,t,d,1,g)}while(0);lg(O,da(I|0,4,0,0)|0|0);break}if(w)break a;if(da(x>>0|0,1,0,0)|0)break a;if(t){t=Nq(a)|0;s=u+20|0;h=da(s|0,4,0,0)|0|0;g=(da(t+32|0,4,0,0)|0|0)+1+h|0;if((h|0)>0){h=0;do{vh(t,76,y+(da(u+(h<<3)+36|0,4,0,0)|0|0)|0,g,0)|0;h=h+1|0}while((h|0)<(da(s|0,4,0,0)|0|0))}vh(t,134,da(u+24>>0|0,1,0,1)|0|0,-1,0)|0}}while(0);u=da(u+4|0,4,0,0)|0|0}while((u|0)!=0);h=b;g=da(L|0,4,0,0)|0|0}g=an(g+56|0,da(h|0,4,0,0)|0|0,M)|0;if((g|0)!=0?(l=da(g+8|0,4,0,0)|0|0,P=O+65|0,(l|0)!=0):0){n=(e|0)!=0;o=a+408|0;p=a+20|0;q=a+68|0;r=(d|0)==0;s=(c|0)==0;t=n&1;m=N<<24>>24==0;do{ea(T|0,0|0,4,0);ea(S|0,0|0,4,0);if(!(n?(av(b,l,e,f)|0)==0:0))U=57;do if((U|0)==57){U=0;h=l+24|0;if((((da(h>>0|0,1,0,0)|0|0)==0?((da(R|0,4,0,0)|0)&16777216|0)==0:0)?(da(o|0,4,0,0)|0|0)==0:0)?(da(p>>0|0,1,0,0)|0|0)==0:0)break;if(Lt(a,b,l,T,S)|0){if(m)break a;if(!(da(P>>0|0,1,0,0)|0))break;else break a}g=or(O,0,0,0)|0;if(g){D=da(l|0,4,0,0)|0|0;ea(g+24|0,D|0,4,0);k=g+16|0;ea(k|0,da(D|0,4,0,0)|0|0,4,0);D=D+40|0;ea(D|0,(da(D|0,2,0,0)|0|0)+1<<16>>16|0,2,0);D=da(q|0,4,0,0)|0|0;ea(q|0,D+1|0,4,0);ea(g+48|0,D|0,4,0);if(!r)fv(a,g,b,da(T|0,4,0,0)|0|0,l,da(S|0,4,0,0)|0|0,d,-1);if((!s?(Q=da(l+t+25>>0|0,1,0,0)|0|0,fv(a,g,b,da(T|0,4,0,0)|0|0,l,da(S|0,4,0,0)|0|0,c,1),(da(h>>0|0,1,0,0)|0|0)==0):0)?!(Q<<24>>24==7|Q<<24>>24==9):0){D=da(o|0,4,0,0)|0|0;ea(((D|0)==0?a:D)+21>>0|0,1|0,1,0)}ea(k|0,0|0,4,0);Co(O,g)}lg(O,da(S|0,4,0,0)|0|0)}while(0);l=da(l+12|0,4,0,0)|0|0}while((l|0)!=0)}}while(0);i=V;return}function zt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p;n=da(a+8|0,4,0,0)|0|0;g=da(b+8|0,4,0,0)|0|0;a:do if((da(b+44>>0|0,1,0,0)|0)&32){if(g){f=g;while(1){if(((da(f+51>>0|0,1,0,0)|0)&3)==2){m=5;break a}f=da(f+20|0,4,0,0)|0|0;if(!f){f=0;m=5;break}}}}else{f=0;m=5}while(0);if((m|0)==5?(g|0)!=0:0){k=(e|0)==0;l=0;h=0;b=-1;while(1){if(k){if((g|0)!=(f|0))m=10}else if(!((g|0)==(f|0)?1:(da(e+(l<<2)|0,4,0,0)|0|0)==0))m=10;if((m|0)==10){m=0;b=Ot(a,g,c,0,1,o,h,b)|0;vh(n,111,l+d|0,b,da((((da(g+51>>0|0,1,0,0)|0)&8)==0?g+48|0:g+46|0)|0,2,0,1)|0|0)|0;Pt(a,da(o|0,4,0,0)|0|0);h=g}g=da(g+20|0,4,0,0)|0|0;if(!g)break;else l=l+1|0}}i=p;return}function At(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=Nq(a)|0;n=da(b+8|0,4,0,0)|0|0;if(!n){k=b+44|0;m=0}else{o=(i|0)!=0;k=b+44|0;p=o?17:1;q=t+4|0;r=t+32|0;m=0;s=0;j=n;while(1){l=f+(s<<2)|0;n=da(l|0,4,0,0)|0|0;do if(n){if(da(j+36|0,4,0,0)|0){vh(t,76,n,(da(r|0,4,0,0)|0|0)+2|0,0)|0;n=da(l|0,4,0,0)|0|0}vh(t,110,s+d|0,n,0)|0;if(((da(j+51>>0|0,1,0,0)|0)&3)==2){n=((da(k>>0|0,1,0,0)|0)&32)!=0;if(n|o)m=n?p:16;else{m=1;break}}else if(o)m=16;else{m=1;break}n=da(q|0,4,0,0)|0|0;if(!n)m=1;else{ea(n+(((da(r|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,m|0,1,0);m=1}}while(0);j=da(j+20|0,4,0,0)|0|0;if(!j)break;else s=s+1|0}}if(!((da(k>>0|0,1,0,0)|0)&32)){l=e+1|0;k=a+19|0;j=da(k>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){f=a+72|0;n=(da(f|0,4,0,0)|0|0)+1|0;ea(f|0,n|0,4,0)}else{n=j+-1<<24>>24;ea(k>>0|0,n|0,1,0);n=da(a+((n&255)<<2)+24|0,4,0,0)|0|0}k=b+38|0;vh(t,49,l,da(k|0,2,0,0)|0|0,n)|0;if(!(m<<24>>24))vt(t,b,0);ct(a,l,da(k|0,2,0,0)|0|0);l=a+18|0;if(!(da(l>>0|0,1,0,0)|0))j=(g|0)!=0?5:3;else j=0;if(h)j=(j&255|8)&255;if(!i)k=j;else k=(j&255|16)&255;vh(t,75,c,n,e)|0;if(!(da(l>>0|0,1,0,0)|0))wh(t,-1,da(b|0,4,0,0)|0|0,0);j=da(t+4|0,4,0,0)|0|0;if(j)ea(j+(((da(t+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,k|0,1,0)}return}function Bt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;V=i;i=i+64|0;if((i|0)>=(j|0))ba();O=V+52|0;N=V+48|0;S=V+8|0;R=V;Q=V+40|0;T=V+32|0;P=V+24|0;if((((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&524288|0)!=0?(M=b+68|0,g=an((da(M|0,4,0,0)|0|0)+56|0,da(b|0,4,0,0)|0|0,V+16|0)|0,(g|0)!=0):0)?(h=da(g+8|0,4,0,0)|0|0,(h|0)!=0):0){L=(e|0)==0;E=(c|0)!=0;F=E&1;G=T+4|0;H=Q+4|0;I=b+4|0;J=P+4|0;K=E?110:109;do{if(!(!L?(av(b,h,e,f)|0)==0:0)){B=da(a|0,4,0,0)|0|0;A=da(h+F+25>>0|0,1,0,0)|0|0;C=A&255;D=h+(F<<2)+28|0;c=da(D|0,4,0,0)|0|0;do if(!(A<<24>>24==0|(c|0)!=0)){ea(O|0,0|0,4,0);ea(N|0,0|0,4,0);if(!(Lt(a,b,h,O,N)|0)){o=h+20|0;if((da(o|0,4,0,0)|0|0)>0){u=34352;t=da(u|0,4,0,0)|0|0;u=da(u+4|0,4,0,0)|0|0;w=34360;v=da(w|0,4,0,0)|0|0;w=da(w+4|0,4,0,0)|0|0;x=h+36|0;z=A<<24>>24!=6&(A<<24>>24!=9|E);y=0;l=0;g=0;k=0;do{c=S;ea(c|0,t|0,4,0);ea(c+4|0,u|0,4,0);c=R;ea(c|0,v|0,4,0);ea(c+4|0,w|0,4,0);c=da(N|0,4,0,0)|0|0;if(!c)c=x;else c=c+(y<<2)|0;n=da(c|0,4,0,0)|0|0;p=da(O|0,4,0,0)|0|0;if(!p)r=34368;else r=da((da(I|0,4,0,0)|0|0)+((da((da(p+4|0,4,0,0)|0|0)+(y<<1)|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0;ea(T|0,r|0,4,0);c=da((da((da(h|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0;ea(Q|0,c|0,4,0);if(!r)q=0;else{s=r;while(1)if(!(da(s>>0|0,1,0,0)|0))break;else s=s+1|0;q=s-r&1073741823}ea(G|0,q|0,4,0);if(!c)m=0;else{r=c;while(1)if(!(da(r>>0|0,1,0,0)|0))break;else r=r+1|0;m=r-c&1073741823}ea(H|0,m|0,4,0);s=Yq(a,27,0,0,S)|0;s=Yq(a,122,s,Yq(a,27,0,0,T)|0,0)|0;k=rs(B,k,Yq(a,79,s,Yq(a,27,0,0,Q)|0,0)|0)|0;if(E){r=Yq(a,27,0,0,S)|0;r=Yq(a,122,r,Yq(a,27,0,0,T)|0,0)|0;s=Yq(a,27,0,0,R)|0;g=rs(B,g,Yq(a,73,r,Yq(a,122,s,Yq(a,27,0,0,T)|0,0)|0,0)|0)|0}if(z){do if(A<<24>>24==9){c=Yq(a,27,0,0,R)|0;c=Yq(a,122,c,Yq(a,27,0,0,T)|0,0)|0}else if(A<<24>>24==8){c=da((da((da(h|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(n*24|0)+4|0,4,0,0)|0|0;if(!c){c=Yq(a,101,0,0,0)|0;break}else{c=Lr(B,c,0,0)|0;break}}else c=Yq(a,101,0,0,0)|0;while(0);l=kr(a,l,c)|0;lr(a,l,Q,0)}y=y+1|0}while((y|0)<(da(o|0,4,0,0)|0|0));c=h}else{c=h;l=0;g=0;k=0}lg(B,da(N|0,4,0,0)|0|0);s=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;if(!s)m=0;else{c=s;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;m=c-s&1073741823}if(A<<24>>24==6){ea(P|0,s|0,4,0);ea(J|0,m|0,4,0);c=st(B,57,34376)|0;if(c)ea(c+1>>0|0,2|0,1,0);r=kr(a,0,c)|0;r=jr(a,r,or(B,0,P,0)|0,k,0,0,0,0,0,0)|0;q=0}else{r=0;q=k}n=B+250|0;o=da(n>>0|0,1,0,0)|0|0;ea(n>>0|0,0|0,1,0);c=m+77|0;p=lh(B,c,0)|0;if(p){ew(p|0,0,c|0)|0;k=p+36|0;ea(p+28|0,k|0,4,0);A=p+76|0;ea(p+48|0,A|0,4,0);ea(p+52|0,m|0,4,0);jw(A|0,s|0,m|0)|0;ea(p+56|0,Lr(B,q,1,0)|0|0,4,0);ea(p+60|0,Or(B,l,1)|0|0,4,0);ea(p+44|0,fr(B,r,1)|0|0,4,0);if(!g){c=p;g=0}else{g=Yq(a,19,g,0,0)|0;ea(p+12|0,Lr(B,g,1,0)|0|0,4,0);c=p}}else{c=0;k=0}ea(n>>0|0,o|0,1,0);Fk(B,q);Fk(B,g);Mk(B,l);Lk(B,r,1);if((da(B+65>>0|0,1,0,0)|0|0)==1){Jk(B,c);c=0;break}if((C|0)==6)ea(k>>0|0,119|0,1,0);else if((C|0)==9?!E:0)ea(k>>0|0,109|0,1,0);else U=49;if((U|0)==49){U=0;ea(k>>0|0,110|0,1,0)}ea(k+4|0,c|0,4,0);C=da(M|0,4,0,0)|0|0;ea(p+20|0,C|0,4,0);ea(p+24|0,C|0,4,0);ea(D|0,c|0,4,0);ea(p+8>>0|0,K|0,1,0)}else c=0}while(0);if(c)cv(a,c,b,d,2,0)}h=da(h+12|0,4,0,0)|0|0}while((h|0)!=0)}i=V;return}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=da(a+46|0,2,0,0)|0|0;a:do if(c<<16>>16==(da(b+46|0,2,0,0)|0|0)?(da(a+50>>0|0,1,0,0)|0|0)==(da(b+50>>0|0,1,0,0)|0|0):0){if(c<<16>>16){d=da(b+4|0,4,0,0)|0|0;e=da(a+4|0,4,0,0)|0|0;f=b+28|0;g=a+28|0;h=b+32|0;i=a+32|0;m=0;do{if((da(d+(m<<1)|0,2,0,0)|0|0)!=(da(e+(m<<1)|0,2,0,0)|0|0)){c=0;break a}if((da((da(f|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0)!=(da((da(g|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0)){c=0;break a}j=da((da(h|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0;k=da((da(i|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0;l=(k|0)==0;if(!j){if(!l){c=0;break a}}else{if(l){c=0;break a}if(cd(j,k)|0){c=0;break a}}m=m+1|0}while((m|0)<(c&65535|0))}c=(Bu(da(b+36|0,4,0,0)|0|0,da(a+36|0,4,0,0)|0|0,-1)|0)==0&1}else c=0;while(0);return c|0}function Dt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if(!((da(c+44>>0|0,1,0,0)|0)&8))d=0;else{f=da(a+408|0,4,0,0)|0|0;f=(f|0)==0?a:f;e=f+404|0;d=da(e|0,4,0,0)|0|0;a:do if(!d)g=5;else while(1){if((da(d+4|0,4,0,0)|0|0)==(c|0))break a;d=da(d|0,4,0,0)|0|0;if(!d){g=5;break}}while(0);if((g|0)==5){d=lh(da(a|0,4,0,0)|0|0,16,0)|0;if(!d){d=0;break}ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(e|0,d|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);e=f+72|0;a=da(e|0,4,0,0)|0|0;ea(d+12|0,a+2|0,4,0);ea(e|0,a+3|0,4,0)}d=da(d+12|0,4,0,0)|0|0}while(0);return d|0}function Et(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;e=da(c+36|0,2,0,0)|0|0;f=da(a|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(e<<16>>16>-1){e=da((da(c+4|0,4,0,0)|0|0)+((e<<16>>16)*24|0)|0,4,0,0)|0|0;ea(g|0,d|0,4,0);ea(g+4|0,e|0,4,0);e=1555;d=th(f,27824,g)|0}else{ea(g|0,d|0,4,0);e=2579;d=th(f,34408,g)|0}ys(a,e,b,d,-1,2);i=h;return}function Ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a+316|0;f=da(e|0,4,0,0)|0|0;b=kr(a,f,Lr(da(a|0,4,0,0)|0|0,b,0,0)|0)|0;if(b){a=(da(b|0,4,0,0)|0|0)+-1|0;f=da(b+4|0,4,0,0)|0|0;ea(f+(a*20|0)+16|0,c|0,4,0);a=f+(a*20|0)+13|0;ea(a>>0|0,(da(a>>0|0,1,0,0)|0)&-5|d<<2&4|0,1,0)}ea(e|0,b|0,4,0);return}function Gt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=da(d|0,4,0,0)|0|0;if(!(f+-1&f)){h=_((f|0)==0?1:f<<1,c)|0;a=qo(a,b,h,((h|0)<0)<<31>>31)|0;if(!a){ea(e|0,-1|0,4,0);a=b}else g=4}else{a=b;g=4}if((g|0)==4){ew(a+(_(f,c)|0)|0,0,c|0)|0;ea(e|0,f|0,4,0);ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0)}return a|0}function Ht(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;ea(g|0,0|0,4,0);b=da(a+12|0,4,0,0)|0|0;if((b|0)!=0?(c=da(b+24|0,4,0,0)|0|0,(c|0)>0):0){ea(g|0,c|0,4,0);b=c}else b=0;c=da(a+16|0,4,0,0)|0|0;if((c|0)!=0?(d=da(c+24|0,4,0,0)|0|0,(d|0)>(b|0)):0)ea(g|0,d|0,4,0);e=a+4|0;b=a+20|0;if(!((da(e|0,4,0,0)|0)&2048)){c=da(b|0,4,0,0)|0|0;if(c){su(c,g);b=da(b|0,4,0,0)|0|0;if((b|0)!=0?(f=da(b|0,4,0,0)|0|0,(f|0)>0):0){d=da(b+4|0,4,0,0)|0|0;c=0;b=0;do{b=da((da(d+(c*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0|b;c=c+1|0}while((c|0)!=(f|0));b=b&2097408}else b=0;ea(e|0,da(e|0,4,0,0)|0|b|0,4,0)}}else Ds(da(b|0,4,0,0)|0|0,g);ea(a+24|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);i=h;return}function It(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Nq(a)|0;g=a+72|0;f=(da(g|0,4,0,0)|0|0)+1|0;ea(g|0,f|0,4,0);a=lh(da(a|0,4,0,0)|0|0,8,0)|0;if(a){g=a;ea(g|0,c|0,4,0);ea(g+4|0,d|0,4,0)}wh(e,vh(e,26,0,f,0)|0,a,-13);hq(e,1);if(!(da((da(e|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(e+16|0,4,0,0)|0|0,b,-1,1,0)|0;vh(e,35,f,1,0)|0;return}function Jt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;b=da(a|0,4,0,0)|0|0;c=b+16|0;d=da((da(c|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;do if(!d)b=0;else{if((da(b+63>>0|0,1,0,0)|0|0)!=0?(da(d+8>>0|0,1,0,0)|0|0)==0:0){Ll(d);ea((da(c|0,4,0,0)|0|0)+20|0,0|0,4,0);Dg(b);b=0;break}sh(a,32128,e);b=1}while(0);i=f;return b|0}function Kt(a){a=a|0;var b=0,c=0,d=0;if((da(a+63>>0|0,1,0,0)|0|0)!=0?(b=da(a+20|0,4,0,0)|0|0,(b|0)>0):0){d=a+24|0;c=da(a+16|0,4,0,0)|0|0;while(1){b=b+-1|0;a=da(c+4|0,4,0,0)|0|0;if(a)so(a,(da(d|0,4,0,0)|0)&28|(da(c+8>>0|0,1,0,1)|0));if((b|0)<=0)break;else c=c+16|0}}return}function Lt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;t=da(c+20|0,4,0,0)|0|0;g=da(c+40|0,4,0,0)|0|0;if((t|0)==1){o=da(b+36|0,2,0,0)|0|0;f=o<<16>>16;if(o<<16>>16>-1)if((g|0)!=0?(cd(da((da(b+4|0,4,0,0)|0|0)+(f*24|0)|0,4,0,0)|0|0,g)|0)!=0:0){r=0;u=8}else e=0;else{r=0;u=8}}else if(e){f=lh(da(a|0,4,0,0)|0|0,t<<2,0)|0;if(!f)e=1;else{ea(e|0,f|0,4,0);r=f;u=8}}else{r=0;u=8}a:do if((u|0)==8){e=da(b+8|0,4,0,0)|0|0;b:do if(e){o=(g|0)==0;q=(t|0)>0;n=b+4|0;p=(r|0)==0;c:while(1){do if((da(e+46|0,2,0,1)|0|0)==(t|0)?(da(e+50>>0|0,1,0,0)|0|0)!=0:0){if(o)if(((da(e+51>>0|0,1,0,0)|0)&3)==2){u=16;break c}else break;d:do if(q){h=da(e+4|0,4,0,0)|0|0;k=da(n|0,4,0,0)|0|0;l=da(e+32|0,4,0,0)|0|0;m=0;while(1){b=da(h+(m<<1)|0,2,0,0)|0|0;g=da(k+(b*24|0)+16|0,4,0,0)|0|0;if(cd(da(l+(m<<2)|0,4,0,0)|0|0,(g|0)!=0?g:11152)|0){g=m;break d}g=da(k+(b*24|0)|0,4,0,0)|0|0;f=0;while(1){b=f+1|0;if(!(cd(da(c+(f<<3)+40|0,4,0,0)|0|0,g)|0)){b=f;u=23;break}if((b|0)<(t|0))f=b;else break}if((u|0)==23){u=0;if(!p)ea(r+(m<<2)|0,da(c+(b<<3)+36|0,4,0,0)|0|0,4,0)}g=m+1|0;if((b|0)==(t|0)){g=m;break d}if((g|0)<(t|0))m=g;else break}}else g=0;while(0);if((g|0)==(t|0))break c}while(0);e=da(e+20|0,4,0,0)|0|0;if(!e)break b}if((u|0)==16)if(!(p|q^1)){f=0;do{ea(r+(f<<2)|0,da(c+(f<<3)+36|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(t|0))}ea(d|0,e|0,4,0);e=0;break a}while(0);if(!(da(a+438>>0|0,1,0,0)|0)){o=da(c+8|0,4,0,0)|0|0;ea(s|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,4,0);ea(s+4|0,o|0,4,0);sh(a,32008,s)}lg(da(a|0,4,0,0)|0|0,r);e=1}while(0);i=v;return e|0}function Mt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(!(da(b+12|0,4,0,0)|0)){ea(f|0,0|0,4,0);h=da(a|0,4,0,0)|0|0;e=b+4|0;b=da(e|0,4,0,0)|0|0;Yr(h,da(b+(c*24|0)+4|0,4,0,0)|0|0,da(h+62>>0|0,1,0,0)|0|0,da(b+(c*24|0)+21>>0|0,1,0,0)|0|0,f)|0;b=da(f|0,4,0,0)|0|0;if(b)wh(a,-1,b,-8);if((da((da(e|0,4,0,0)|0|0)+(c*24|0)+21>>0|0,1,0,0)|0|0)==69)vh(a,39,d,0,0)|0}i=g;return}function Nt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=0;else{d=b;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-b&1073741823}d=Rh(a,b,d,2,1,0)|0;if(d){d=d+2|0;ea(d|0,da(d|0,2,0,1)|0|c&255|0,2,0)}return}function Ot(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=da(a+8|0,4,0,0)|0|0;o=da(b+12|0,4,0,0)|0|0;do if(f){i=b+36|0;if(!(da(i|0,4,0,0)|0)){ea(f|0,0|0,4,0);break}else{ea(f|0,ws(n)|0|0,4,0);ea(a+96|0,c|0,4,0);m=a+100|0;ea(m|0,(da(m|0,4,0,0)|0|0)+1|0,4,0);ft(a,da(i|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0,16);break}}while(0);if((e|0)!=0?((da(b+51>>0|0,1,0,0)|0)&8)!=0:0)i=b+46|0;else i=b+48|0;i=da(i|0,2,0,0)|0|0;k=i&65535;l=a+60|0;e=da(l|0,4,0,0)|0|0;m=a+56|0;f=da(m|0,4,0,0)|0|0;if((f|0)<(k|0)){e=a+72|0;j=da(e|0,4,0,0)|0|0;ea(e|0,j+k|0,4,0);j=j+1|0}else{ea(l|0,e+k|0,4,0);ea(m|0,f-k|0,4,0);j=e}do if(!g)e=0;else{if((j|0)==(h|0)?(da(g+36|0,4,0,0)|0|0)==0:0){e=g;break}e=0}while(0);if(i<<16>>16){g=(e|0)==0;h=b+4|0;f=e+4|0;i=0;do{if(!g){e=da((da(h|0,4,0,0)|0|0)+(i<<1)|0,2,0,0)|0|0;if((da((da(f|0,4,0,0)|0|0)+(i<<1)|0,2,0,0)|0|0)!=e<<16>>16)p=21}else{e=da((da(h|0,4,0,0)|0|0)+(i<<1)|0,2,0,0)|0|0;p=21}if((p|0)==21){p=0;mt(n,o,c,e<<16>>16,i+j|0);Oq(n,39)|0}i=i+1|0}while((i|0)<(k|0))}if(d)vh(n,49,j,k,d)|0;ct(a,j,k);if((da(m|0,4,0,0)|0|0)<(k|0)){ea(m|0,k|0,4,0);ea(l|0,j|0,4,0)}return j|0}function Pt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(b){c=da(a+8|0,4,0,0)|0|0;d=da(c+24|0,4,0,0)|0|0;e=~b;if((b|0)<0?(f=da(d+112|0,4,0,0)|0|0,(f|0)!=0):0)ea(f+(e<<2)|0,da(c+32|0,4,0,0)|0|0,4,0);ea(d+88|0,(da(c+32|0,4,0,0)|0|0)+-1|0,4,0);au(a)}return}function Qt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=da(b+16|0,4,0,0)|0|0;a:do if((c|0)!=0?(d=da(b+64|0,4,0,0)|0|0,(d|0)!=0):0){c=da(c+8|0,4,0,0)|0|0;b:do if(c){while(1){if(!(cd(da(c|0,4,0,0)|0|0,d)|0))break;c=da(c+20|0,4,0,0)|0|0;if(!c)break b}ea(b+68|0,c|0,4,0);c=0;break a}while(0);ea(e|0,d|0,4,0);ea(e+4|0,0|0,4,0);sh(a,28104,e);ea(a+17>>0|0,1|0,1,0);c=1}else c=0;while(0);i=f;return c|0}function Rt(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=St(a,b)|0;if(b&1){d=Rt(da(a+12|0,4,0,0)|0|0,b)|0;return d+c+(Rt(da(a+16|0,4,0,0)|0|0,b)|0)|0}}else c=0;return c|0}
function Sn(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+160|0;if((i|0)>=(j|0))ba();K=Y+16|0;G=Y+152|0;I=Y+48|0;F=Y+40|0;J=Y+36|0;H=Y+32|0;M=Y+8|0;N=Y;S=Y+28|0;W=Y+24|0;ea(W|0,0|0,4,0);do if(!(da(a+46>>0|0,1,0,0)|0)){X=a+43|0;if((da(X>>0|0,1,0,0)|0|0)==0?(l=da(a+4|0,4,0,0)|0|0,l=oc[(fa(da((da(l|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](l,1,1,10)|0,(l|0)!=0):0)break;V=a+45|0;ea(V>>0|0,1|0,1,0);a:do if(!b){p=0;T=11}else{n=a+4|0;l=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;p=da(n|0,4,0,0)|0|0;p=oc[(fa(da((da(p|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](p,0,1,10)|0;if(!(l&(p|0)==5)){T=9;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){p=0;c=0;T=11;break a}}if((T|0)==9)if((p|0)==5){p=0;c=0;T=11;break}else if(p){U=b;break}ea(a+44>>0|0,1|0,1,0);p=b;T=11}while(0);if((T|0)==11){U=p;p=mq(a,W)|0}do if(!p){R=a+68|0;p=da(a+66|0,2,0,0)|0|0;if((da(R|0,4,0,0)|0|0)!=0?(Q=p&65535,(Q<<16&65536|Q&65024|0)!=(f|0)):0){ea(K|0,51863|0,4,0);ea(K+4|0,10788|0,4,0);ad(11,13600,K);m=11;break}O=p&65535;O=O<<16&65536|O&65024;Q=a+32|0;P=(da(da(Q|0,4,0,0)|0|0,4,0,0)|0|0)+96|0;B=da(R|0,4,0,0)|0|0;b:do if((da(P|0,4,0,0)|0|0)>>>0<B>>>0){D=(B+33|0)>>>12;E=D+1|0;f=B<<1;r=f+28+(D*20|0)|0;l=Sc(r)|0;c:do if(!l){p=7;l=0}else{ew(l|0,0,r|0)|0;A=l+4|0;ea(A|0,E|0,4,0);s=Sc(B>>>0>4096?8192:f)|0;do if(s){r=l+8|0;f=0;while(1){p=Oo(a,f,F,H,J)|0;if(p){T=21;break}y=(da(H|0,4,0,0)|0|0)+4|0;ea(H|0,y|0,4,0);if((f|0)==(D|0)){z=da(J|0,4,0,0)|0|0;p=z;z=B-z|0}else{p=da(J|0,4,0,0)|0|0;z=(da(F|0,4,0,0)|0|0)-y>>2}n=r+((da(A|0,4,0,0)|0|0)*20|0)|0;x=n+(p<<1)|0;q=p+1|0;ea(J|0,q|0,4,0);if((z|0)>0){u=0;do{ea(n+(u+p<<1)|0,u|0,2,0);u=u+1|0}while((u|0)!=(z|0));ea(K|0,0|0,4,0);ea(G|0,0|0,4,0);v=I+0|0;u=v+104|0;do{ea(v|0,0|0,4,0);v=v+4|0}while((v|0)<(u|0));w=0;do{ea(K|0,1|0,4,0);v=n+(w+p<<1)|0;ea(G|0,v|0,4,0);if(!(w&1)){t=1;u=0}else{u=0;do{nq(y,da(I+(u<<3)+4|0,4,0,0)|0|0,da(I+(u<<3)|0,4,0,0)|0|0,G,K,s);u=u+1|0}while((1<<u&w|0)!=0);t=da(K|0,4,0,0)|0|0;v=da(G|0,4,0,0)|0|0}ea(I+(u<<3)+4|0,v|0,4,0);ea(I+(u<<3)|0,t|0,4,0);w=w+1|0}while((w|0)!=(z|0));u=u+1|0;if((u|0)<13)T=34}else{ea(K|0,0|0,4,0);ea(G|0,0|0,4,0);v=I+0|0;u=v+104|0;do{ea(v|0,0|0,4,0);v=v+4|0}while((v|0)<(u|0));u=1;T=34}if((T|0)==34){while(1){T=0;if(1<<u&z)nq(y,da(I+(u<<3)+4|0,4,0,0)|0|0,da(I+(u<<3)|0,4,0,0)|0|0,G,K,s);u=u+1|0;if((u|0)==13)break;else T=34}t=da(K|0,4,0,0)|0|0}ea(r+(f*20|0)+16|0,q|0,4,0);ea(r+(f*20|0)+12|0,t|0,4,0);ea(r+(f*20|0)+4|0,x|0,4,0);ea(r+(f*20|0)+8|0,y|0,4,0);f=f+1|0;if((f|0)>=(E|0)){T=39;break}}if((T|0)==21){Vc(s);break}else if((T|0)==39){Vc(s);p=0;break c}}else{Vc(0);p=7}while(0);Vc(l)}while(0);if(!p){K=a+72|0;J=da(K|0,4,0,0)|0|0;I=a+4|0;t=1;s=da(R|0,4,0,0)|0|0;p=0;while(1){f=P+(t<<2)+4|0;n=da(f|0,4,0,0)|0|0;d:do if(s>>>0>n>>>0){r=t+3|0;q=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;p=da(I|0,4,0,0)|0|0;p=oc[(fa(da((da(p|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](p,r,1,10)|0;if(!(q&(p|0)==5)){T=49;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){c=0;p=5;break d}}if((T|0)==49){T=0;if((p|0)==5){c=0;p=5;break}else if(p){m=p;T=100;break b}}ea(f|0,((t|0)==1?s:-1)|0,4,0);if(!(da(X>>0|0,1,0,0)|0)){n=da(I|0,4,0,0)|0|0;oc[(fa(da((da(n|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](n,r,1,9)|0;n=s;p=0}else{n=s;p=0}}else n=s;while(0);t=t+1|0;if((t|0)>=5){E=n;break}else s=n}e:do if((da(P|0,4,0,0)|0|0)>>>0<E>>>0){p=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;n=da(I|0,4,0,0)|0|0;n=oc[(fa(da((da(n|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](n,3,1,10)|0;if(!(p&(n|0)==5)){o=n;T=58;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){o=5;break e}}if((T|0)==58?(o|0)!=0:0)break;A=da(P|0,4,0,0)|0|0;B=(e|0)!=0;if(B?(L=da(a+8|0,4,0,0)|0|0,L=qc[(fa(da((da(L|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](L,e)|0,(L|0)!=0):0)o=L;else T=61;f:do if((T|0)==61){L=rw(J|0,0,O|0,0)|0;o=N;ea(o|0,L|0,4,0);ea(o+4|0,C|0,4,0);o=da(I|0,4,0,0)|0|0;o=qc[(fa(da((da(o|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](o,M)|0;if(!o){p=M;L=da(p+4|0,4,0,0)|0|0;o=N;M=da(o+4|0,4,0,0)|0|0;if((L|0)<(M|0)|((L|0)==(M|0)?(da(p|0,4,0,0)|0|0)>>>0<(da(o|0,4,0,0)|0|0)>>>0:0)){M=da(I|0,4,0,0)|0|0;$b[(fa(da((da(M|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](M,5,N)|0}x=l+4|0;y=O|24;z=a+8|0;p=da(x|0,4,0,0)|0|0;g:do if((p|0)>0){o=0;while(1){w=da(l|0,4,0,0)|0|0;v=-1;h:while(1){i:while(1){p=p+-1|0;t=l+(p*20|0)+8|0;f=da(t|0,4,0,0)|0|0;n=da(l+(p*20|0)+20|0,4,0,0)|0|0;j:do if((f|0)<(n|0)){s=da(l+(p*20|0)+12|0,4,0,0)|0|0;u=da(l+(p*20|0)+16|0,4,0,0)|0|0;while(1){q=da(s+(f<<1)|0,2,0,1)|0|0;r=da(u+(q<<2)|0,4,0,0)|0|0;if(r>>>0>w>>>0)break;f=f+1|0;ea(t|0,f|0,4,0);if((f|0)>=(n|0))break j}if(r>>>0<v>>>0)break i}while(0);if((p|0)<=0){f=o;p=v;break h}}o=(da(l+(p*20|0)+24|0,4,0,0)|0|0)+q|0;if((p|0)>0)v=r;else{f=o;p=r;break}}ea(l|0,p|0,4,0);if((p|0)==-1)break g;if(!(f>>>0<=A>>>0|f>>>0>E>>>0|p>>>0>J>>>0)){o=rw(f+-1|0,0,y|0,0)|0;o=iw(o|0,C|0,56,0)|0;N=da(z|0,4,0,0)|0|0;o=sc[(fa(da((da(N|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](N,g,O,o,C)|0;if(o)break f;o=rw(p+-1|0,0,O|0,0)|0;N=da(I|0,4,0,0)|0|0;o=sc[(fa(da((da(N|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](N,g,O,o,C)|0;if(o)break f}p=da(x|0,4,0,0)|0|0;if((p|0)<=0){T=66;break}else o=f}}else T=66;while(0);if((T|0)==66)ea(l|0,-1|0,4,0);if((E|0)==(da((da(da(Q|0,4,0,0)|0|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)){o=rw(da(K|0,4,0,0)|0|0,0,O|0,0)|0;T=da(I|0,4,0,0)|0|0;o=$b[(fa(da((da(T|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](T,o,C)|0;if((o|0)==0&B){o=da(I|0,4,0,0)|0|0;o=qc[(fa(da((da(o|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](o,e)|0}if(o)break}ea(P|0,E|0,4,0);o=0}}while(0);if(!(da(X>>0|0,1,0,0)|0)){T=da(I|0,4,0,0)|0|0;oc[(fa(da((da(T|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](T,3,1,9)|0}}else o=p;while(0);o=(o|0)==5?0:o;T=88}else m=p}else{l=0;o=0;T=88}while(0);k:do if((T|0)==88)if((o|0)==0&(U|0)!=0)if((da(P|0,4,0,0)|0|0)>>>0>=(da(R|0,4,0,0)|0|0)>>>0)if((U|0)>1){bd(4,S);p=a+4|0;n=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;o=da(p|0,4,0,0)|0|0;o=oc[(fa(da((da(o|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](o,4,4,10)|0;if(!(n&(o|0)==5)){m=o;T=95;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){m=5;T=100;break k}}if((T|0)==95?(m|0)!=0:0){T=100;break}if((U|0)==3){Wo(a,da(S|0,4,0,0)|0|0);m=da(a+8|0,4,0,0)|0|0;m=$b[(fa(da((da(m|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](m,0,0)|0}else m=0;if(!(da(X>>0|0,1,0,0)|0)){T=da(p|0,4,0,0)|0|0;oc[(fa(da((da(T|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](T,4,4,9)|0;T=100}else T=100}else{m=0;T=100}else{m=5;T=100}else{m=o;T=100}while(0);if((T|0)==100)Vc(l);if((m|0)==0|(m|0)==5){if(h)ea(h|0,da(R|0,4,0,0)|0|0,4,0);if(k)ea(k|0,da((da(da(Q|0,4,0,0)|0|0,4,0,0)|0|0)+96|0,4,0,0)|0|0,4,0)}}else m=p;while(0);if(da(W|0,4,0,0)|0){v=a+52|0;u=v+48|0;do{ea(v|0,0|0,4,0);v=v+4|0}while((v|0)<(u|0))}l=a+44|0;if(da(l>>0|0,1,0,0)|0){if(!(da(X>>0|0,1,0,0)|0)){W=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(W|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](W,0,1,9)|0}ea(l>>0|0,0|0,1,0);ea(a+47>>0|0,0|0,1,0)}if(!(da(X>>0|0,1,0,0)|0)){X=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(X|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](X,1,1,9)|0}ea(V>>0|0,0|0,1,0);l=(m|0)!=0|(U|0)==(b|0)?m:5}else l=8;while(0);i=Y;return l|0}function Tn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=(b|0)<(d|0)?b:d;f=Yv(c,e,g)|0;a:do if(!f){b:do if(a){f=b-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((da(c+(f+g)>>0|0,1,0,0)|0|0)!=32)break b}if(!f){f=d-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((da(e+(f+g)>>0|0,1,0,0)|0|0)!=32)break b}if(!f){f=0;break a}}}while(0);f=b-d|0}while(0);return f|0}function Un(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Ec(c,e,(b|0)<(d|0)?b:d)|0;return ((a|0)==0?b-d|0:a)|0}function Vn(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();u=w;n=da(c|0,4,0,0)|0|0;a:do if(b){l=b;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;m=l-b&1073741823;if((da(2189*4|0,4,0,0)|0|n&64|0)!=0&m>>>0>4?(Yv(b,14984,5)|0)==0:0){l=m+2|0;k=n|64;if(m){n=0;do{l=((da(b+n>>0|0,1,0,0)|0|0)==38&1)+l|0;n=n+1|0}while((n|0)<(m|0))}h=Sc(l)|0;if(h){do if((da(b+5>>0|0,1,0,0)|0|0)==47?(da(b+6>>0|0,1,0,0)|0|0)==47:0){l=7;while(1){q=da(b+l>>0|0,1,0,0)|0|0;if(q<<24>>24==0|q<<24>>24==47)break;l=l+1|0}if((l|0)==7){l=0;n=7;g=0;break}else if((l|0)==16){g=b+7|0;if(!(Yv(14992,g,9)|0)){l=0;n=16;g=0;break}}else g=b+7|0;ea(u|0,l+-7|0,4,0);ea(u+4|0,g|0,4,0);ea(f|0,Zc(15008,u)|0|0,4,0);g=1;v=74;break a}else{l=0;n=5;g=0}while(0);b:while(1){s=h+(g+-1)|0;c:while(1){d:while(1){m=da(b+n>>0|0,1,0,0)|0|0;if(m<<24>>24==35|m<<24>>24==0)break b;o=n+1|0;if((m<<24>>24==37?(t=da(b+o>>0|0,1,0,0)|0|0,((da(10368+(t&255)>>0|0,1,0,0)|0)&8)!=0):0)?(r=da(b+(n+2)>>0|0,1,0,0)|0|0,((da(10368+(r&255)>>0|0,1,0,0)|0)&8)!=0):0){m=t;o=r;break}if(!l){n=o;v=38;break c}else if((l|0)==2){n=o;v=39;break c}else if((l|0)!=1){n=o;break c}if(!(m<<24>>24==38|m<<24>>24==61)){l=1;n=o;break c}if(!(da(s>>0|0,1,0,0)|0))n=o;else{n=o;v=36;break c}while(1){q=da(b+n>>0|0,1,0,0)|0|0;if(q<<24>>24==35|q<<24>>24==0)continue d;if((da(b+(n+-1)>>0|0,1,0,0)|0|0)==38)continue d;else n=n+1|0}}m=m<<24>>24;n=n+3|0;q=o<<24>>24;m=(0-(q>>>6&1)&9)+q&15|(0-(m>>>6&1)&9)+m<<4&240;if(m){v=30;break}o=(l|0)==0;while(1){m=da(b+n>>0|0,1,0,0)|0|0;if(m<<24>>24==35|m<<24>>24==0)continue c;if(o&m<<24>>24==63){l=0;continue c}if((l|0)==1){if(m<<24>>24==38|m<<24>>24==61){l=1;continue c}}else if((l|0)==2?m<<24>>24==38:0){l=2;continue c}n=n+1|0}}if((v|0)==30){v=0;m=m&255}else if((v|0)==36){v=0;if(m<<24>>24==38){ea(h+g>>0|0,0|0,1,0);m=0;l=1;g=g+1|0}else{m=0;l=2}}else if((v|0)==38){v=0;if(m<<24>>24==63)v=40;else l=0}else if((v|0)==39){v=0;if(m<<24>>24==38)v=40;else l=2}if((v|0)==40){v=0;m=0;l=1}ea(h+g>>0|0,m|0,1,0);g=g+1|0}if((l|0)==1){ea(h+g>>0|0,0|0,1,0);g=g+1|0}ea(h+g>>0|0,0|0,1,0);ea(h+(g+1)>>0|0,0|0,1,0);g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=(g-h&1073741823)+1|0;l=da(h+g>>0|0,1,0,0)|0|0;if(l<<24>>24){t=h+g|0;e:while(1){m=t;while(1){g=m+1|0;if(!(l<<24>>24)){l=m;break}l=da(g>>0|0,1,0,0)|0|0;m=g}s=l-t&1073741823;l=t+(s+1)|0;m=l;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;r=m-l&1073741823;if((s|0)==3){g=(Yv(15040,t,3)|0)==0;g=g?l:a}else if((s|0)==5)if(!(Yv(15048,t,5)|0)){b=15056;p=393216;q=-393217;g=15048;v=58}else g=a;else if((s|0)==4?(Yv(15096,t,4)|0)==0:0){b=15104;p=k&135;q=-136;g=15176;v=58}else g=a;if((v|0)==58){v=0;n=da(b|0,4,0,0)|0|0;if(!n){v=65;break}else m=0;while(1){o=n;while(1)if(!(da(o>>0|0,1,0,0)|0))break;else o=o+1|0;if((r|0)==(o-n&1073741823|0)?(Yv(l,n,r)|0)==0:0){n=m;break}m=m+1|0;n=da(b+(m<<3)|0,4,0,0)|0|0;if(!n){v=65;break e}}n=da(b+(n<<3)+4|0,4,0,0)|0|0;if(!n){v=65;break}if((n&-129|0)>(p|0)){v=67;break}k=n|q&k;g=a}t=t+(s+2+r)|0;l=da(t>>0|0,1,0,0)|0|0;if(!(l<<24>>24)){v=72;break a}else a=g}if((v|0)==65){ea(u|0,g|0,4,0);ea(u+4|0,l|0,4,0);ea(f|0,Zc(15184,u)|0|0,4,0);g=1;v=74;break}else if((v|0)==67){ea(u|0,g|0,4,0);ea(u+4|0,l|0,4,0);ea(f|0,Zc(15208,u)|0|0,4,0);g=3;v=74;break}}else{g=a;v=72}}else g=7}else{k=m;v=70}}else{k=0;v=70}while(0);if((v|0)==70){h=Sc(k+2|0)|0;if(!h)g=7;else{jw(h|0,b|0,k|0)|0;ea(h+k>>0|0,0|0,1,0);ea(h+(k+1)>>0|0,0|0,1,0);k=n&-65;g=a;v=72}}if((v|0)==72){q=Jc(g)|0;ea(d|0,q|0,4,0);if(!q){ea(u|0,g|0,4,0);ea(f|0,Zc(15232,u)|0|0,4,0);g=1;v=74}else{g=0;v=75}}if((v|0)==74){Vc(h);h=0;v=75}if((v|0)==75){ea(c|0,k|0,4,0);ea(e|0,h|0,4,0)}i=w;return g|0}function Wn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!b){b=pg(84,0)|0;if(!b)c=8;else{a=b+0|0;e=a+84|0;do{ea(a>>0|0,0|0,1,0);a=a+1|0}while((a|0)<(e|0));c=9}}else{d=da(b+4|0,4,0,0)|0|0;ea(d+4|0,da(b|0,4,0,0)|0|0,4,0);c=d+48|0;b=da(c|0,4,0,0)|0|0;if(!b){b=pg(84,0)|0;if(!b){ea(c|0,0|0,4,0);ea(d+52|0,22|0,4,0);c=8;break}else{a=b+0|0;e=a+84|0;do{ea(a>>0|0,0|0,1,0);a=a+1|0}while((a|0)<(e|0));ea(c|0,b|0,4,0);ea(d+52|0,22|0,4,0);c=9;break}}else c=9}while(0);if((c|0)==8){ea(a+65>>0|0,1|0,1,0);b=0}else if((c|0)==9)if(!(da(b+76>>0|0,1,0,0)|0)){c=b+77|0;a=b+8|0;e=a+64|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(e|0));ea(c>>0|0,1|0,1,0)}return b|0}function Xn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();if(c){g=a+428|0;f=an(g,c,k)|0;if(!f)e=0;else e=da(f+8|0,4,0,0)|0|0;if((e|0)==0&(d|0)!=0){f=c;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=f-c&1073741823;d=f+61|0;e=lh(a,d,0)|0;if(e){ew(e|0,0,d|0)|0;d=e+60|0;ea(e|0,d|0,4,0);ea(e+4>>0|0,1|0,1,0);ea(e+20|0,d|0,4,0);ea(e+24>>0|0,2|0,1,0);ea(e+40|0,d|0,4,0);ea(e+44>>0|0,3|0,1,0);jw(d|0,c|0,f|0)|0;ea(e+(f+60)>>0|0,0|0,1,0);f=Hk(g,da(e|0,4,0,0)|0|0,e)|0;if(!f)h=10;else{ea(a+65>>0|0,1|0,1,0);lg(a,f);e=0}}else e=0}else h=10}else{e=da(a+8|0,4,0,0)|0|0;h=10}if((h|0)==10)if(!e)e=0;else e=e+(((b&255)+-1|0)*20|0)|0;i=k;return e|0}function Yn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+64|0;if((i|0)>=(j|0))ba();r=v;f=v+48|0;l=v+24|0;p=v+8|0;g=(b|0)==1;n=g?13184:13208;ea(f|0,n|0,4,0);ea(f+4|0,13224|0,4,0);ea(f+8|0,(g?13064:12960)|0,4,0);ea(f+12|0,0|0,4,0);ea(p|0,a|0,4,0);ea(p+8|0,b|0,4,0);q=p+12|0;ea(q|0,0|0,4,0);ea(p+4|0,c|0,4,0);_m(p,3,f,0)|0;f=da(q|0,4,0,0)|0|0;a:do if(!f){s=a+16|0;f=Zh(a,n,da((da(s|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0)|0;if(f){o=f+44|0;ea(o>>0|0,da(o>>0|0,1,0,1)|0|1|0,1,0)}e=da(s|0,4,0,0)|0|0;t=e+(b<<4)+4|0;f=da(t|0,4,0,0)|0|0;if(!f){if(!g){d=0;break}d=(da(e+28|0,4,0,0)|0|0)+78|0;ea(d|0,da(d|0,2,0,1)|0|1|0,2,0);d=0;break}ea((da(f+4|0,4,0,0)|0|0)+4|0,da(f|0,4,0,0)|0|0,4,0);do if(!(da(f+8>>0|0,1,0,0)|0)){f=xg(f,0)|0;if((f|0)==516)d=16344;else if(!f){f=da(t|0,4,0,0)|0|0;o=1;break}else u=10;if((u|0)==10){d=f&255;if(d>>>0>26|(d|0)==2)d=16328;else d=da(15488+(d<<2)|0,4,0,0)|0|0}ea(r|0,d|0,4,0);ch(c,a,10344,r);d=f;u=38;break a}else o=0;while(0);vm(f,1,l);m=l+4|0;vm(da(t|0,4,0,0)|0|0,2,m);h=l+8|0;vm(da(t|0,4,0,0)|0|0,3,h);vm(da(t|0,4,0,0)|0|0,4,l+12|0);g=l+16|0;vm(da(t|0,4,0,0)|0|0,5,g);k=e+(b<<4)+12|0;f=da(k|0,4,0,0)|0|0;ea(f|0,da(l|0,4,0,0)|0|0,4,0);e=da(g|0,4,0,0)|0|0;do if(e){if(!b){g=e&3;g=(g|0)==0?1:g&255;ea(a+62>>0|0,g|0,1,0);u=19;break}g=da(a+62>>0|0,1,0,0)|0|0;if((e|0)==(g&255|0))u=19;else{ch(c,a,13232,r);d=1}}else{g=(da((da(s|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0)+78|0;ea(g|0,da(g|0,2,0,1)|0|4|0,2,0);g=da(a+62>>0|0,1,0,0)|0|0;u=19}while(0);do if((u|0)==19){ea(f+77>>0|0,g|0,1,0);g=f+80|0;if(!(da(g|0,4,0,0)|0)){f=da(h|0,4,0,0)|0|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0;f=(f|0)==0?2e3:f;ea(g|0,f|0,4,0);oq(da(t|0,4,0,0)|0|0,f);f=da(k|0,4,0,0)|0|0}e=da(m|0,4,0,0)|0|0;g=e&255;f=f+76|0;if(g<<24>>24){ea(f>>0|0,g|0,1,0);if((g&255)>4){ch(c,a,13304,r);d=1;break}}else ea(f>>0|0,1|0,1,0);if((b|0)==0&(e|0)>3){m=a+24|0;ea(m|0,(da(m|0,4,0,0)|0)&-32769|0,4,0)}ea(r|0,da((da(s|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0,4,0);ea(r+4|0,n|0,4,0);e=th(a,13328,r)|0;m=a+284|0;n=da(m|0,4,0,0)|0|0;ea(m|0,0|0,4,0);f=Pe(a,e,22,p,0)|0;ea(m|0,n|0,4,0);f=(f|0)==0?da(q|0,4,0,0)|0|0:f;lg(a,e);e=(f|0)==0;if(e)$m(a,b)|0;if(!(da(a+65>>0|0,1,0,0)|0)){if(!e){d=f;u=34}}else{Dg(a);d=7;u=34}if((u|0)==34?((da(a+24|0,4,0,0)|0)&65536|0)==0:0)break;d=(da((da(s|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0)+78|0;ea(d|0,da(d|0,2,0,1)|0|1|0,2,0);d=0}while(0);if(!o)u=38;else{tn(da(t|0,4,0,0)|0|0)|0;u=38}}else{d=f;u=38}while(0);if((u|0)==38)if((d|0)==7|(d|0)==3082)ea(a+65>>0|0,1|0,1,0);i=v;return d|0}function Zn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+80|0;if((i|0)>=(j|0))ba();k=l;ea(12066*4|0,da(2708*4|0,4,0,0)|0|0,4,0);if(!(da(12067*4|0,4,0,0)|0))ea(12067*4|0,Kb(48336)|0|0,4,0);if(!(da(12068*4|0,4,0,0)|0))ea(12068*4|0,Kb(48352)|0|0,4,0);d=k+12|0;e=0;c=0;do{if((((c|0)!=0?(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](c,k)|0)==0:0)?((da(d|0,4,0,0)|0)&61440|0)==16384:0)?(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](c,7)|0)==0:0)break;c=da(48264+(e<<2)|0,4,0,0)|0|0;e=e+1|0}while(e>>>0<7);h=(c|0)==0?28928:c;if(((fw(h|0)|0)+25|0)>>>0<a>>>0){a=a+-18|0;do{ea(k|0,h|0,4,0);$c(a,b,48248,k)|0;d=fw(b|0)|0;c=b+d|0;bd(15,c);g=b+(d+15)|0;f=0;e=d;while(1){ea(c>>0|0,da(48184+(((da(c>>0|0,1,0,1)|0|0)%62|0)&255)>>0|0,1,0,0)|0|0|0,1,0);f=f+1|0;e=e+1|0;if((f|0)==15)break;else c=b+e|0}ea(g>>0|0,0|0,1,0);ea(b+(d+16)>>0|0,0|0,1,0)}while((qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](b,0)|0)==0);c=0}else c=1;i=l;return c|0}function _n(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+80|0;if((i|0)>=(j|0))ba();h=l;g=(c|0)!=0;e=g?c:420;f=b|524288;while(1){d=$b[(fa(da(47552+4|0,4,0,0)|0|0,63|0)|0)&63](a,f,e)|0;if((d|0)<0)if((da(Gb()|0|0,4,0,0)|0|0)==4)continue;else break;if((d|0)>2){k=6;break}kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](d)|0;ea(h|0,a|0,4,0);ea(h+4|0,d|0,4,0);ad(28,48120,h);if(($b[(fa(da(47552+4|0,4,0,0)|0|0,63|0)|0)&63](48168,b,c)|0)<0){d=-1;break}}if((k|0)==6)if(((g?(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](d,h)|0)==0:0)?(da(h+36|0,4,0,0)|0|0)==0:0)?((da(h+12|0,4,0,0)|0)&511|0)!=(c|0):0)qc[(fa(da(47552+172|0,4,0,0)|0|0,127|0)|0)&127](d,c)|0;i=l;return d|0}function $n(a,b,c){a=a|0;b=b|0;c=c|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](b)|0){if(!a)b=0;else b=da(a+32|0,4,0,0)|0|0;bo(4106,47856,b,c)|0}return}function ao(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+80|0;if((i|0)>=(j|0))ba();d=e;b=e+4|0;c=a+18|0;do if(!((da(c|0,2,0,0)|0)&256)){if(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,b)|0){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48592,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}b=da(b+16|0,4,0,0)|0|0;if(!b){if(!((da(c|0,2,0,0)|0)&32)){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48616,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}}else if(b>>>0>1){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48648,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}if(wo(a)|0){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48680,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0)}}while(0);i=e;return}function bo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+32|0;if((i|0)>=(j|0))ba();f=e;h=da(Gb()|0|0,4,0,0)|0|0;g=Qb(h|0)|0;ea(f|0,d|0,4,0);ea(f+4|0,h|0,4,0);ea(f+8|0,b|0,4,0);ea(f+12|0,((c|0)==0?10360:c)|0,4,0);ea(f+16|0,g|0,4,0);ad(a,47864,f);i=e;return a|0}function co(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+40|0;c=da(h|0,4,0,0)|0|0;g=c<<1;g=g>>>0<256?256:g;if((c|0)!=0?(b=da(3164*4|0,4,0,0)|0|0,(b|0)!=0):0)mc[(fa(b|0,3|0)|0)&3]();b=g<<2;f=pg(b,0)|0;c=(f|0)==0;if(!c)ew(f|0,0,b|0)|0;if((da(h|0,4,0,0)|0|0)!=0?(d=da(3166*4|0,4,0,0)|0|0,(d|0)!=0):0)mc[(fa(d|0,3|0)|0)&3]();if(!c){d=da(h|0,4,0,0)|0|0;e=a+44|0;b=da(e|0,4,0,0)|0|0;if(d){a=0;do{c=da(b+(a<<2)|0,4,0,0)|0|0;if(c){do{j=c+16|0;b=c;c=da(j|0,4,0,0)|0|0;i=f+((((da(b+8|0,4,0,0)|0|0)>>>0)%(g>>>0)|0)<<2)|0;ea(j|0,da(i|0,4,0,0)|0|0,4,0);ea(i|0,b|0,4,0)}while((c|0)!=0);b=da(e|0,4,0,0)|0|0}a=a+1|0}while(a>>>0<d>>>0)}Vc(b);ea(e|0,f|0,4,0);ea(h|0,g|0,4,0)}return}function eo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=a+24|0;g=a+16|0;c=a+4|0;a:do if((da(g|0,4,0,0)|0|0)>>>0>(da(c|0,4,0,0)|0|0)>>>0)do{d=da(f|0,4,0,0)|0|0;if(!d)break a;fo(d);e=da(d+20|0,4,0,0)|0|0;b=(da(e+44|0,4,0,0)|0|0)+((((da(d+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){h=da(b|0,4,0,0)|0|0;a=h+16|0;if((h|0)==(d|0))break;else b=a}ea(b|0,da(a|0,4,0,0)|0|0,4,0);a=e+36|0;ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0);ho(d)}while((da(g|0,4,0,0)|0|0)>>>0>(da(c|0,4,0,0)|0|0)>>>0);while(0);return}function fo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=da(a+20|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;e=a+28|0;f=da(e|0,4,0,0)|0|0;g=a+24|0;b=da(g|0,4,0,0)|0|0;if(!f)ea(d+20|0,b|0,4,0);else{ea(f+24|0,b|0,4,0);b=da(g|0,4,0,0)|0|0}if(!b)ea(d+24|0,f|0,4,0);else ea(b+28|0,f|0,4,0);ea(g|0,0|0,4,0);ea(e|0,0|0,4,0);ea(a+12>>0|0,1|0,1,0);b=c+32|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);return}function go(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=da(a|0,4,0,0)|0|0;o=a+36|0;g=da(o|0,4,0,0)|0|0;e=da(a+32|0,4,0,0)|0|0;f=g-e|0;m=(c|0)==1;if(m)if(f>>>0<(da(i+12|0,4,0,0)|0|0)>>>0?f>>>0<(da(a+24|0,4,0,0)|0|0)>>>0:0){if((da(3155*4|0,4,0,0)|0|0)!=0?((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)<=(da(3154*4|0,4,0,0)|0|0):0)c=12648|0;else c=9060|0;if(!((da(c|0,4,0,0)|0|0)!=0&e>>>0<f>>>0))l=8;else d=0}else d=0;else l=8;do if((l|0)==8){k=a+40|0;if(g>>>0>=(da(k|0,4,0,0)|0|0)>>>0)co(a);h=a+12|0;do if((da(h|0,4,0,0)|0|0)!=0?(d=da(i+24|0,4,0,0)|0|0,(d|0)!=0):0){if(((da(o|0,4,0,0)|0|0)+1|0)>>>0<(da(a+20|0,4,0,0)|0|0)>>>0?(da(i+16|0,4,0,0)|0|0)>>>0<(da(i+4|0,4,0,0)|0|0)>>>0:0){if((da(3155*4|0,4,0,0)|0|0)!=0?((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)<=(da(3154*4|0,4,0,0)|0|0):0)c=12648|0;else c=9060|0;if(!(da(c|0,4,0,0)|0)){l=23;break}}c=d+20|0;e=da(c|0,4,0,0)|0|0;f=(da(e+44|0,4,0,0)|0|0)+((((da(d+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){p=da(f|0,4,0,0)|0|0;g=p+16|0;if((p|0)==(d|0))break;else f=g}ea(f|0,da(g|0,4,0,0)|0|0,4,0);g=e+36|0;ea(g|0,(da(g|0,4,0,0)|0|0)+-1|0,4,0);fo(d);c=da(c|0,4,0,0)|0|0;if(((da(c+8|0,4,0,0)|0|0)+(da(c+4|0,4,0,0)|0|0)|0)==((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)){j=i+16|0;ea(j|0,(da(h|0,4,0,0)|0|0)-(da(c+12|0,4,0,0)|0|0)+(da(j|0,4,0,0)|0|0)|0,4,0);break}else{ho(d);l=23;break}}else l=23;while(0);if((l|0)==23){if(m?(j=da(3164*4|0,4,0,0)|0|0,(j|0)!=0):0)mc[(fa(j|0,3|0)|0)&3]();c=a+4|0;e=Fo((da(c|0,4,0,0)|0|0)+32+(da(a+8|0,4,0,0)|0|0)|0)|0;c=da(c|0,4,0,0)|0|0;d=e+c|0;if(e){ea(d|0,e|0,4,0);ea(e+(c+4)|0,e+(c+32)|0,4,0);if(da(h|0,4,0,0)|0){l=(da(a|0,4,0,0)|0|0)+16|0;ea(l|0,(da(l|0,4,0,0)|0|0)+1|0,4,0)}}else d=0;if(m?(n=da(3166*4|0,4,0,0)|0|0,(n|0)!=0):0)mc[(fa(n|0,3|0)|0)&3]();if(!d){d=0;break}}e=(b>>>0)%((da(k|0,4,0,0)|0|0)>>>0)|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);ea(d+8|0,b|0,4,0);l=a+44|0;ea(d+16|0,da((da(l|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0,4,0);ea(d+20|0,a|0,4,0);ea(d+28|0,0|0,4,0);ea(d+24|0,0|0,4,0);ea(d+12>>0|0,1|0,1,0);ea(da(d+4|0,4,0,0)|0|0,0|0,4,0);ea((da(l|0,4,0,0)|0|0)+(e<<2)|0,d|0,4,0);e=a+28|0;if((da(e|0,4,0,0)|0|0)>>>0<b>>>0)ea(e|0,b|0,4,0)}while(0);return d|0}function ho(a){a=a|0;var b=0;if((a|0)!=0?(b=da(a+20|0,4,0,0)|0|0,_k(da(a|0,4,0,0)|0|0),(da(b+12|0,4,0,0)|0|0)!=0):0){b=(da(b|0,4,0,0)|0|0)+16|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0)}return}function io(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=a+40|0;if(da(f|0,4,0,0)|0){g=a+44|0;d=a+36|0;e=0;do{c=(da(g|0,4,0,0)|0|0)+(e<<2)|0;a=da(c|0,4,0,0)|0|0;a:do if(a)do{while(1){if((da(a+8|0,4,0,0)|0|0)>>>0<b>>>0)break;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ea(c|0,da(a+16|0,4,0,0)|0|0,4,0);if(!(da(a+12>>0|0,1,0,0)|0))fo(a);ho(a);a=da(c|0,4,0,0)|0|0;if(!a)break a}c=a+16|0;a=da(c|0,4,0,0)|0|0}while((a|0)!=0);while(0);e=e+1|0}while(e>>>0<(da(f|0,4,0,0)|0|0)>>>0)}return}function jo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=da(a|0,4,0,0)|0|0;e=da((da(d+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;f=((e|0)<0)<<31>>31;if(!((f|0)<(c|0)|(f|0)==(c|0)&e>>>0<b>>>0)){b=pg(b,c)|0;if(!b){Qd(a);b=0}}else{ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(d,10096,-1,1,0)|0;b=0}return b|0}function ko(a){a=a|0;var b=0,c=0,d=0,e=0;do if(a){b=da(a>>0|0,1,0,0)|0|0;c=b<<24>>24;if((c|0)==96|(c|0)==34|(c|0)==39)e=b;else if((c|0)==91)e=93;else break;c=1;d=0;while(1){b=da(a+c>>0|0,1,0,0)|0|0;if(b<<24>>24==e<<24>>24){c=c+1|0;b=a+d|0;if((da(a+c>>0|0,1,0,0)|0|0)!=e<<24>>24)break;ea(b>>0|0,e|0,1,0)}else ea(a+d>>0|0,b|0,1,0);c=c+1|0;d=d+1|0}ea(b>>0|0,0|0,1,0)}while(0);return}function lo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0;L=i;i=i+176|0;if((i|0)>=(j|0))ba();I=L+64|0;m=L+132|0;l=L+128|0;k=L+124|0;n=L+56|0;G=L+48|0;J=L+136|0;H=L;h=d+0|0;g=h+48|0;do{ea(h|0,0|0,4,0);h=h+4|0}while((h|0)<(g|0));a:do if(b){e=da(c|0,4,0,0)|0|0;b:do if(((da(10064+((da(e+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0)+-1|0)>>>0>=2){h=Rg(e,1)|0;if(!h){e=1;break a}g=(da(h>>0|0,1,0,0)|0|0)==45;e=g?h+1|0:h;ea(I|0,4|0,4,0);ea(I+4|0,0|0,4,0);ea(I+8|0,9999|0,4,0);ea(I+12|0,45|0,4,0);ea(I+16|0,m|0,4,0);ea(I+20|0,2|0,4,0);ea(I+24|0,1|0,4,0);ea(I+28|0,12|0,4,0);ea(I+32|0,45|0,4,0);ea(I+36|0,l|0,4,0);ea(I+40|0,2|0,4,0);ea(I+44|0,1|0,4,0);ea(I+48|0,31|0,4,0);ea(I+52|0,0|0,4,0);ea(I+56|0,k|0,4,0);do if((qq(e,I)|0)==3){e=e+10|0;while(1){f=da(e>>0|0,1,0,0)|0|0;if(f<<24>>24==84?1:((da(10368+(f&255)>>0|0,1,0,0)|0)&1)!=0)e=e+1|0;else break}if(rq(e,d)|0){if(da(e>>0|0,1,0,0)|0)break;ea(d+41>>0|0,0|0,1,0)}ea(d+42>>0|0,0|0,1,0);ea(d+40>>0|0,1|0,1,0);D=da(m|0,4,0,0)|0|0;ea(d+8|0,(g?0-D|0:D)|0,4,0);ea(d+12|0,da(l|0,4,0,0)|0|0,4,0);ea(d+16|0,da(k|0,4,0,0)|0|0,4,0);if(!(da(d+43>>0|0,1,0,0)|0))break b;mo(d);break b}while(0);if(rq(h,d)|0){if(!(cd(h,20080)|0))if(!(pq(a,d)|0))break;else{e=1;break a}else e=h;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;if(!(Sl(h,n,e-h&1073741823,1)|0)){e=1;break a}o=+(+da(n|0,8,1,0))*864.0e5+.5;D=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;B=d;ea(B|0,~~o>>>0|0,4,0);ea(B+4|0,D|0,4,0);ea(d+42>>0|0,1|0,1,0)}}else{o=+Tg(e)*864.0e5+.5;D=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;B=d;ea(B|0,~~o>>>0|0,4,0);ea(B+4|0,D|0,4,0);ea(d+42>>0|0,1|0,1,0)}while(0);if((b|0)>1){f=d+40|0;e=d+41|0;r=d+43|0;s=d+42|0;t=J+8|0;u=t;v=J+9|0;w=d+24|0;x=d+20|0;y=d+32|0;z=d+16|0;A=d+12|0;B=J+1|0;D=d+8|0;E=1;while(1){l=Rg(da(c+(E<<2)|0,4,0,0)|0|0,1)|0;if(!l){e=1;break a}ea(I|0,1|0,4,0);n=0;do{m=da(l+n>>0|0,1,0,0)|0|0;if(!(m<<24>>24))break;ea(J+n>>0|0,da(9328+(m&255)>>0|0,1,0,0)|0|0|0,1,0);n=n+1|0}while((n|0)<29);ea(J+n>>0|0,0|0,1,0);c:do switch(da(J>>0|0,1,0,0)|0|0){case 119:{if(!(_v(J,19976,8)|0)){n=t;while(1)if(!(da(n>>0|0,1,0,0)|0))break;else n=n+1|0;if((Sl(t,G,n-u&1073741823,1)|0)!=0?(o=+(+da(G|0,8,1,0)),F=~~o,+(F|0)==o&(F|0)>-1&o<7.0):0){no(d);oo(d);ea(r>>0|0,0|0,1,0);ea(s>>0|0,0|0,1,0);mo(d);g=d;n=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;l=iw(n|0,g|0,1296e5,0)|0;l=pw(l|0,C|0,864e5,0)|0;l=qw(l|0,C|0,7,0)|0;h=C;O=((F|0)<0)<<31>>31;k=(h|0)>(O|0)|(h|0)==(O|0)&l>>>0>F>>>0;m=iw(l|0,h|0,-7,-1)|0;h=cw(F|0,O|0,(k?m:l)|0,(k?C:h)|0)|0;h=rw(h|0,C|0,864e5,0)|0;g=iw(h|0,C|0,n|0,g|0)|0;n=d;ea(n|0,g|0,4,0);ea(n+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);ea(I|0,0|0,4,0);n=0}else K=82}else K=82;break}case 117:{if((Zv(J,19952)|0)==0?(da(s>>0|0,1,0,0)|0|0)!=0:0){g=d;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,43200,0)|0;g=pw(g|0,C|0,86400,0)|0;g=iw(g|0,C|0,1045635584,49096)|0;n=d;ea(n|0,g|0,4,0);ea(n+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);ea(I|0,0|0,4,0);n=0;break c}if(!(Zv(J,19968)|0)){mo(d);m=sq(d,a,I)|0;l=C;n=da(I|0,4,0,0)|0|0;if(!n){g=d;g=cw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,m|0,l|0)|0;K=d;ea(K|0,g|0,4,0);ea(K+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);K=sq(d,a,I)|0;K=cw(m|0,l|0,K|0,C|0)|0;g=d;g=iw(K|0,C|0,da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0)|0;K=d;ea(K|0,g|0,4,0);ea(K+4|0,C|0,4,0);K=82}}else K=82;break}case 108:{if(!(Zv(J,19936)|0)){mo(d);g=sq(d,a,I)|0;K=d;g=iw(da(K|0,4,0,0)|0|0,da(K+4|0,4,0,0)|0|0,g|0,C|0)|0;K=d;ea(K|0,g|0,4,0);ea(K+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);K=82}else K=82;break}case 115:{if(!(_v(J,19992,9)|0)){no(d);ea(e>>0|0,1|0,1,0);ea(w|0,0|0,4,0);ea(x|0,0|0,4,0);ea(y|0,+(0.0),8,1);ea(r>>0|0,0|0,1,0);ea(s>>0|0,0|0,1,0);if(!(Zv(v,20008)|0)){ea(z|0,1|0,4,0);ea(I|0,0|0,4,0);n=0;break c}if(!(Zv(v,20016)|0)){no(d);ea(A|0,1|0,4,0);ea(z|0,1|0,4,0);ea(I|0,0|0,4,0);n=0;break c}if(!(Zv(v,20024)|0)){ea(I|0,0|0,4,0);n=0}else K=82}else K=82;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 45:case 43:{l=1;while(1){n=J+l|0;m=da(n>>0|0,1,0,0)|0|0;if(m<<24>>24==58|m<<24>>24==0){m=n;break}if(!((da(10368+(m&255)>>0|0,1,0,0)|0)&1))l=l+1|0;else{m=n;break}}if(!(Sl(J,G,l,1)|0)){ea(I|0,1|0,4,0);n=1;break c}n=da(m>>0|0,1,0,0)|0|0;if(n<<24>>24==58){n=((da(J>>0|0,1,0,1)|0|0)+-48|0)>>>0<10?J:B;h=H+0|0;g=h+48|0;do{ea(h|0,0|0,4,0);h=h+4|0}while((h|0)<(g|0));if(rq(n,H)|0){K=82;break c}mo(H);n=H;n=iw(da(n|0,4,0,0)|0|0,da(n+4|0,4,0,0)|0|0,-432e5,-1)|0;n=qw(n|0,C|0,864e5,0)|0;m=C;g=H;ea(g|0,n|0,4,0);ea(g+4|0,m|0,4,0);if((da(J>>0|0,1,0,0)|0|0)==45){n=cw(0,0,n|0,m|0)|0;m=C;g=H;ea(g|0,n|0,4,0);ea(g+4|0,m|0,4,0)}mo(d);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);g=d;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,n|0,m|0)|0;n=d;ea(n|0,g|0,4,0);ea(n+4|0,C|0,4,0);ea(I|0,0|0,4,0);n=0;break c}if((da(10368+(n&255)>>0|0,1,0,0)|0)&1){m=J+(l+1)|0;while(1){n=da(m>>0|0,1,0,0)|0|0;if(!((da(10368+(n&255)>>0|0,1,0,0)|0)&1))break;else m=m+1|0}}if(!(n<<24>>24))n=m;else{n=m;do n=n+1|0;while((da(n>>0|0,1,0,0)|0|0)!=0)}n=n-m&1073741823;if((n+-3|0)>>>0>7)K=82;else{l=n+-1|0;k=m+l|0;if((da(k>>0|0,1,0,0)|0|0)==115){ea(k>>0|0,0|0,1,0);n=l}mo(d);ea(I|0,0|0,4,0);p=+(+da(G|0,8,1,0));q=p<0.0?-.5:.5;do if((n|0)==3)if(!(Zv(m,20024)|0)){o=p*864.0e5+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}else K=80;else if((n|0)==4){if(!(Zv(m,20032)|0)){o=p*36.0e5+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0);break}if(!(Zv(m,20016)|0)){g=~~p;no(d);oo(d);ea(D|0,(da(D|0,4,0,0)|0|0)+g|0,4,0);ea(s>>0|0,0|0,1,0);mo(d);o=+(g|0);if(o!=p){o=q+(p-o)*365.0*864.0e5;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}}else K=80}else if((n|0)==6){if(!(Zv(m,20040)|0)){o=p*6.0e4+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0);break}if(!(Zv(m,20048)|0)){o=p*1.0e3+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}else K=80}else if((n|0)==5?(Zv(m,20008)|0)==0:0){no(d);oo(d);g=~~p;h=(da(A|0,4,0,0)|0|0)+g|0;k=(((h|0)>0?-1:-12)+h|0)/12|0;ea(D|0,(da(D|0,4,0,0)|0|0)+k|0,4,0);ea(A|0,(_(k,-12)|0)+h|0,4,0);ea(s>>0|0,0|0,1,0);mo(d);o=+(g|0);if(o!=p){o=q+(p-o)*30.0*864.0e5;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}}else K=80;while(0);if((K|0)==80)ea(I|0,1|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);K=82}break}default:K=82}while(0);if((K|0)==82){K=0;n=da(I|0,4,0,0)|0|0}E=E+1|0;if(n){e=1;break a}if((E|0)>=(b|0)){e=0;break a}}}else e=0}else e=pq(a,d)|0;while(0);i=L;return e|0}function mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0.0;f=a+42|0;if(!(da(f>>0|0,1,0,0)|0)){g=a+40|0;if(da(g>>0|0,1,0,0)|0){c=da(a+8|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;d=da(a+16|0,4,0,0)|0|0;if((b|0)<3)e=4}else{d=1;b=1;c=2e3;e=4}if((e|0)==4){b=b+12|0;c=c+-1|0}k=(+(d+2+((c|0)/-100|0)+((c|0)/400|0)+(((c*36525|0)+172251900|0)/100|0)+(((b*306001|0)+306001|0)/1e4|0)|0)+-1524.5)*864.0e5;c=~~k>>>0;d=+N(k)>=1.0?(k>0.0?~~+$(+M(k/4294967296.0),4294967295.0)>>>0:~~+Z((k-+(~~k>>>0))/4294967296.0)>>>0):0;b=a;ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(f>>0|0,1|0,1,0);b=a+41|0;if((da(b>>0|0,1,0,0)|0|0)!=0?(h=_(da(a+20|0,4,0,0)|0|0,36e5)|0,h=((da(a+24|0,4,0,0)|0|0)*6e4|0)+h|0,k=+(+da(a+32|0,8,1,0))*1.0e3,i=iw(~~k>>>0|0,(+N(k)>=1.0?(k>0.0?~~+$(+M(k/4294967296.0),4294967295.0)>>>0:~~+Z((k-+(~~k>>>0))/4294967296.0)>>>0):0)|0,c|0,d|0)|0,h=iw(i|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0,i=C,j=a,ea(j|0,h|0,4,0),ea(j+4|0,i|0,4,0),j=a+43|0,(da(j>>0|0,1,0,0)|0|0)!=0):0){d=(da(a+28|0,4,0,0)|0|0)*6e4|0;d=cw(h|0,i|0,d|0,((d|0)<0)<<31>>31|0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);ea(g>>0|0,0|0,1,0);ea(b>>0|0,0|0,1,0);ea(j>>0|0,0|0,1,0)}}return}function no(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=a+40|0;if(!(da(e>>0|0,1,0,0)|0)){if(!(da(a+42>>0|0,1,0,0)|0)){b=2e3;c=1;d=1}else{b=a;b=iw(da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,432e5,0)|0;b=pw(b|0,C|0,864e5,0)|0;f=~~((+(b|0)+-1867216.25)/36524.25);f=b+1525+f+((f|0)/-4|0)|0;b=~~((+(f|0)+-122.1)/365.25);f=f-((b*36525|0)/100|0)|0;d=~~(+(f|0)/30.6001);c=((d|0)<14?-1:-13)+d|0;b=((c|0)>2?-4716:-4715)+b|0;d=f-~~(+(d|0)*30.6001)|0}ea(a+16|0,d|0,4,0);ea(a+12|0,c|0,4,0);ea(a+8|0,b|0,4,0);ea(e>>0|0,1|0,1,0)}return}function oo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0;b=a+41|0;if(!(da(b>>0|0,1,0,0)|0)){mo(a);e=a;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,432e5,0)|0;e=qw(e|0,C|0,864e5,0)|0;f=+(e|0)/1.0e3;e=~~f;d=(e|0)/3600|0;ea(a+20|0,d|0,4,0);d=(_(d,-3600)|0)+e|0;c=(d|0)/60|0;ea(a+24|0,c|0,4,0);ea(a+32|0,+(f-+(e|0)+ +(d+(_(c,-60)|0)|0)),8,1);ea(b>>0|0,1|0,1,0)}return}function po(a){a=a|0;lg(da(a+52|0,4,0,0)|0|0,a);return}function qo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=a+65|0;do if(!(da(f>>0|0,1,0,0)|0)){if(!b){e=lh(a,c,d)|0;break}if((da(a+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(a+280|0,4,0,0)|0|0)>>>0>b>>>0:0){f=a+248|0;if(!(0<d>>>0|(0==(d|0)?(da(f|0,2,0,1)|0|0)>>>0<c>>>0:0))){e=b;break}e=lh(a,c,d)|0;if(!e){e=0;break}jw(e|0,b|0,da(f|0,2,0,1)|0|0)|0;lg(a,b);break}if((Kc()|0)==0?(e=qg(b,c,d)|0,(e|0)!=0):0)break;ea(f>>0|0,1|0,1,0);e=0}else e=0;while(0);return e|0}function ro(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a)a=0;else{d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);d=d+22|0;a=da(d|0,2,0,0)|0|0;if((b|0)>-1){c=a&65535;a=c&65531;ea(d|0,a|0,2,0);if(b){a=(c|4)&65535;ea(d|0,a|0,2,0)}}a=(a&65535)>>>2&1}return a|0}function so(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=da(a+4|0,4,0,0)|0|0;ea(e+4|0,da(a|0,4,0,0)|0|0,4,0);e=da(e|0,4,0,0)|0|0;c=b&3;if((c|0)!=1){d=da(e+12>>0|0,1,0,0)|0|0;a=e+7|0;ea(a>>0|0,d<<24>>24!=0&1|0,1,0);if((c|0)==3)d=d<<24>>24==0&1;else d=0}else{a=e+7|0;ea(a>>0|0,1|0,1,0);d=0}ea(e+8>>0|0,d|0,1,0);do if(!(da(a>>0|0,1,0,0)|0)){if(b&4){ea(e+11>>0|0,3|0,1,0);ea(e+9>>0|0,3|0,1,0);a=3;break}ea(e+11>>0|0,2|0,1,0);a=e+9|0;if(!(b&8)){ea(a>>0|0,2|0,1,0);a=2;break}else{ea(a>>0|0,3|0,1,0);a=2;break}}else{ea(e+11>>0|0,0|0,1,0);ea(e+9>>0|0,0|0,1,0);a=0}while(0);if(d<<24>>24)a=(a&255|32)&255;ea(e+10>>0|0,a|0,1,0);c=e+20|0;a=da(c>>0|0,1,0,1)|0|0;ea(c>>0|0,((b&16|0)==0?a|1:a&254)|0,1,0);return}function to(a){a=a|0;var b=0,c=0;c=a+12|0;b=da(c|0,4,0,0)|0|0;if((b|0)>-1){$n(a,b,27311);ea(c|0,-1|0,4,0)}Vc(da(a+28|0,4,0,0)|0|0);b=a+0|0;c=b+44|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));return}function uo(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=e&131071;while(1){g=bb(a|0,b|0,0)|0;if(!((g|0)==(b|0)&(((g|0)<0)<<31>>31|0)==(c|0))){i=3;break}g=$b[(fa(da(47552+136|0,4,0,0)|0|0,63|0)|0)&63](a,d,h)|0;if((g|0)>=0)break;e=da(Gb()|0|0,4,0,0)|0|0;if((e|0)!=4){i=9;break}}if((i|0)==3)if(!f)g=-1;else{if((g|0)==-1)g=da(Gb()|0|0,4,0,0)|0|0;else g=0;ea(f|0,g|0,4,0);g=-1}else if((i|0)==9)if(f)ea(f|0,e|0,4,0);return g|0}function vo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=da(c|0,4,0,0)|0|0;do if((d|0)>=0){b=b&255;if(!d){c=a+18|0;ea(c|0,(da(c|0,2,0,1)|0|0)&(b^65535)|0,2,0);break}else{c=a+18|0;ea(c|0,da(c|0,2,0,1)|0|0|b|0,2,0);break}}else ea(c|0,((da(a+18|0,2,0,1)|0|0)&(b&255)|0)!=0&1|0,4,0);while(0);return}function wo(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+80|0;if((i|0)>=(j|0))ba();c=d;b=a+8|0;if(da(b|0,4,0,0)|0)if(!(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](da(a+32|0,4,0,0)|0|0,c)|0))b=(da(c+72|0,4,0,0)|0|0)!=(da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0|0);else b=1;else b=0;i=d;return b&1|0}function xo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h;f=h+8|0;e=(da((da(a+8|0,4,0,0)|0|0)+20|0,4,0,0)|0|0)+12|0;if((da(e|0,4,0,0)|0|0)>-1){ea(f+0|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(f+8|0,0|0,4,0);ea(f+12|0,0|0,4,0);ea(f|0,b|0,2,0);ea(f+2|0,0|0,2,0);ea(f+4|0,c|0,4,0);ea(f+8|0,d|0,4,0);b=a+18|0;d=(((da(b|0,2,0,0)|0)&512)>>>9)+13|0;c=da(11910*4|0,4,0,0)|0|0;e=da(e|0,4,0,0)|0|0;ea(g|0,f|0,4,0);e=($b[(fa(c|0,63|0)|0)&63](e,d,g)|0)!=-1;ea(b|0,(da(b|0,2,0,1)|0|0)&65023|0,2,0);e=e?0:5}else e=0;i=h;return e|0}function yo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=da((da(a+8|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if((h|0)!=0?(da(h+28|0,4,0,0)|0|0)==0:0){b=gc[(fa(da(47552+292|0,4,0,0)|0|0,7|0)|0)&7]()|0;if((b|0)<32768)d=1;else d=(b|0)/32768|0;e=h+20|0;if(!(da(e|0,2,0,0)|0)){c=h+12|0;b=h+24|0}else{c=h+12|0;b=h+24|0;f=h+16|0;g=0;do{if((da(c|0,4,0,0)|0|0)>-1)qc[(fa(da(47552+268|0,4,0,0)|0|0,127|0)|0)&127](da((da(b|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0)|0;else Vc(da((da(b|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0);g=g+d|0}while((g|0)<(da(e|0,2,0,1)|0|0))}Vc(da(b|0,4,0,0)|0|0);b=da(c|0,4,0,0)|0|0;if((b|0)>-1){$n(a,b,29591);ea(c|0,-1|0,4,0)}ea((da(h|0,4,0,0)|0|0)+20|0,0|0,4,0);Vc(h)}return}function zo(a){a=a|0;var b=0,c=0,d=0;c=(da(a+8|0,4,0,0)|0|0)+28|0;b=da(c|0,4,0,0)|0|0;if(b)do{d=b;b=da(b+8|0,4,0,0)|0|0;$n(a,da(d|0,4,0,0)|0|0,26573);Vc(d)}while((b|0)!=0);ea(c|0,0|0,4,0);return}function Ao(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();e=g;d=g+8|0;f=da(a+8|0,4,0,0)|0|0;c=da(a+18|0,2,0,0)|0|0;if(!(c&1))if((da(f+13>>0|0,1,0,0)|0|0)!=0&(c&2)==0)c=4;else c=7;else if(!(c&2))c=4;else c=7;if((c|0)==4){c=f+13|0;if(!(da(c>>0|0,1,0,0)|0)){ea(d+2|0,0|0,2,0);ea(d+4|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);ea(d+8|0,510|0,4,0);ea(d|0,1|0,2,0);h=da(11910*4|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;ea(e|0,d|0,4,0);b=$b[(fa(h|0,63|0)|0)&63](b,13,e)|0;if((b|0)>=0){ea(c>>0|0,1|0,1,0);c=f+24|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}}else b=0}else if((c|0)==7){d=da(11910*4|0,4,0,0)|0|0;c=da(a+12|0,4,0,0)|0|0;ea(e|0,b|0,4,0);b=$b[(fa(d|0,63|0)|0)&63](c,13,e)|0}i=g;return b|0}function Bo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if(b){e=da(b|0,4,0,0)|0|0;if(!e){ea(b|0,1|0,4,0);ea(b+4|0,c|0,4,0);f=9;break}g=b+4|0;d=da(g|0,4,0,0)|0|0;ea(b|0,e+1|0,4,0);ea(g|0,c|0,4,0);if(d){ea(c|0,d|0,4,0);d=d+4|0;ea(c+4|0,da(d|0,4,0,0)|0|0,4,0);e=da(d|0,4,0,0)|0|0;if(!e)ea(a+8|0,c|0,4,0);else ea(e|0,c|0,4,0);ea(d|0,c|0,4,0)}else f=9}else f=9;while(0);if((f|0)==9){d=a+8|0;e=da(d|0,4,0,0)|0|0;ea(c|0,e|0,4,0);if(e)ea(e+4|0,c|0,4,0);ea(c+4|0,0|0,4,0);ea(d|0,c|0,4,0)}return}function Co(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;d=b+8|0;while(1){lg(a,da(d+4|0,4,0,0)|0|0);lg(a,da(d+8|0,4,0,0)|0|0);lg(a,da(d+12|0,4,0,0)|0|0);lg(a,da(d+64|0,4,0,0)|0|0);jg(a,da(d+16|0,4,0,0)|0|0);Lk(a,da(d+20|0,4,0,0)|0|0,1);Fk(a,da(d+44|0,4,0,0)|0|0);Gk(a,da(d+48|0,4,0,0)|0|0);c=c+1|0;if((c|0)>=(da(b|0,4,0,0)|0|0))break;else d=d+72|0}}lg(a,b)}return}function Do(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Eo(a,c)|0;if((c|0)>0){d=a+12|0;jw((da(a+8|0,4,0,0)|0|0)+(da(d|0,4,0,0)|0|0)|0,b|0,c|0)|0;ea(d|0,(da(d|0,4,0,0)|0|0)+c|0,4,0)}return}function Eo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=a+25|0;do if(!(da(g>>0|0,1,0,0)|0)){d=da(a+24>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){c=a+16|0;b=(da(c|0,4,0,0)|0|0)+-1-(da(a+12|0,4,0,0)|0|0)|0;ea(g>>0|0,2|0,1,0);ea(c|0,0|0,4,0);break}h=a+8|0;c=da(h|0,4,0,0)|0|0;e=(c|0)==(da(a+4|0,4,0,0)|0|0)?0:c;f=a+12|0;l=da(f|0,4,0,0)|0|0;c=((l|0)<0)<<31>>31;o=b+1|0;o=iw(l|0,c|0,o|0,((o|0)<0)<<31>>31|0)|0;m=C;c=iw(o|0,m|0,l|0,c|0)|0;l=C;j=da(a+20|0,4,0,0)|0|0;k=((j|0)<0)<<31>>31;n=(l|0)>(k|0)|(l|0)==(k|0)&c>>>0>j>>>0;c=n?o:c;l=n?m:l;if((l|0)>(k|0)|(l|0)==(k|0)&c>>>0>j>>>0){fn(a);ea(g>>0|0,2|0,1,0);ea(a+16|0,0|0,4,0);b=0;break}j=a+16|0;ea(j|0,c|0,4,0);if(d<<24>>24==1)d=qo(da(a|0,4,0,0)|0|0,e,c,((c|0)<0)<<31>>31)|0;else d=Wc(e,c)|0;if(!d){fn(a);ea(g>>0|0,1|0,1,0);ea(j|0,0|0,4,0);b=0;break}if((e|0)==0?(i=da(f|0,4,0,0)|0|0,(i|0)>0):0)jw(d|0,da(h|0,4,0,0)|0|0,i|0)|0;ea(h|0,d|0,4,0);c=da(a|0,4,0,0)|0|0;do if(!c)c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0;else{if((da(c+276|0,4,0,0)|0|0)>>>0<=d>>>0?(da(c+280|0,4,0,0)|0|0)>>>0>d>>>0:0){c=da(c+248|0,2,0,1)|0|0;break}c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0}while(0);ea(j|0,c|0,4,0)}else b=0;while(0);return b|0}function Fo(a){a=a|0;var b=0,c=0;if((da(3154*4|0,4,0,0)|0|0)>=(a|0)?(b=da(3160*4|0,4,0,0)|0|0,(b|0)!=0):0){ea(3160*4|0,da(b|0,4,0,0)|0|0,4,0);c=da(3161*4|0,4,0,0)|0|0;ea(3161*4|0,c+-1|0,4,0);ea(3162*4|0,(c|0)<=(da(3156*4|0,4,0,0)|0|0)&1|0,4,0);ea(2173*4|0,a|0,4,0);if((da(2183*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2183*4|0,a|0,4,0);c=(da(2167*4|0,4,0,0)|0|0)+1|0;ea(2167*4|0,c|0,4,0);if(c>>>0>(da(2177*4|0,4,0,0)|0|0)>>>0)ea(2177*4|0,c|0,4,0)}else{b=pg(a,((a|0)<0)<<31>>31)|0;if(b){c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(2173*4|0,a|0,4,0);if((da(2183*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2183*4|0,a|0,4,0);c=(da(2168*4|0,4,0,0)|0|0)+c|0;ea(2168*4|0,c|0,4,0);if(c>>>0>(da(2178*4|0,4,0,0)|0|0)>>>0)ea(2178*4|0,c|0,4,0)}else b=0}return b|0}function Go(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=a+20|0;if(da(f|0,4,0,0)|0){d=a+24|0;g=$b[(fa(da(8744+120|0,4,0,0)|0|0,63|0)|0)&63](b,(da(d|0,4,0,0)|0|0)+40|0,da(a+28>>0|0,1,0,1)|0|0)|0;if(!g)c=7;else{e=da(2217*4|0,4,0,0)|0|0;c=da(a+16|0,4,0,0)|0|0;if((c|0)<=-1){h=rw(c|0,((c|0)<0)<<31>>31|0,-1024,-1)|0;c=(da(d|0,4,0,0)|0|0)+(da(f|0,4,0,0)|0|0)|0;c=pw(h|0,C|0,c|0,((c|0)<0)<<31>>31|0)|0}ic[(fa(e|0,15|0)|0)&15](g,c);c=a+40|0;d=da(c|0,4,0,0)|0|0;if(d)bc[(fa(da(8744+148|0,4,0,0)|0|0,31|0)|0)&31](d);ea(c|0,g|0,4,0);ea(a+44|0,0|0,4,0);ea(f|0,b|0,4,0);c=0}}else c=0;return c|0}function Ho(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;d=da(a+208|0,4,0,0)|0|0;if(((d|0)!=0?(da(d+40|0,2,0,0)|0|0)>-1:0)?(c=da(d+72|0,4,0,0)|0|0,(c|0)!=0):0){d=c;f=8}else f=4;do if((f|0)==4){d=e;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0);d=da(a+60|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(!c){c=-1;d=-1}else{c=qc[(fa(da(c+24|0,4,0,0)|0|0,127|0)|0)&127](d,e)|0;if(c)break;c=e;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,-1,-1)|0;d=C}e=da(a+152|0,4,0,0)|0|0;f=((e|0)<0)<<31>>31;d=iw(c|0,d|0,e|0,f|0)|0;d=pw(d|0,C|0,e|0,f|0)|0;f=8}while(0);if((f|0)==8){c=a+156|0;if(d>>>0>(da(c|0,4,0,0)|0|0)>>>0)ea(c|0,d|0,4,0);ea(b|0,d|0,4,0);c=0}i=g;return c|0}function Io(a){a=a|0;var b=0,c=0;c=a+64|0;if(!((da(a+7>>0|0,1,0,0)|0|0)==0?(b=da(c|0,4,0,0)|0|0,b=qc[(fa(da((da(b|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](b,2)|0,(b|0)!=0):0)){b=da(c|0,4,0,0)|0|0;b=qc[(fa(da((da(b|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](b,a+80|0)|0}return b|0}function Jo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;D=i;i=i+48|0;if((i|0)>=(j|0))ba();A=D+16|0;z=D+8|0;y=D+36|0;u=D;m=D+32|0;t=D+28|0;x=D+24|0;d=da(a|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(x|0,1|0,4,0);w=a+64|0;e=da(w|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](e,u)|0;a:do if(!e){v=a+200|0;e=da(v|0,4,0,0)|0|0;f=tq(da(w|0,4,0,0)|0|0,e,(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)+1|0)|0;if(!f){if(!(da(e>>0|0,1,0,0)|0))e=0;else e=oc[(fa(da(d+32|0,4,0,0)|0|0,31|0)|0)&31](d,e,0,x)|0;b:do if((e|0)==0&(da(x|0,4,0,0)|0|0)!=0){s=a+72|0;r=s;ea(r|0,0|0,4,0);ea(r+4|0,0|0,4,0);r=a+148|0;q=a+152|0;p=a+80|0;o=a+24|0;d=0;g=b;c:while(1){do{e=u;e=uq(a,b,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,m,t)|0;if((e|0)==101)break c;else if(e){B=27;break b}f=da(m|0,4,0,0)|0|0;if((f|0)==-1){e=u;e=cw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0,0)|0;f=(da(q|0,4,0,0)|0|0)+8|0;f=pw(e|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(m|0,f|0,4,0)}if(!(f|b)){h=p;e=da(r|0,4,0,0)|0|0;h=iw(e|0,0,da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0)|0;l=C;k=s;n=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;if((h|0)==(n|0)&(l|0)==(k|0)){k=u;k=cw(da(k|0,4,0,0)|0|0,da(k+4|0,4,0,0)|0|0,h|0,l|0)|0;f=(da(q|0,4,0,0)|0|0)+8|0;f=pw(k|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(m|0,f|0,4,0);k=l}else h=n}else{h=s;e=da(r|0,4,0,0)|0|0;k=da(h+4|0,4,0,0)|0|0;h=da(h|0,4,0,0)|0|0}if((h|0)==(e|0)&(k|0)==0){e=da(t|0,4,0,0)|0|0;h=Al(a,e)|0;if(h){c=h;B=25;break a}ea(o|0,e|0,4,0)}}while((f|0)==0);h=0;while(1){if(g)wn(a);e=vq(a,s,0,1,0)|0;if((e|0)==101)break;else if((e|0)==522)break c;else if(e){B=27;break b}d=d+1|0;e=h+1|0;if(e>>>0<f>>>0){g=0;h=e}else{g=0;continue c}}f=u;g=da(f+4|0,4,0,0)|0|0;e=s;ea(e|0,da(f|0,4,0,0)|0|0,4,0);ea(e+4|0,g|0,4,0);g=0}ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);t=d}else{d=0;B=27}while(0);if((B|0)==27){ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);if(!e)t=d;else{c=e;break}}s=da(v|0,4,0,0)|0|0;e=tq(da(w|0,4,0,0)|0|0,s,(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)+1|0)|0;if(!e){if(((da(a+16>>0|0,1,0,0)|0|0)+-1&255)>2?(c=Hg(a,0)|0,(c|0)!=0):0){d=t;break}c=Bl(a,(da(s>>0|0,1,0,0)|0|0)!=0&1,0)|0;if(!c)if((da(s>>0|0,1,0,0)|0|0)!=0&(da(x|0,4,0,0)|0|0)!=0){q=da(a|0,4,0,0)|0|0;e=q+4|0;d=(da(e|0,4,0,0)|0)<<1;r=pg(d,((d|0)<0)<<31>>31)|0;if(!r){d=t;c=7}else{ew(r|0,0,d|0)|0;o=r+(da(e|0,4,0,0)|0|0)|0;p=q+24|0;c=sc[(fa(da(p|0,4,0,0)|0|0,31|0)|0)&31](q,s,r,16385,0)|0;d:do if(!c){c=qc[(fa(da((da(r|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](r,z)|0;if(!c){m=(da(q+8|0,4,0,0)|0|0)+1|0;d=z;d=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1,0)|0;d=iw(d|0,C|0,m|0,((m|0)<0)<<31>>31|0)|0;d=pg(d,C)|0;if(d){n=z;c=da(n|0,4,0,0)|0|0;n=iw(c|0,da(n+4|0,4,0,0)|0|0,1,0)|0;n=d+n|0;c=sc[(fa(da((da(r|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](r,d,c,0,0)|0;if(!c){ea(d+(da(z|0,4,0,0)|0|0)>>0|0,0|0,1,0);l=d;x=z;w=da(x+4|0,4,0,0)|0|0;if((w|0)>0|(w|0)==0&(da(x|0,4,0,0)|0|0)>>>0>0){h=q+32|0;k=l;g=d;do{c=oc[(fa(da(h|0,4,0,0)|0|0,31|0)|0)&31](q,g,0,y)|0;if(c){B=55;break d}do if(da(y|0,4,0,0)|0){c=sc[(fa(da(p|0,4,0,0)|0|0,31|0)|0)&31](q,g,o,2049,0)|0;if(c){B=55;break d}c=tq(o,n,m)|0;f=da(o|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](o)|0;ea(o|0,0|0,4,0)}if(c){B=55;break d}if(!(da(n>>0|0,1,0,0)|0))break;if(!(Zv(n,s)|0)){c=0;B=55;break d}}while(0);if(!g)f=1;else{f=g;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-k&1073741823)+1|0}g=g+f|0;k=g;f=k-l|0;w=((f|0)<0)<<31>>31;e=z;x=da(e+4|0,4,0,0)|0|0}while((w|0)<(x|0)|((w|0)==(x|0)?f>>>0<(da(e|0,4,0,0)|0|0)>>>0:0))}c=da(r|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](r)|0;ea(r|0,0|0,4,0)}c=$b[(fa(da(q+28|0,4,0,0)|0|0,63|0)|0)&63](q,s,0)|0;Vc(d)}else B=55}else{c=7;d=0;B=55}}else{d=0;B=55}}else{d=0;B=55}while(0);if((B|0)==55)Vc(d);d=da(r|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](r)|0;ea(r|0,0|0,4,0)}Vc(r);d=t}}else{d=t;c=0}else d=t}else{d=t;c=e}}else{d=0;c=f;B=25}}else{d=0;c=e;B=25}while(0);if((B|0)==25)ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);if((b|0)!=0&(d|0)!=0){z=da(a+172|0,4,0,0)|0|0;ea(A|0,d|0,4,0);ea(A+4|0,z|0,4,0);ad(539,14776,A)}vp(a);i=D;return c|0}function Ko(a){a=a|0;var b=0,c=0;b=a+44|0;if(da(b>>0|0,1,0,0)|0){if(!(da(a+43>>0|0,1,0,0)|0)){c=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,0,1,9)|0}ea(b>>0|0,0|0,1,0);ea(a+47>>0|0,0|0,1,0)}b=a+40|0;c=da(b|0,2,0,0)|0|0;if(c<<16>>16>-1){if(!(da(a+43>>0|0,1,0,0)|0)){a=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(a|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](a,(c<<16>>16)+3|0,1,5)|0}ea(b|0,-1|0,2,0)}return}function Lo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((d|0)>5)if((d|0)>100)c=15;else{if((d|0)>9){d=d+-9|0;d=_(d*39|0,d)|0}else d=1;e=da(a|0,4,0,0)|0|0;qc[(fa(da(e+60|0,4,0,0)|0|0,127|0)|0)&127](e,d)|0;e=6}else e=6;a:do if((e|0)==6){do if(!c){c=mq(a,b)|0;do if((c|0)==5){if(!(da(da(a+32|0,4,0,0)|0|0,4,0,0)|0)){c=-1;break a}b=a+43|0;if(da(b>>0|0,1,0,0)|0){c=-1;break a}d=a+4|0;c=da(d|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,2,1,6)|0;if((c|0)==5){c=261;break a}else if(c)break;if(da(b>>0|0,1,0,0)|0){c=-1;break a}c=da(d|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,2,1,5)|0;c=-1;break a}while(0);if(c)break a;d=a+32|0;g=(da(da(d|0,4,0,0)|0|0,4,0,0)|0|0)+96|0;b=a+52|0;if((da(g|0,4,0,0)|0|0)==(da(a+68|0,4,0,0)|0|0)){f=a+43|0;e=da(f>>0|0,1,0,0)|0|0;if(!(e<<24>>24)){c=da(a+4|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,3,1,6)|0;e=da(f>>0|0,1,0,0)|0|0}else c=0;if(e<<24>>24!=2){k=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(k|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](k)}if((c|0)==5){k=d;d=5;break}else if(c)break a;if(!(Yv(da(da(d|0,4,0,0)|0|0,4,0,0)|0|0,b,48)|0)){ea(a+40|0,0|0,2,0);c=0;break a}if(da(f>>0|0,1,0,0)|0){c=-1;break a}c=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,3,1,5)|0;c=-1;break a}else{k=d;d=0}}else{g=a+32|0;k=g;g=(da(da(g|0,4,0,0)|0|0,4,0,0)|0|0)+96|0;d=0}while(0);j=a+68|0;b=da(g+8|0,4,0,0)|0|0;f=b>>>0>(da(j|0,4,0,0)|0|0)>>>0;b=f?0:b;f=f&1^1;e=da(g+12|0,4,0,0)|0|0;if(b>>>0<=e>>>0){i=e>>>0>(da(j|0,4,0,0)|0|0)>>>0;f=i?f:2;b=i?b:e}e=da(g+16|0,4,0,0)|0|0;if(b>>>0<=e>>>0){i=e>>>0>(da(j|0,4,0,0)|0|0)>>>0;f=i?f:3;b=i?b:e}e=da(g+20|0,4,0,0)|0|0;if(b>>>0<=e>>>0){i=e>>>0>(da(j|0,4,0,0)|0|0)>>>0;f=i?f:4;b=i?b:e}b:do if(((da(a+46>>0|0,1,0,0)|0)&2)==0?((f|0)==0?1:b>>>0<(da(j|0,4,0,0)|0|0)>>>0):0){i=a+43|0;h=a+4|0;e=1;while(1){d=e+3|0;if(da(i>>0|0,1,0,0)|0){f=e;break}c=da(h|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,d,1,10)|0;if(!c){f=e;break}else if((c|0)!=5)break a;e=e+1|0;if((e|0)>=5){d=5;break b}}e=da(j|0,4,0,0)|0|0;ea(g+(f<<2)+4|0,e|0,4,0);if(!(da(i>>0|0,1,0,0)|0)){b=da(h|0,4,0,0)|0|0;oc[(fa(da((da(b|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](b,d,1,9)|0;b=e;d=0}else{b=e;d=0}}while(0);if(!f){c=(d|0)==5?-1:520;break}d=f+3|0;c=a+43|0;e=da(c>>0|0,1,0,0)|0|0;do if(!(e<<24>>24)){e=da(a+4|0,4,0,0)|0|0;e=oc[(fa(da((da(e|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](e,d,1,6)|0;if(!e){e=da(c>>0|0,1,0,0)|0|0;break}else{c=(e|0)==5?-1:e;break a}}while(0);if(e<<24>>24!=2){j=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(j|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](j)}if((da(g+(f<<2)+4|0,4,0,0)|0|0)==(b|0)?(Yv(da(da(k|0,4,0,0)|0|0,4,0,0)|0|0,a+52|0,48)|0)==0:0){ea(a+40|0,f|0,2,0);c=0;break}if(!(da(c>>0|0,1,0,0)|0)){c=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,d,1,5)|0;c=-1}else c=-1}while(0);return c|0}function Mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=a+56|0;di(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);bp(a);c=da(a+208|0,4,0,0)|0|0;if(!c){if(!(da(a+4>>0|0,1,0,0)|0)){d=a+60|0;c=da(d|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(!(((b|0)!=0?((kc[(fa(da(b+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)&2048|0)!=0:0)?((da(a+5>>0|0,1,0,0)|0)&5)==1:0))g=7;if((g|0)==7?(e=da(a+64|0,4,0,0)|0|0,f=da(e|0,4,0,0)|0|0,(f|0)!=0):0){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0)}b=da(d|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){if(!(da(a+13>>0|0,1,0,0)|0))b=qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](b,0)|0;else b=0;c=a+17|0;if((da(c>>0|0,1,0,0)|0|0)!=5)ea(c>>0|0,0|0,1,0);if((b|0)!=0?(da(a+16>>0|0,1,0,0)|0|0)==6:0)ea(c>>0|0,5|0,1,0)}ea(a+18>>0|0,0|0,1,0);ea(a+16>>0|0,0|0,1,0)}}else{Ko(c);ea(a+16>>0|0,0|0,1,0)}b=a+40|0;if(da(b|0,4,0,0)|0){wn(a);ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);ea(a+16>>0|0,0|0,1,0);ea(b|0,0|0,4,0)}b=a+72|0;ea(a+19>>0|0,0|0,1,0);ea(b+0|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);return}function No(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=da(c+4|0,4,0,0)|0|0;e=d+0|0;f=e+40|0;do{ea(e|0,0|0,4,0);e=e+4|0}while((e|0)<(f|0));ea(d|0,c|0,4,0);ea(d+4|0,da(c|0,4,0,0)|0|0,4,0);e=d+40|0;ea(d+8|0,e|0,4,0);ew(e|0,0,da(a+24|0,4,0,0)|0|0)|0;ea(d+28|0,a|0,4,0);ea(d+20|0,b|0,4,0);return hl(a,b,c)|0}function Oo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;g=wq(a,b,f)|0;if(!g){h=da(f|0,4,0,0)|0|0;if(!b){a=h+136|0;ea(f|0,a|0,4,0);f=a;a=0}else{f=h;a=(b<<12)+-34|0}ea(d|0,f+-4|0,4,0);ea(c|0,h+16384|0,4,0);ea(e|0,a|0,4,0)}i=k;return g|0}function Po(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=da(a+28|0,4,0,0)|0|0;g=b&255;if(g&1){c=h+8|0;if((da(c|0,4,0,0)|0|0)==(a|0)){b=a;do{b=da(b+36|0,4,0,0)|0|0;if(!b){b=0;break}}while(((da(b+24|0,2,0,0)|0)&4)!=0);ea(c|0,b|0,4,0)}b=a+32|0;d=da(b|0,4,0,0)|0|0;e=(d|0)==0;f=a+36|0;c=da(f|0,4,0,0)|0|0;if(e)ea(h+4|0,c|0,4,0);else ea(d+36|0,c|0,4,0);c=da(f|0,4,0,0)|0|0;if(!c){ea(h|0,d|0,4,0);if(e?(da(h+28>>0|0,1,0,0)|0|0)!=0:0)ea(h+29>>0|0,2|0,1,0)}else ea(c+32|0,d|0,4,0);ea(b|0,0|0,4,0);ea(f|0,0|0,4,0)}if(g&2){b=da(h|0,4,0,0)|0|0;ea(a+32|0,b|0,4,0);if(!b){ea(h+4|0,a|0,4,0);if(da(h+28>>0|0,1,0,0)|0)ea(h+29>>0|0,1|0,1,0)}else ea(b+36|0,a|0,4,0);ea(h|0,a|0,4,0);b=h+8|0;if((da(b|0,4,0,0)|0|0)==0?((da(a+24|0,2,0,0)|0)&4)==0:0)ea(b|0,a|0,4,0)}return}function Qo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;c=b>>>3;d=c&255;ea(a+5>>0|0,d|0,1,0);b=b&-9;ea(a+7>>0|0,4-(c<<2)|0,1,0);c=da(a+52|0,4,0,0)|0|0;if((b|0)==5){ea(a+2>>0|0,1|0,1,0);ea(a+3>>0|0,d|0,1,0);ea(a+4>>0|0,d<<24>>24==0&1|0,1,0);ea(a+10|0,da(c+28|0,2,0,0)|0|0|0,2,0);ea(a+12|0,da(c+30|0,2,0,0)|0|0|0,2,0);f=5}else if((b|0)==2){ea(a+2>>0|0,0|0,1,0);ea(a+3>>0|0,0|0,1,0);ea(a+4>>0|0,0|0,1,0);ea(a+10|0,da(c+24|0,2,0,0)|0|0|0,2,0);ea(a+12|0,da(c+26|0,2,0,0)|0|0|0,2,0);f=5}else{ea(e|0,54521|0,4,0);ea(e+4|0,10788|0,4,0);ad(11,13600,e);b=11}if((f|0)==5){ea(a+8>>0|0,da(c+21>>0|0,1,0,0)|0|0|0,1,0);b=0}i=g;return b|0}function Ro(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=da(a+200|0,4,0,0)|0|0;h=a+152|0;i=da(h|0,4,0,0)|0|0;k=a+148|0;g=da(k|0,4,0,0)|0|0;i=i>>>0>g>>>0?g:i;e=da(a+96|0,4,0,0)|0|0;if((e|0)>0){d=da(a+92|0,4,0,0)|0|0;c=a+72|0;f=0;do{b=d+(f*48|0)+8|0;l=b;if((da(l|0,4,0,0)|0|0)==0&(da(l+4|0,4,0,0)|0|0)==0){m=c;l=da(m+4|0,4,0,0)|0|0;ea(b|0,da(m|0,4,0,0)|0|0,4,0);ea(b+4|0,l|0,4,0)}f=f+1|0}while((f|0)<(e|0));f=c}else f=a+72|0;c=f;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if((d|0)==0&(c|0)==0){d=0;c=0}else{d=iw(d|0,c|0,-1,-1)|0;d=pw(d|0,C|0,g|0,0)|0;d=iw(d|0,C|0,1,0)|0;d=rw(d|0,C|0,g|0,0)|0;c=C}g=f;ea(g|0,d|0,4,0);ea(g+4|0,c|0,4,0);g=a+80|0;ea(g|0,d|0,4,0);ea(g+4|0,c|0,4,0);if(((da(a+7>>0|0,1,0,0)|0|0)==0?(da(a+5>>0|0,1,0,0)|0|0)!=4:0)?(g=da(a+60|0,4,0,0)|0|0,((kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0)&512|0)==0):0){d=j+0|0;c=d+12|0;do{ea(d>>0|0,0|0,1,0);d=d+1|0}while((d|0)<(c|0))}else{g=j;e=g;ea(e>>0|0,-117058087|0,1,0);ea(e+1>>0|0,-117058087>>8|0,1,0);ea(e+2>>0|0,-117058087>>16|0,1,0);ea(e+3>>0|0,-117058087>>24|0,1,0);g=g+4|0;ea(g>>0|0,-681336544|0,1,0);ea(g+1>>0|0,-681336544>>8|0,1,0);ea(g+2>>0|0,-681336544>>16|0,1,0);ea(g+3>>0|0,-681336544>>24|0,1,0);g=j+8|0;ea(g>>0|0,-1|0,1,0);ea(g+1>>0|0,-1>>8|0,1,0);ea(g+2>>0|0,-1>>16|0,1,0);ea(g+3>>0|0,-1>>24|0,1,0)}c=a+48|0;bd(4,c);c=da(c|0,4,0,0)|0|0;ea(j+12>>0|0,c>>>24|0,1,0);ea(j+13>>0|0,c>>>16|0,1,0);ea(j+14>>0|0,c>>>8|0,1,0);ea(j+15>>0|0,c|0,1,0);c=da(a+28|0,4,0,0)|0|0;ea(j+16>>0|0,c>>>24|0,1,0);ea(j+17>>0|0,c>>>16|0,1,0);ea(j+18>>0|0,c>>>8|0,1,0);ea(j+19>>0|0,c|0,1,0);c=da(k|0,4,0,0)|0|0;ea(j+20>>0|0,c>>>24|0,1,0);ea(j+21>>0|0,c>>>16|0,1,0);ea(j+22>>0|0,c>>>8|0,1,0);ea(j+23>>0|0,c|0,1,0);c=da(h|0,4,0,0)|0|0;ea(j+24>>0|0,c>>>24|0,1,0);ea(j+25>>0|0,c>>>16|0,1,0);ea(j+26>>0|0,c>>>8|0,1,0);ea(j+27>>0|0,c|0,1,0);ew(j+28|0,0,i+-28|0)|0;c=a+64|0;d=0;while(1){if(d>>>0>=(da(k|0,4,0,0)|0|0)>>>0){b=0;break}h=da(c|0,4,0,0)|0|0;b=f;b=sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,j,i,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;h=f;h=iw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,i|0,0)|0;a=f;ea(a|0,h|0,4,0);ea(a+4|0,C|0,4,0);if(!b)d=d+i|0;else break}return b|0}function So(a){a=a|0;var b=0,c=0,d=0;b=a+24|0;d=da(b|0,2,0,1)|0|0;c=d&65503;ea(b|0,c|0,2,0);if(!(d&2)){ea(b|0,c|2|0,2,0);Po(a,2)}return}function To(a){a=a|0;var b=0,c=0,d=0;b=da(a+16|0,4,0,0)|0|0;c=da(a+20|0,4,0,0)|0|0;d=da(b+96|0,4,0,0)|0|0;a:do if((d|0)>0){b=da(b+92|0,4,0,0)|0|0;a=0;while(1){if((da(b+(a*48|0)+20|0,4,0,0)|0|0)>>>0>=c>>>0?(ci(da(b+(a*48|0)+16|0,4,0,0)|0|0,c)|0)==0:0){a=1;break a}a=a+1|0;if((a|0)>=(d|0)){a=0;break}}}else a=0;while(0);return a|0}function Uo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;m=da(a+16|0,4,0,0)|0|0;c=da(m+5>>0|0,1,0,0)|0|0;a:do if(c<<24>>24!=2){l=m+68|0;d=da(l|0,4,0,0)|0|0;do if(!(da(d|0,4,0,0)|0)){if(c<<24>>24!=4?(da(m+21>>0|0,1,0,0)|0|0)==0:0){b=da(m|0,4,0,0)|0|0;b=sc[(fa(da(b+24|0,4,0,0)|0|0,31|0)|0)&31](b,0,d,8222,0)|0;if(!b)break;else break a}c=d+0|0;b=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(b|0));ea(d|0,14696|0,4,0)}while(0);d=da(a+4|0,4,0,0)|0|0;h=m+52|0;e=m+152|0;f=(da(e|0,4,0,0)|0|0)+4|0;f=rw(f|0,((f|0)<0)<<31>>31|0,da(h|0,4,0,0)|0|0,0)|0;g=C;b=da(l|0,4,0,0)|0|0;c=a+20|0;a=da(c|0,4,0,0)|0|0;ea(k>>0|0,a>>>24|0,1,0);ea(k+1>>0|0,a>>>16|0,1,0);ea(k+2>>0|0,a>>>8|0,1,0);ea(k+3>>0|0,a|0,1,0);b=sc[(fa(da((da(b|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](b,k,4,f,g)|0;if(!b){k=da(l|0,4,0,0)|0|0;l=da(e|0,4,0,0)|0|0;b=iw(f|0,g|0,4,0)|0;b=sc[(fa(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](k,d,l,b,C)|0;if(!b){b=h;n=10}}}else{c=a+20|0;b=m+52|0;n=10}while(0);if((n|0)==10){ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=il(m,da(c|0,4,0,0)|0|0)|0}i=o;return b|0}function Vo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+48|0;if((i|0)>=(j|0))ba();f=g;c=(a|0)!=0;a:do if(c&(b|0)!=0){c=f;while(1){e=da(b+20|0,4,0,0)|0|0;d=a;a=c;while(1){a=a+12|0;if((da(d+20|0,4,0,0)|0|0)>>>0>=e>>>0)break;ea(a|0,d|0,4,0);a=da(d+12|0,4,0,0)|0|0;if(!a){c=b;a=d;d=8;break a}else{c=d;d=a;a=c}}ea(a|0,b|0,4,0);e=da(b+12|0,4,0,0)|0|0;c=(d|0)!=0;if(c&(e|0)!=0){c=b;a=d;b=e}else{a=d;d=6;break}}}else{e=b;b=f;d=6}while(0);if((d|0)==6)if(c)ea(b+12|0,a|0,4,0);else{c=e;a=b;d=8}do if((d|0)==8){a=a+12|0;if(!c){ea(a|0,0|0,4,0);break}else{ea(a|0,c|0,4,0);break}}while(0);i=g;return da(f+12|0,4,0,0)|0|0}function Wo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(da(a+32|0,4,0,0)|0|0,4,0,0)|0|0;h=a+84|0;g=a+104|0;ea(g|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);ea(a+68|0,0|0,4,0);g=h+1|0;f=h+2|0;e=h+3|0;d=((da(g>>0|0,1,0,1)|0|0)<<16|(da(h>>0|0,1,0,1)|0|0)<<24|(da(f>>0|0,1,0,1)|0|0)<<8|(da(e>>0|0,1,0,1)|0|0))+1|0;ea(h>>0|0,d>>>24|0,1,0);ea(g>>0|0,d>>>16|0,1,0);ea(f>>0|0,d>>>8|0,1,0);ea(e>>0|0,d|0,1,0);ea(a+88|0,b|0,4,0);_o(a);ea(c+96|0,0|0,4,0);ea(c+104|0,0|0,4,0);ea(c+108|0,-1|0,4,0);ea(c+112|0,-1|0,4,0);ea(c+116|0,-1|0,4,0);return}function Xo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();h=g;f=da(b+4|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;m=da(b+20|0,4,0,0)|0|0;b=k+76|0;ea(h>>0|0,m>>>24|0,1,0);ea(h+1>>0|0,m>>>16|0,1,0);ea(h+2>>0|0,m>>>8|0,1,0);ea(h+3>>0|0,m|0,1,0);ea(h+4>>0|0,c>>>24|0,1,0);ea(h+5>>0|0,c>>>16|0,1,0);ea(h+6>>0|0,c>>>8|0,1,0);ea(h+7>>0|0,c|0,1,0);c=k+84|0;m=c;m=da(m>>0|0,1,0,1)|0|(da(m+1>>0|0,1,0,1)|0)<<8|(da(m+2>>0|0,1,0,1)|0)<<16|(da(m+3>>0|0,1,0,1)|0)<<24;c=c+4|0;c=da(c>>0|0,1,0,1)|0|(da(c+1>>0|0,1,0,1)|0)<<8|(da(c+2>>0|0,1,0,1)|0)<<16|(da(c+3>>0|0,1,0,1)|0)<<24;l=h+8|0;n=l;ea(n>>0|0,m|0,1,0);ea(n+1>>0|0,m>>8|0,1,0);ea(n+2>>0|0,m>>16|0,1,0);ea(n+3>>0|0,m>>24|0,1,0);l=l+4|0;ea(l>>0|0,c|0,1,0);ea(l+1>>0|0,c>>8|0,1,0);ea(l+2>>0|0,c>>16|0,1,0);ea(l+3>>0|0,c>>24|0,1,0);c=(da(k+65>>0|0,1,0,0)|0|0)==0&1;xq(c,h,8,b,b);xq(c,f,da(k+36|0,4,0,0)|0|0,b,b);c=da(b|0,4,0,0)|0|0;ea(h+16>>0|0,c>>>24|0,1,0);ea(h+17>>0|0,c>>>16|0,1,0);ea(h+18>>0|0,c>>>8|0,1,0);ea(h+19>>0|0,c|0,1,0);c=da(k+80|0,4,0,0)|0|0;ea(h+20>>0|0,c>>>24|0,1,0);ea(h+21>>0|0,c>>>16|0,1,0);ea(h+22>>0|0,c>>>8|0,1,0);ea(h+23>>0|0,c|0,1,0);c=yq(a,h,24,d,e)|0;if(!c){l=da(a+20|0,4,0,0)|0|0;c=iw(d|0,e|0,24,0)|0;c=yq(a,f,l,c,C)|0}i=g;return c|0}function Yo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h+8|0;d=h;e=da(3164*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]();f=a+8|0;e=da(f|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](e,d)|0;k=da(d+4|0,4,0,0)|0|0;if((e|0)==0&((k|0)>(c|0)|((k|0)==(c|0)?(da(d|0,4,0,0)|0|0)>>>0>b>>>0:0))){e=da(f|0,4,0,0)|0|0;e=$b[(fa(da((da(e|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](e,b,c)|0}d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(e){ea(g|0,da(a+100|0,4,0,0)|0|0,4,0);ad(e,14816,g)}i=h;return}function Zo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();g=l;e=l+16|0;k=l+12|0;h=l+8|0;ea(e|0,0|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);d=Oo(a,(b+33|0)>>>12,h,k,e)|0;a:do if(!d){f=b-(da(e|0,4,0,0)|0|0)|0;if((f|0)==1){d=da(k|0,4,0,0)|0|0;b=d+4|0;ew(b|0,0,(da(h|0,4,0,0)|0|0)+16384-b|0)|0}else d=da(k|0,4,0,0)|0|0;if(da(d+(f<<2)|0,4,0,0)|0)zq(a);d=c*383&8191;b:do if(da((da(h|0,4,0,0)|0|0)+(d<<1)|0,2,0,0)|0){b=da(h|0,4,0,0)|0|0;e=f;while(1){if(!e)break;d=d+1&8191;if(!(da(b+(d<<1)|0,2,0,0)|0))break b;else e=e+-1|0}ea(g|0,49852|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11;break a}while(0);ea((da(k|0,4,0,0)|0|0)+(f<<2)|0,c|0,4,0);ea((da(h|0,4,0,0)|0|0)+(d<<1)|0,f|0,2,0);d=0}while(0);i=l;return d|0}function _o(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=da(da(a+32|0,4,0,0)|0|0,4,0,0)|0|0;i=a+52|0;ea(a+64>>0|0,1|0,1,0);ea(i|0,3007e3|0,4,0);g=a+92|0;e=3007e3;f=i;d=0;b=0;while(1){d=d+b+e|0;c=f+8|0;b=d+b+(da(f+4|0,4,0,0)|0|0)|0;if(c>>>0>=g>>>0)break;e=da(c|0,4,0,0)|0|0;f=c}ea(g|0,d|0,4,0);ea(a+96|0,b|0,4,0);b=h+48|0;c=i+0|0;d=b+48|0;do{ea(b>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;c=c+1|0}while((b|0)<(d|0));if((da(a+43>>0|0,1,0,0)|0|0)!=2){b=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(b|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](b)}b=h+0|0;c=i+0|0;d=b+48|0;do{ea(b>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;c=c+1|0}while((b|0)<(d|0));return}function $o(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(a)do{d=a+28|0;f=da(d|0,4,0,0)|0|0;if(((f>>>0<7?(30>>>(f&127)&1)==0:0)?(da(a+16|0,4,0,0)|0|0)>>>0>b>>>0:0)?(e=zg(a,b,c,1)|0,(e|0)!=0):0)ea(d|0,e|0,4,0);a=da(a+44|0,4,0,0)|0|0}while((a|0)!=0);return}function ap(a){a=a|0;var b=0,c=0,d=0;a:do if(!(da(a+208|0,4,0,0)|0)){c=a+176|0;d=a+180|0;while(1){b=el(a,4)|0;if((b|0)!=5)break a;if(!(kc[(fa(da(c|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)){b=5;break}}}else b=0;while(0);return b|0}function bp(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+96|0;if((da(d|0,4,0,0)|0|0)>0){b=a+92|0;c=0;do{di(da((da(b|0,4,0,0)|0|0)+(c*48|0)+16|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(d|0,4,0,0)|0|0))}c=da(a+68|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(!(da(a+4>>0|0,1,0,0)|0)){if(b)e=7}else if((b|0)==14696){b=14696;e=7}if((e|0)==7){kc[(fa(da(b+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}b=a+92|0;Vc(da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0);ea(d|0,0|0,4,0);ea(a+52|0,0|0,4,0);return}function cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+40|0;if(da(e|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;if(c)do{d=c;c=da(c+32|0,4,0,0)|0|0;if((da(d+20|0,4,0,0)|0|0)>>>0>b>>>0)wl(d)}while((c|0)!=0);if(!b){b=da(a+44|0,4,0,0)|0|0;if(!b)b=0;else{ew(da(b+4|0,4,0,0)|0|0,0,da(a+20|0,4,0,0)|0|0)|0;b=1}}ic[(fa(da(8744+144|0,4,0,0)|0|0,15|0)|0)&15](da(e|0,4,0,0)|0|0,b+1|0)}return}function dp(a,b){a=a|0;b=b|0;var c=0,d=0;do if(!b){c=a+43|0;if(!(da(c>>0|0,1,0,0)|0))c=0;else{ea(c>>0|0,0|0,1,0);d=da(a+4|0,4,0,0)|0|0;if(!(oc[(fa(da((da(d|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](d,(da(a+40|0,2,0,0)|0|0)+3|0,1,6)|0))c=(da(c>>0|0,1,0,0)|0|0)==0;else{ea(c>>0|0,1|0,1,0);c=0}c=c&1}}else{c=a+43|0;d=(da(c>>0|0,1,0,0)|0|0)==0;if((b|0)<=0){c=d&1;break}if(d){d=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(d|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](d,(da(a+40|0,2,0,0)|0|0)+3|0,1,5)|0}ea(c>>0|0,1|0,1,0);c=1}while(0);return c|0}function ep(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)==2)ea(c>>0|0,1|0,1,0);else ea(a+68|0,0|0,4,0);b=a+48|0;jm(a,b);do if(!(da((da(a+120|0,4,0,0)|0|0)+2>>0|0,1,0,0)|0)){d=b;d=pg(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0;if(d){b=Km(a,0,da(b|0,4,0,0)|0|0,d,0)|0;if(!b){ea(a+56|0,d|0,4,0);e=9;break}else{Vc(d);break}}else b=7}else e=9;while(0);if((e|0)==9){fp(a);ea(c>>0|0,3|0,1,0);b=0}c=a+72|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&251|0,1,0);return b|0}function fp(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+76|0;if((da(b|0,2,0,0)|0|0)>=0){e=0;while(1){c=a+(e<<2)+120|0;d=da(c|0,4,0,0)|0|0;if(d)Ag(da(d+68|0,4,0,0)|0|0);ea(c|0,0|0,4,0);if((e|0)<(da(b|0,2,0,0)|0|0))e=e+1|0;else break}}ea(b|0,-1|0,2,0);return}function gp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;g=k+8|0;if(b>>>0<2)e=0;else{e=b+-2|0;e=e-((e>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;e=((e+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+e|0}a=yg(da(a|0,4,0,0)|0|0,e,g,0)|0;do if(!a){f=da(g|0,4,0,0)|0|0;g=da(f+4|0,4,0,0)|0|0;a=(b-e|0)*5|0;e=a+-5|0;if((e|0)<0){if(f)Ag(f);ea(h|0,53912|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);a=11;break}ea(c>>0|0,da(g+e>>0|0,1,0,0)|0|0|0,1,0);if(d)ea(d|0,(da(g+(a+-3)>>0|0,1,0,1)|0|0)<<16|(da(g+(a+-4)>>0|0,1,0,1)|0|0)<<24|(da(g+(a+-2)>>0|0,1,0,1)|0|0)<<8|(da(g+(a+-1)>>0|0,1,0,1)|0|0)|0,4,0);if(f)Ag(f);if(((da(c>>0|0,1,0,0)|0|0)+-1&255)>4){ea(h|0,53920|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);a=11}else a=0}while(0);i=k;return a|0}function hp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+32|0;if((i|0)>=(j|0))ba();F=G;E=G+16|0;k=G+20|0;D=G+12|0;o=G+8|0;ea(E|0,0|0,4,0);n=a+12|0;h=da(n|0,4,0,0)|0|0;m=a+44|0;B=da(m|0,4,0,0)|0|0;C=h+56|0;g=da(C|0,4,0,0)|0|0;g=(da(g+37>>0|0,1,0,1)|0)<<16|(da(g+36>>0|0,1,0,1)|0)<<24|(da(g+38>>0|0,1,0,1)|0)<<8|(da(g+39>>0|0,1,0,1)|0);do if(g>>>0<B>>>0){if(!g){l=(da(a+19>>0|0,1,0,0)|0|0)==0&1;h=Fg(da(h+68|0,4,0,0)|0|0)|0;if(h){f=h;break}k=da(m|0,4,0,0)|0|0;g=k+1|0;ea(m|0,g|0,4,0);e=a+32|0;h=da(e|0,4,0,0)|0|0;if((k|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/(h>>>0)|0|0)){g=k+2|0;ea(m|0,g|0,4,0)}if(da(a+17>>0|0,1,0,0)|0){if(g>>>0<2)k=0;else{k=g+-2|0;k=k-((k>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/(h>>>0)|0|0)?3:2)+k|0}if((k|0)==(g|0)){ea(o|0,0|0,4,0);k=cl(a,g,o,l)|0;if(k){f=k;break}B=da(o|0,4,0,0)|0|0;k=B+68|0;h=Fg(da(k|0,4,0,0)|0|0)|0;if(B)Ag(da(k|0,4,0,0)|0|0);if(h){f=h;break}k=da(m|0,4,0,0)|0|0;g=k+1|0;ea(m|0,g|0,4,0);if((k|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(e|0,4,0,0)|0|0)>>>0)|0|0)){g=k+2|0;ea(m|0,g|0,4,0)}}}e=da((da(n|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(e+28>>0|0,g>>>24|0,1,0);ea(e+29>>0|0,g>>>16|0,1,0);ea(e+30>>0|0,g>>>8|0,1,0);ea(e+31>>0|0,g|0,1,0);e=da(m|0,4,0,0)|0|0;ea(c|0,e|0,4,0);e=cl(a,e,b,l)|0;if(e){f=e;break}e=Fg(da((da(b|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;if(e){f=da(b|0,4,0,0)|0|0;if(!f){f=e;w=98}else{Ag(da(f+68|0,4,0,0)|0|0);f=e;w=92}}}else{if(e<<24>>24==2)k=1;else if(e<<24>>24==1?B>>>0>=d>>>0:0){f=gp(a,d,k,0)|0;if(f)break;k=(da(k>>0|0,1,0,0)|0|0)==2&1}else k=0;f=Fg(da(h+68|0,4,0,0)|0|0)|0;if(f)break;z=da(C|0,4,0,0)|0|0;y=g+-1|0;ea(z+36>>0|0,y>>>24|0,1,0);ea(z+37>>0|0,y>>>16|0,1,0);ea(z+38>>0|0,y>>>8|0,1,0);ea(z+39>>0|0,y|0,1,0);y=a+36|0;z=(d|0)==0;A=a+60|0;x=e<<24>>24==2;e=0;a:while(1){p=(e|0)!=0;if(p){o=da(e+56|0,4,0,0)|0|0;o=(da(o+1>>0|0,1,0,1)|0)<<16|(da(o>>0|0,1,0,1)|0)<<24|(da(o+2>>0|0,1,0,1)|0)<<8|(da(o+3>>0|0,1,0,1)|0)}else{o=da(C|0,4,0,0)|0|0;o=(da(o+33>>0|0,1,0,1)|0)<<16|(da(o+32>>0|0,1,0,1)|0)<<24|(da(o+34>>0|0,1,0,1)|0)<<8|(da(o+35>>0|0,1,0,1)|0)}if(o>>>0>B>>>0){w=15;break}f=cl(a,o,E,0)|0;if(f){w=17;break}g=da(E|0,4,0,0)|0|0;q=g+56|0;u=da(q|0,4,0,0)|0|0;v=u+4|0;r=u+5|0;s=u+6|0;t=u+7|0;w=(da(r>>0|0,1,0,1)|0)<<16|(da(v>>0|0,1,0,1)|0)<<24|(da(s>>0|0,1,0,1)|0)<<8|(da(t>>0|0,1,0,1)|0);f=k<<24>>24!=0;do if((w|0)!=0|f){if(w>>>0>(((da(y|0,4,0,0)|0|0)>>>2)+-2|0)>>>0){f=g;w=22;break a}if(k<<24>>24!=0?(o|0)==(d|0)|o>>>0<d>>>0&x:0){ea(c|0,o|0,4,0);ea(b|0,g|0,4,0);f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}do if(!w){if(!p){v=(da(C|0,4,0,0)|0|0)+32|0;w=da(q|0,4,0,0)|0|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(v>>0|0,w|0,1,0);ea(v+1>>0|0,w>>8|0,1,0);ea(v+2>>0|0,w>>16|0,1,0);ea(v+3>>0|0,w>>24|0,1,0);break}f=Fg(da(e+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}v=da(e+56|0,4,0,0)|0|0;w=da(q|0,4,0,0)|0|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(v>>0|0,w|0,1,0);ea(v+1>>0|0,w>>8|0,1,0);ea(v+2>>0|0,w>>16|0,1,0);ea(v+3>>0|0,w>>24|0,1,0)}else{o=da(q|0,4,0,0)|0|0;l=da(o+8>>0|0,1,0,0)|0|0;m=da(o+9>>0|0,1,0,0)|0|0;n=da(o+10>>0|0,1,0,0)|0|0;o=da(o+11>>0|0,1,0,0)|0|0;k=(m&255)<<16|(l&255)<<24|(n&255)<<8|o&255;if(k>>>0>B>>>0){f=g;w=32;break a}f=cl(a,k,D,0)|0;if(f){w=88;break a}k=da(D|0,4,0,0)|0|0;h=k+68|0;f=Fg(da(h|0,4,0,0)|0|0)|0;if(f){w=35;break a}v=k+56|0;t=da(v|0,4,0,0)|0|0;u=da(q|0,4,0,0)|0|0;u=da(u>>0|0,1,0,1)|0|(da(u+1>>0|0,1,0,1)|0)<<8|(da(u+2>>0|0,1,0,1)|0)<<16|(da(u+3>>0|0,1,0,1)|0)<<24;ea(t>>0|0,u|0,1,0);ea(t+1>>0|0,u>>8|0,1,0);ea(t+2>>0|0,u>>16|0,1,0);ea(t+3>>0|0,u>>24|0,1,0);u=da(v|0,4,0,0)|0|0;w=w+-1|0;ea(u+4>>0|0,w>>>24|0,1,0);ea(u+5>>0|0,w>>>16|0,1,0);ea(u+6>>0|0,w>>>8|0,1,0);ea(u+7>>0|0,w|0,1,0);jw((da(v|0,4,0,0)|0|0)+8|0,(da(q|0,4,0,0)|0|0)+12|0,w<<2|0)|0;if(k)Ag(da(h|0,4,0,0)|0|0);if(!p){w=da(C|0,4,0,0)|0|0;ea(w+32>>0|0,l|0,1,0);ea(w+33>>0|0,m|0,1,0);ea(w+34>>0|0,n|0,1,0);ea(w+35>>0|0,o|0,1,0);break}f=Fg(da(e+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}w=da(e+56|0,4,0,0)|0|0;ea(w>>0|0,l|0,1,0);ea(w+1>>0|0,m|0,1,0);ea(w+2>>0|0,n|0,1,0);ea(w+3>>0|0,o|0,1,0)}while(0);ea(E|0,0|0,4,0);g=0;f=0;k=0;break}if(w){b:do if(!z){if(x){h=0;while(1){q=h<<2;if(((da(u+(q+9)>>0|0,1,0,1)|0)<<16|(da(u+(q+8)>>0|0,1,0,1)|0)<<24|(da(u+(q+10)>>0|0,1,0,1)|0)<<8|(da(u+(q+11)>>0|0,1,0,1)|0))>>>0<=d>>>0)break b;h=h+1|0;if(h>>>0>=w>>>0){h=0;break b}}}h=((da(u+9>>0|0,1,0,1)|0)<<16|(da(u+8>>0|0,1,0,1)|0)<<24|(da(u+10>>0|0,1,0,1)|0)<<8|(da(u+11>>0|0,1,0,1)|0))-d|0;if((h|0)<=-1)h=(h|0)==-2147483648?2147483647:0-h|0;if(w>>>0>1){o=0;m=1;while(1){l=m<<2;l=((da(u+(l+9)>>0|0,1,0,1)|0)<<16|(da(u+(l+8)>>0|0,1,0,1)|0)<<24|(da(u+(l+10)>>0|0,1,0,1)|0)<<8|(da(u+(l+11)>>0|0,1,0,1)|0))-d|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;n=(l|0)<(h|0);o=n?m:o;m=m+1|0;if((m|0)==(w|0)){h=o;break}else h=n?l:h}}else h=0}else h=0;while(0);l=h<<2;o=u+(l+8)|0;l=(da(u+(l+9)>>0|0,1,0,1)|0)<<16|(da(o>>0|0,1,0,1)|0)<<24|(da(u+(l+10)>>0|0,1,0,1)|0)<<8|(da(u+(l+11)>>0|0,1,0,1)|0);if(l>>>0>B>>>0){f=g;w=56;break a}if((l|0)==(d|0)|f^1|l>>>0<d>>>0&x){ea(c|0,l|0,4,0);f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}k=w+-1|0;if(h>>>0<k>>>0){w=u+((w<<2)+4)|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(o>>0|0,w|0,1,0);ea(o+1>>0|0,w>>8|0,1,0);ea(o+2>>0|0,w>>16|0,1,0);ea(o+3>>0|0,w>>24|0,1,0)}ea(v>>0|0,k>>>24|0,1,0);ea(r>>0|0,k>>>16|0,1,0);ea(s>>0|0,k>>>8|0,1,0);ea(t>>0|0,k|0,1,0);h=da(c|0,4,0,0)|0|0;k=da(A|0,4,0,0)|0|0;do if(!k)k=0;else{if((da(k|0,4,0,0)|0|0)>>>0<h>>>0){k=1;break}k=(ci(k,h)|0)!=0}while(0);f=cl(a,h,b,k&1^1)|0;if(f){k=0;break}f=Fg(da((da(b|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;if(!f){f=0;k=0;break}k=da(b|0,4,0,0)|0|0;if(!k){k=0;break}Ag(da(k+68|0,4,0,0)|0|0);k=0}else f=0}else f=0}else{f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=89;break a}ea(c|0,o|0,4,0);k=(da(C|0,4,0,0)|0|0)+32|0;f=da(q|0,4,0,0)|0|0;f=da(f>>0|0,1,0,1)|0|(da(f+1>>0|0,1,0,1)|0)<<8|(da(f+2>>0|0,1,0,1)|0)<<16|(da(f+3>>0|0,1,0,1)|0)<<24;ea(k>>0|0,f|0,1,0);ea(k+1>>0|0,f>>8|0,1,0);ea(k+2>>0|0,f>>16|0,1,0);ea(k+3>>0|0,f>>24|0,1,0);ea(b|0,g|0,4,0);ea(E|0,0|0,4,0);g=0;f=0;k=0}while(0);if(e)Ag(da(e+68|0,4,0,0)|0|0);if(!(k<<24>>24)){e=0;w=88;break}else e=g}if((w|0)==15){ea(F|0,58314|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11;w=17}else if((w|0)==22){ea(F|0,58343|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}else if((w|0)==32){ea(F|0,58377|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}else if((w|0)==35)if(!k)w=88;else{Ag(da(h|0,4,0,0)|0|0);w=88}else if((w|0)==56){ea(F|0,58442|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}if((w|0)==17)ea(E|0,0|0,4,0);else if((w|0)==88)if(g)w=89;if((w|0)==89)Ag(da(g+68|0,4,0,0)|0|0);if(!e)w=92;else{Ag(da(e+68|0,4,0,0)|0|0);w=92}}if((w|0)==92?(f|0)!=0:0)w=98;if((w|0)==98){ea(b|0,0|0,4,0);break}f=da(b|0,4,0,0)|0|0;e=da(f+68|0,4,0,0)|0|0;if((da(e+26|0,2,0,0)|0|0)<=1){ea(f>>0|0,0|0,1,0);f=0;break}if(f)Ag(e);ea(b|0,0|0,4,0);ea(F|0,58541|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11}else{ea(F|0,58259|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11}while(0);i=G;return f|0}function ip(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();r=w+12|0;q=w+8|0;v=w;d=da(a+40|0,4,0,0)|0|0;a:do if(!d){f=a+96|0;e=da(f|0,4,0,0)|0|0;if((e|0)>(c|0)){d=(b|0)==1;c=(d&1^1)+c|0;if((c|0)<(e|0)){b=a+92|0;e=c;do{di(da((da(b|0,4,0,0)|0|0)+(e*48|0)+16|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(f|0,4,0,0)|0|0))}ea(f|0,c|0,4,0);if(d){if(c){d=0;break}d=da(a+68|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;if(!e){d=0;break}if((e|0)==14696)d=Fi(d,0,0)|0;else d=0;ea(a+52|0,0|0,4,0);break}p=a+208|0;if((da(p|0,4,0,0)|0|0)==0?(da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)==0:0){d=0;break}if(!c)s=0;else s=(da(a+92|0,4,0,0)|0|0)+((c+-1|0)*48|0)|0;o=(s|0)!=0;d=s+20|0;if(o){b=da(d|0,4,0,0)|0|0;e=pg(512,0)|0;if(!e){d=7;break}ew(e|0,0,512)|0;ea(e|0,b|0,4,0);u=e}else u=0;f=a+28|0;c=a+24|0;ea(c|0,da((o?d:f)|0,4,0,0)|0|0,4,0);ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);b:do if(o){f=a+72|0;c=f;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if(!(da(p|0,4,0,0)|0)){e=s+8|0;h=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;b=(h|0)==0&(e|0)==0;h=b?g:h;e=b?c:e;b=s;d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;m=f;ea(m|0,d|0,4,0);ea(m+4|0,b|0,4,0);if((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)while(1){d=vq(a,f,u,1,1)|0;if(d){l=g;k=c;break b}b=f;d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if(!((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)){t=39;break}}else t=39}else t=38}else{n=da(p|0,4,0,0)|0|0;if(!n){f=a+72|0;c=f;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;t=38;break}ea(c|0,da(f|0,4,0,0)|0|0,4,0);if(da(n+44>>0|0,1,0,0)|0){g=n+68|0;k=da(g|0,4,0,0)|0|0;h=n+32|0;c=da(h|0,4,0,0)|0|0;e=n+52|0;d=(da(c|0,4,0,0)|0|0)+0|0;b=e+48|0;do{ea(e>>0|0,da(d>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;d=d+1|0}while((e|0)<(b|0));e=da(g|0,4,0,0)|0|0;d=e+1|0;if(d>>>0>k>>>0)d=0;else{f=d;while(1){e=e+34|0;d=e>>>12;if(!d)e=(da(c|0,4,0,0)|0|0)+(e<<2)|0;else e=(da(c+(d<<2)|0,4,0,0)|0|0)+((e&4095)<<2)|0;d=Aq(a,da(e|0,4,0,0)|0|0)|0;e=f+1|0;if((d|0)!=0|e>>>0>k>>>0)break;m=f;c=da(h|0,4,0,0)|0|0;f=e;e=m}e=da(g|0,4,0,0)|0|0}if((k|0)!=(e|0))zq(n)}else d=0;e=ul(da(a+204|0,4,0,0)|0|0)|0;if(!((e|0)!=0&(d|0)==0))break a;while(1){d=e;e=da(e+12|0,4,0,0)|0|0;d=Aq(a,da(d+20|0,4,0,0)|0|0)|0;if(!((e|0)!=0&(d|0)==0))break a}}while(0);if((t|0)==38){b=f;ea(b|0,0|0,4,0);ea(b+4|0,0|0,4,0);b=0;d=0;t=39}c:do if((t|0)==39){l=a+80|0;m=a+148|0;n=a+152|0;if((b|0)<(c|0)|(b|0)==(c|0)&d>>>0<g>>>0)while(1){ea(r|0,0|0,4,0);d=uq(a,0,g,c,r,q)|0;b=da(r|0,4,0,0)|0|0;if(!b){b=l;b=iw(da(m|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;e=C;h=f;if((b|0)==(da(h|0,4,0,0)|0|0)?(e|0)==(da(h+4|0,4,0,0)|0|0):0){t=cw(g|0,c|0,b|0,e|0)|0;b=(da(n|0,4,0,0)|0|0)+8|0;b=pw(t|0,C|0,b|0,((b|0)<0)<<31>>31|0)|0;ea(r|0,b|0,4,0);t=46}else t=40}else t=46;d:do if((t|0)==46){t=0;if((d|0)==0&(b|0)!=0){k=0;while(1){e=f;h=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if(!((e|0)<(c|0)|(e|0)==(c|0)&h>>>0<g>>>0)){b=h;break d}d=vq(a,f,u,1,1)|0;k=k+1|0;if(!((d|0)==0&k>>>0<b>>>0)){t=40;break}}}else t=40}while(0);if((t|0)==40){t=0;if(d){l=g;k=c;break c}b=f;e=da(b+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0}if(!((e|0)<(c|0)|(e|0)==(c|0)&b>>>0<g>>>0)){l=g;k=c;d=0;break}}else{l=g;k=c;d=0}}while(0);e:do if(!o){di(u);if(d)break a}else{h=s+24|0;e=da(h|0,4,0,0)|0|0;m=(da(a+152|0,4,0,0)|0|0)+4|0;m=rw(m|0,((m|0)<0)<<31>>31|0,e|0,0)|0;g=v;ea(g|0,m|0,4,0);ea(g+4|0,C|0,4,0);g=da(p|0,4,0,0)|0|0;if(!g){if(!d)t=57}else{c=s+28|0;b=s+40|0;d=g+104|0;if((da(b|0,4,0,0)|0|0)==(da(d|0,4,0,0)|0|0))b=da(c|0,4,0,0)|0|0;else{ea(c|0,0|0,4,0);ea(b|0,da(d|0,4,0,0)|0|0,4,0);b=0}c=g+68|0;if(b>>>0<(da(c|0,4,0,0)|0|0)>>>0){ea(c|0,b|0,4,0);ea(g+76|0,da(s+32|0,4,0,0)|0|0,4,0);ea(g+80|0,da(s+36|0,4,0,0)|0|0,4,0);zq(g);e=da(h|0,4,0,0)|0|0;t=57}else t=57}f:do if((t|0)==57){b=a+52|0;while(1){if(e>>>0>=(da(b|0,4,0,0)|0|0)>>>0)break;d=vq(a,v,u,0,1)|0;if(!d)e=e+1|0;else break f}di(u);break e}while(0);di(u);break a}while(0);d=f;ea(d|0,l|0,4,0);ea(d+4|0,k|0,4,0);d=0}else d=0}while(0);i=w;return d|0}function jp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=da(a|0,4,0,0)|0|0;if(b){f=da(a+4|0,4,0,0)|0|0;ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);d=a+56|0;Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);ea(a+73>>0|0,0|0,1,0);d=da(a+12|0,4,0,0)|0|0;c=a+8|0;b=da(c|0,4,0,0)|0|0;if(!d)ea(f+8|0,b|0,4,0);else{ea(d+8|0,b|0,4,0);b=da(c|0,4,0,0)|0|0}if(b)ea(b+12|0,d|0,4,0);e=a+76|0;b=da(e|0,2,0,0)|0|0;if(b<<16>>16>=0){c=0;while(1){d=da(a+(c<<2)+120|0,4,0,0)|0|0;if(d){Ag(da(d+68|0,4,0,0)|0|0);b=da(e|0,2,0,0)|0|0}if((c|0)<(b<<16>>16|0))c=c+1|0;else break}}if((da(f+20>>0|0,1,0,0)|0|0)==0?(g=f+12|0,h=da(g|0,4,0,0)|0|0,(h|0)!=0):0){ea(g|0,0|0,4,0);Ag(da(h+68|0,4,0,0)|0|0)}Vc(da(a+20|0,4,0,0)|0|0)}return}function kp(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+200|0,4,0,0)|0|0;b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();c=da(a+136|0,4,0,0)|0|0;if(c)do{b=c;c=da(c+12|0,4,0,0)|0|0;Vc(b)}while((c|0)!=0);ea(a+4>>0|0,0|0,1,0);b=a+208|0;qn(da(b|0,4,0,0)|0|0,da(a+9>>0|0,1,0,1)|0|0,da(a+152|0,4,0,0)|0|0,e)|0;ea(b|0,0|0,4,0);wn(a);if(!(da(a+15>>0|0,1,0,0)|0)){if((da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(d=Io(a)|0,b=d&255,(b|0)==10|(b|0)==13):0){ea(a+40|0,d|0,4,0);ea(a+16>>0|0,6|0,1,0)}ml(a)}else Mo(a);b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();b=da(a+64|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}c=da(a+60|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(b){kc[(fa(da(b+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}_k(e);bc[(fa(da(8744+148|0,4,0,0)|0|0,31|0)|0)&31](da((da(a+204|0,4,0,0)|0|0)+40|0,4,0,0)|0|0);Vc(a);return}function lp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=da(a+4|0,4,0,0)|0|0;g=pg(f,((f|0)<0)<<31>>31)|0;do if(g){ew(g|0,0,f|0)|0;f=sc[(fa(da(a+24|0,4,0,0)|0|0,31|0)|0)&31](a,b,g,d&556927,e)|0;if(!f){ea(c|0,g|0,4,0);f=0;break}else{Vc(g);break}}else f=7;while(0);return f|0}function mp(a){a=a|0;var b=0,c=0,d=0;b=a+16|0;c=a+12|0;d=a+10|0;if(!(Sl(da(b|0,4,0,0)|0|0,a,da(c|0,4,0,0)|0|0,da(d>>0|0,1,0,0)|0|0)|0))b=0;else{b=(Tl(da(b|0,4,0,0)|0|0,a,da(c|0,4,0,0)|0|0,da(d>>0|0,1,0,0)|0|0)|0)==0;b=b?4:8}return b|0}function np(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,2,0,0)|0|0;do if(!(b&13))if(!(Tl(da(a+16|0,4,0,0)|0|0,a,da(a+12|0,4,0,0)|0|0,da(a+10>>0|0,1,0,0)|0|0)|0)){b=((da(c|0,2,0,1)|0|0)&48640|4)&65535;ea(c|0,b|0,2,0);break}else{ea(a|0,+(+Tg(a)),8,1);ea(c|0,(da(c|0,2,0,1)|0|0)&48640|8|0,2,0);cm(a);b=da(c|0,2,0,0)|0|0;break}while(0);ea(c|0,b&65517|0,2,0);return}function op(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+80|0;if((i|0)>=(j|0))ba();o=q+40|0;p=q;e=c+4|0;if((da(a+10>>0|0,1,0,0)|0|0)!=(da(e>>0|0,1,0,0)|0|0)){n=da(a+32|0,4,0,0)|0|0;k=o+8|0;ea(k|0,1|0,2,0);ea(o+32|0,n|0,4,0);l=o+24|0;ea(l|0,0|0,4,0);m=p+8|0;ea(m|0,1|0,2,0);ea(p+32|0,n|0,4,0);n=p+24|0;ea(n|0,0|0,4,0);Yl(o,a,4096);Yl(p,b,4096);a=Rg(o,da(e>>0|0,1,0,0)|0|0)|0;h=(a|0)==0;if(h)g=0;else g=da(o+12|0,4,0,0)|0|0;e=Rg(p,da(e>>0|0,1,0,0)|0|0)|0;f=(e|0)==0;if(f)b=0;else b=da(p+12|0,4,0,0)|0|0;a=sc[(fa(da(c+12|0,4,0,0)|0|0,31|0)|0)&31](da(c+8|0,4,0,0)|0|0,g,a,b,e)|0;if(!(((da(k|0,2,0,0)|0)&9312)==0&(da(l|0,4,0,0)|0|0)==0))Pg(o);if(!(((da(m|0,2,0,0)|0)&9312)==0&(da(n|0,4,0,0)|0|0)==0))Pg(p);if((h|f)&(d|0)!=0)ea(d>>0|0,7|0,1,0)}else a=sc[(fa(da(c+12|0,4,0,0)|0|0,31|0)|0)&31](da(c+8|0,4,0,0)|0|0,da(a+12|0,4,0,0)|0|0,da(a+16|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,da(b+16|0,4,0,0)|0|0)|0;i=q;return a|0}function pp(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+12|0,4,0,0)|0|0;c=da(b+12|0,4,0,0)|0|0;a=Yv(da(a+16|0,4,0,0)|0|0,da(b+16|0,4,0,0)|0|0,(d|0)>(c|0)?c:d)|0;return ((a|0)==0?d-c|0:a)|0}function qp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;do if(!(da(a+3>>0|0,1,0,0)|0)){if(da(a+4>>0|0,1,0,0)|0){ea(c+20|0,((rp(b+4|0,c)|0)&255)+4|0,2,0);e=c+8|0;ea(e+0|0,0|0,4,0);ea(e+4|0,0|0,4,0);ea(e+8|0,0|0,4,0);break}f=da(a+7>>0|0,1,0,1)|0|0;e=b+f|0;d=da(e>>0|0,1,0,0)|0|0;if(d<<24>>24>-1){e=d&255;ea(g|0,e|0,4,0);d=1}else{d=lm(e,g)|0;e=da(g|0,4,0,0)|0|0}g=c;ea(g|0,e|0,4,0);ea(g+4|0,0|0,4,0);f=(d&255)+f|0;d=12}else{d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24>-1){e=d&255;ea(g|0,e|0,4,0);d=1}else{d=lm(b,g)|0;e=da(g|0,4,0,0)|0|0}f=d&255;f=((rp(b+f|0,c)|0)&255)+f|0;d=12}while(0);do if((d|0)==12){ea(c+12|0,e|0,4,0);ea(c+8|0,b+f|0,4,0);d=da(a+10|0,2,0,1)|0|0;if(e>>>0>d>>>0){g=da(a+12|0,2,0,0)|0|0;b=g&65535;e=(((e-b|0)>>>0)%(((da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+-4|0)>>>0)|0)+b|0;d=(e|0)>(d|0)?g:e&65535;ea(c+16|0,d|0,2,0);d=f+(d&65535)|0;ea(c+18|0,d|0,2,0);ea(c+20|0,d+4|0,2,0);break}else{d=e+f|0;ea(c+20|0,((d&65532)>>>0<4?4:d&65535)|0,2,0);ea(c+16|0,e|0,2,0);ea(c+18|0,0|0,2,0);break}}while(0);i=h;return}function rp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(a>>0|0,1,0,0)|0|0;d=c&255;do if(d&128){c=da(a+1>>0|0,1,0,1)|0|0;if(!(c&128)){e=b;ea(e|0,c|d<<7&16256|0,4,0);ea(e+4|0,0|0,4,0);c=2;break}e=da(a+2>>0|0,1,0,1)|0|0;d=(e|d<<14)&2080895;if(!(e&128)){e=b;ea(e|0,d|c<<7&16256|0,4,0);ea(e+4|0,0|0,4,0);c=3;break}e=da(a+3>>0|0,1,0,1)|0|0;c=(e|c<<14)&2080895;if(!(e&128)){e=b;ea(e|0,c|d<<7|0,4,0);ea(e+4|0,0|0,4,0);c=4;break}h=da(a+4>>0|0,1,0,1)|0|0;e=h|d<<14;if(!(h&128)){f=b;ea(f|0,e|c<<7|0,4,0);ea(f+4|0,d>>>18|0,4,0);c=5;break}g=c|d<<7;d=da(a+5>>0|0,1,0,1)|0|0;f=d|c<<14;if(!(d&128)){c=b;ea(c|0,f|e<<7&266354560|0,4,0);ea(c+4|0,g>>>18|0,4,0);c=6;break}c=da(a+6>>0|0,1,0,1)|0|0;d=c|e<<14;if(!(c&128)){c=b;ea(c|0,d&-266354561|f<<7&266354560|0,4,0);ea(c+4|0,g>>>11|0,4,0);c=7;break}c=d&2080895;e=da(a+7>>0|0,1,0,1)|0|0;d=e|f<<14;if(!(e&128)){e=b;ea(e|0,d&-266354561|c<<7|0,4,0);ea(e+4|0,g>>>4|0,4,0);c=8;break}else{e=b;ea(e|0,d<<8&532709120|c<<15|(da(a+8>>0|0,1,0,1)|0|0)|0,4,0);ea(e+4|0,h>>>3&15|g<<4|0,4,0);c=9;break}}else{d=b;ea(d|0,c&255|0,4,0);ea(d+4|0,0|0,4,0);c=1}while(0);return c|0}function sp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g+8|0;f=g;d=(da(a+1>>0|0,1,0,1)|0|0)<<16|(da(a>>0|0,1,0,1)|0|0)<<24|(da(a+2>>0|0,1,0,1)|0|0)<<8|(da(a+3>>0|0,1,0,1)|0|0);a=(da(a+5>>0|0,1,0,1)|0|0)<<16|(da(a+4>>0|0,1,0,1)|0|0)<<24|(da(a+6>>0|0,1,0,1)|0|0)<<8|(da(a+7>>0|0,1,0,1)|0|0);h=c;ea(h|0,a|0,4,0);ea(h+4|0,d|0,4,0);if((b|0)==6)a=4;else{ea(k|0,a|0,4,0);ea(k+4|0,d|0,4,0);ea(e|0,+(+(+da(k|0,8,1,0))),8,1);ea(f|0,+(+(+da(e|0,8,1,0))),8,1);a=+(+da(e|0,8,1,0))!=+(+da(f|0,8,1,0))?1:8}ea(c+8|0,a|0,2,0);i=g;return}function tp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(!(c>>>0>16777215|(c|0)==16777215&b>>>0>4294967295)){d=b;e=0;while(1){b=e+1|0;ea(f+e>>0|0,d|128|0,1,0);d=lw(d|0,c|0,7)|0;c=C;if((d|0)==0&(c|0)==0){c=e;break}else e=b}ea(f>>0|0,(da(f>>0|0,1,0,1)|0|0)&127|0,1,0);if((c|0)>-1){d=0;while(1){ea(a+d>>0|0,da(f+c>>0|0,1,0,0)|0|0|0,1,0);if((c|0)>0){d=d+1|0;c=c+-1|0}else break}}}else{ea(a+8>>0|0,b|0,1,0);b=lw(b|0,c|0,8)|0;d=C;c=7;while(1){ea(a+c>>0|0,b|128|0,1,0);b=lw(b|0,d|0,7)|0;if((c|0)<=0){b=9;break}else{d=C;c=c+-1|0}}}i=g;return b|0}function up(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){d=cl(a,b,c,d)|0;if(!d){d=da(c|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)==0?(e=_p(d)|0,(e|0)!=0):0){d=da(c|0,4,0,0)|0|0;if(d)Ag(da(d+68|0,4,0,0)|0|0)}else e=0}else e=d}else{ea(f|0,54788|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);e=11}i=g;return e|0}function vp(a){a=a|0;var b=0,c=0,d=0;if((da(a+12>>0|0,1,0,0)|0|0)==0?(b=a+60|0,c=da(b|0,4,0,0)|0|0,((kc[(fa(da((da(c|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)&4096|0)==0):0){b=da(b|0,4,0,0)|0|0;c=da((da(b|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(c){b=kc[(fa(c|0,127|0)|0)&127](b)|0;if((b|0)<32)b=512;else d=6}else{b=4096;d=6}if((d|0)==6)b=(b|0)>65536?65536:b;ea(a+148|0,b|0,4,0)}else ea(a+148|0,512|0,4,0);return}function wp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+40|0;do if(!(da(g|0,4,0,0)|0)){f=da(a+20>>0|0,1,0,0)|0|0;if(f<<24>>24){if(f&3){c=0;break}if((da(b+24|0,2,0,0)|0)&4){c=0;break}}ea(b+12|0,0|0,4,0);do if(!(da(a+208|0,4,0,0)|0)){if(!(((da(b+24|0,2,0,0)|0)&4)==0?(da(a+16>>0|0,1,0,0)|0|0)!=3:0))h=11;if((h|0)==11?(d=yl(a,1)|0,(d|0)!=0):0){c=d;break}if(((da(b+20|0,4,0,0)|0|0)>>>0>(da(a+24|0,4,0,0)|0|0)>>>0?(To(b)|0)!=0:0)?(e=Uo(b)|0,(e|0)!=0):0){c=e;break}c=zl(a,b)|0;h=16}else{if((To(b)|0)!=0?(c=Uo(b)|0,(c|0)!=0):0)break;c=vl(a,b,0,0)|0;h=16}while(0);if((h|0)==16)if(!c){wl(b);c=0;break}d=c&255;if((d|0)==10|(d|0)==13){ea(g|0,c|0,4,0);ea(a+16>>0|0,6|0,1,0)}}else c=0;while(0);return c|0}function xp(a){a=a|0;var b=0;b=da(a+8|0,4,0,0)|0|0;if((da(b>>0|0,1,0,0)|0|0)!=0?(ea(b>>0|0,0|0,1,0),(da(a+26|0,2,0,0)|0|0)>1):0)_p(b)|0;return}function yp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=l+8|0;do if(!(da(e|0,4,0,0)|0)){if(!b){ea(k|0,53856|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);break}if(b>>>0<2)g=0;else{f=b+-2|0;f=f-((f>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;g=((f+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+f|0}f=yg(da(a|0,4,0,0)|0|0,g,h,0)|0;if(f){ea(e|0,f|0,4,0);break}b=(b-g|0)*5|0;f=b+-5|0;do if((f|0)>=0){a=da(h|0,4,0,0)|0|0;g=da(a+4|0,4,0,0)|0|0;f=g+f|0;if((da(f>>0|0,1,0,0)|0|0)==c<<24>>24?((da(g+(b+-3)>>0|0,1,0,1)|0)<<16|(da(g+(b+-4)>>0|0,1,0,1)|0)<<24|(da(g+(b+-2)>>0|0,1,0,1)|0)<<8|(da(g+(b+-1)>>0|0,1,0,1)|0)|0)==(d|0):0)break;h=Fg(a)|0;ea(e|0,h|0,4,0);if(!h){ea(f>>0|0,c|0,1,0);ea(g+(b+-4)>>0|0,d>>>24|0,1,0);ea(g+(b+-3)>>0|0,d>>>16|0,1,0);ea(g+(b+-2)>>0|0,d>>>8|0,1,0);ea(g+(b+-1)>>0|0,d|0,1,0)}}else{ea(k|0,53867|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);a=da(h|0,4,0,0)|0|0}while(0);if(a)Ag(a)}while(0);i=l;return}function zp(a,b,c){a=a|0;b=b|0;c=c|0;return Jm(a,b,c,0)|0}function Ap(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=(da(b>>0|0,1,0,1)|0)&63;d=b+f|0;h=da(c+8|0,4,0,0)|0|0;g=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;switch(da(b+1>>0|0,1,0,1)|0|0){case 2:{d=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 4:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 3:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<8|(da(d>>0|0,1,0,0)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 5:{e=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);d=(da(b+(f+3)>>0|0,1,0,1)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0)<<24|(da(b+(f+4)>>0|0,1,0,1)|0)<<8|(da(b+(f+5)>>0|0,1,0,1)|0);i=11;break}case 7:case 0:{d=Jm(a,b,c,0)|0;break}case 6:{e=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);d=(da(b+(f+5)>>0|0,1,0,1)|0)<<16|(da(b+(f+4)>>0|0,1,0,1)|0)<<24|(da(b+(f+6)>>0|0,1,0,1)|0)<<8|(da(b+(f+7)>>0|0,1,0,1)|0);i=11;break}case 9:{e=0;d=1;i=11;break}case 8:{e=0;d=0;i=11;break}case 1:{d=da(d>>0|0,1,0,0)|0|0;e=((d|0)<0)<<31>>31;i=11;break}default:d=Jm(a,b,c,0)|0}do if((i|0)==11){if((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0){d=da(c+12|0,4,0,0)|0|0;break}if((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0){d=da(c+16|0,4,0,0)|0|0;break}if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}}while(0);return d|0}function Bp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=k+8|0;d=b+1|0;e=da(d>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){d=e&255;ea(f|0,d|0,4,0)}else{lm(d,f)|0;d=da(f|0,4,0,0)|0|0}do if((d|0)>=12){if(!(d&1)){d=da(c+16|0,4,0,0)|0|0;break}f=da(b>>0|0,1,0,1)|0|0;g=(d+-12|0)/2|0;if((f+g|0)>(a|0)){ea(h|0,68550|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);ea(c+7>>0|0,11|0,1,0);d=0;break}d=da(c+8|0,4,0,0)|0|0;e=da(d+12|0,4,0,0)|0|0;d=Yv(b+f|0,da(d+16|0,4,0,0)|0|0,(g|0)>(e|0)?e:g)|0;if(d)if((d|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}if((g|0)==(e|0))if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}else if((g-e|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}}else d=da(c+12|0,4,0,0)|0|0;while(0);i=k;return d|0}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+73|0;c=da(h>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(h>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(h>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)>0):0)c=0;else i=9}else i=9;while(0);do if((i|0)==9){g=a+76|0;c=da(g|0,2,0,0)|0|0;d=da(a+(c<<2)+120|0,4,0,0)|0|0;c=a+(c<<1)+78|0;e=(da(c|0,2,0,0)|0|0)+1<<16>>16;ea(c|0,e|0,2,0);c=(da(d+5>>0|0,1,0,0)|0|0)!=0;if((e&65535)<(da(d+18|0,2,0,1)|0|0)){if(c){c=0;break}c=Um(a)|0;break}if(!c){c=da(d+6>>0|0,1,0,1)|0|0;d=da(d+56|0,4,0,0)|0|0;c=qm(a,(da(d+(c+9)>>0|0,1,0,1)|0)<<16|(da(d+(c+8)>>0|0,1,0,1)|0)<<24|(da(d+(c+10)>>0|0,1,0,1)|0)<<8|(da(d+(c+11)>>0|0,1,0,1)|0))|0;if(c)break;c=Um(a)|0;break}e=a+44|0;f=a+72|0;d=da(g|0,2,0,0)|0|0;do{if(!(d<<16>>16)){i=15;break}c=da(a+(d<<16>>16<<2)+120|0,4,0,0)|0|0;if(c){Ag(da(c+68|0,4,0,0)|0|0);d=da(g|0,2,0,0)|0|0}d=d+-1<<16>>16;ea(g|0,d|0,2,0);ea(e|0,0|0,2,0);ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&249|0,1,0);j=d<<16>>16;c=da(a+(j<<2)+120|0,4,0,0)|0|0}while((da(a+(j<<1)+78|0,2,0,1)|0|0)>=(da(c+18|0,2,0,1)|0|0));if((i|0)==15){ea(b|0,1|0,4,0);ea(h>>0|0,0|0,1,0);c=0;break}if(!(da(c+2>>0|0,1,0,0)|0))c=0;else c=Cm(a,b)|0}while(0);return c|0}function Dp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+73|0;c=da(k>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(k>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(k>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)<0):0)c=0;else e=9}else e=9;while(0);a:do if((e|0)==9){j=a+76|0;f=da(j|0,2,0,0)|0|0;g=f<<16>>16;e=da(a+(g<<2)+120|0,4,0,0)|0|0;d=a+(g<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(!(da(e+5>>0|0,1,0,0)|0)){b=da(e+56|0,4,0,0)|0|0;c=(c&65535)<<1;k=da(e+64|0,4,0,0)|0|0;c=((da(k+c>>0|0,1,0,1)|0)<<8|(da(k+(c|1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=qm(a,(da(b+(c+1)>>0|0,1,0,1)|0)<<16|(da(b+c>>0|0,1,0,1)|0)<<24|(da(b+(c+2)>>0|0,1,0,1)|0)<<8|(da(b+(c+3)>>0|0,1,0,1)|0))|0;if(c)break;c=Ep(a)|0;break}b:do if(!(c<<16>>16)){h=a+44|0;i=a+72|0;e=g;while(1){if(!(f<<16>>16))break;d=da(a+(e<<2)+120|0,4,0,0)|0|0;if(!d)d=f;else{Ag(da(d+68|0,4,0,0)|0|0);d=da(j|0,2,0,0)|0|0}f=d+-1<<16>>16;ea(j|0,f|0,2,0);ea(h|0,0|0,2,0);ea(i>>0|0,(da(i>>0|0,1,0,1)|0)&249|0,1,0);e=f<<16>>16;d=a+(e<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(c<<16>>16)break b}ea(k>>0|0,0|0,1,0);ea(b|0,1|0,4,0);c=0;break a}while(0);ea(d|0,c+-1<<16>>16|0,2,0);c=da(a+((da(j|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0;if((da(c+2>>0|0,1,0,0)|0|0)!=0?(da(c+5>>0|0,1,0,0)|0|0)==0:0)c=Dm(a,b)|0;else c=0}while(0);return c|0}function Ep(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=a+76|0;do{c=da(d|0,2,0,0)|0|0;b=da(a+(c<<2)+120|0,4,0,0)|0|0;if(da(b+5>>0|0,1,0,0)|0){e=4;break}f=da(b+6>>0|0,1,0,1)|0|0;g=da(b+56|0,4,0,0)|0|0;f=(da(g+(f+9)>>0|0,1,0,1)|0)<<16|(da(g+(f+8)>>0|0,1,0,1)|0)<<24|(da(g+(f+10)>>0|0,1,0,1)|0)<<8|(da(g+(f+11)>>0|0,1,0,1)|0);ea(a+(c<<1)+78|0,da(b+18|0,2,0,0)|0|0|0,2,0);b=qm(a,f)|0}while((b|0)==0);if((e|0)==4){ea(a+(c<<1)+78|0,(da(b+18|0,2,0,1)|0|0)+65535|0,2,0);b=0}return b|0}function Fp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+224|0;if((i|0)>=(j|0))ba();k=m;g=m+8|0;ea(g|0,0|0,4,0);do if(b){h=a+16|0;l=Em(da(h|0,4,0,0)|0|0,m+16|0,200,g)|0;if(l){Fm(da(h|0,4,0,0)|0|0,c,b,l);if(!(da(l+4|0,2,0,0)|0)){lg(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0);ea(k|0,53713|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);g=11;break}h=da(g|0,4,0,0)|0|0;g=Bm(a,l,c,d,e,f)|0;if(h)lg(da((da(a+16|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,h)}else g=7}else g=Bm(a,0,c,d,e,f)|0;while(0);i=m;return g|0}function Gp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+48|0;if((i|0)>=(j|0))ba();n=o+24|0;d=o;l=o+36|0;m=o+32|0;h=da(a+52|0,4,0,0)|0|0;qp(a,b,d);ea(c|0,da(d+20|0,2,0,0)|0|0|0,2,0);c=da(d+18|0,2,0,0)|0|0;a:do if(c<<16>>16){e=c&65535;f=b+(e+3)|0;if(f>>>0>((da(a+56|0,4,0,0)|0|0)+(da(a+20|0,2,0,1)|0|0)|0)>>>0){ea(n|0,58720|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11;break}c=(da(h+36|0,4,0,0)|0|0)+-4|0;c=(((da(d+12|0,4,0,0)|0|0)+-1+c-(da(d+16|0,2,0,1)|0|0)|0)>>>0)/(c>>>0)|0;if(c){g=h+44|0;a=c;e=(da(b+(e+1)>>0|0,1,0,1)|0)<<16|(da(b+e>>0|0,1,0,1)|0)<<24|(da(b+(e+2)>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0);while(1){a=a+-1|0;ea(l|0,0|0,4,0);ea(m|0,0|0,4,0);if(e>>>0<2)break;if(e>>>0>(da(g|0,4,0,0)|0|0)>>>0)break;b=(a|0)==0;if(!b){c=Lp(h,e,m,l)|0;if(c)break a;c=da(m|0,4,0,0)|0|0;if(c)f=13;else f=12}else f=12;if((f|0)==12){c=Xp(h,e)|0;ea(m|0,c|0,4,0);if(!c){c=0;f=15}else f=13}if((f|0)==13){f=0;if((da((da(c+68|0,4,0,0)|0|0)+26|0,2,0,0)|0|0)==1)f=15;else{ea(n|0,58754|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}}if((f|0)==15)c=Xm(h,c,e)|0;d=da(m|0,4,0,0)|0|0;if((d|0)!=0?(k=da(d+68|0,4,0,0)|0|0,(k|0)!=0):0)Ag(k);if(c)break a;if(b){c=0;break a}else e=da(l|0,4,0,0)|0|0}ea(n|0,58734|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}else c=0}else c=0;while(0);i=o;return c|0}function Hp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;do if(!(da(d|0,4,0,0)|0)){n=da(a+56|0,4,0,0)|0|0;o=b<<1;p=da(a+64|0,4,0,0)|0|0;q=p+o|0;e=(da(q>>0|0,1,0,1)|0|0)<<8|(da(p+(o|1)>>0|0,1,0,1)|0|0);g=a+6|0;h=da(g>>0|0,1,0,1)|0|0;k=n+(h+5)|0;l=n+(h+6)|0;if(e>>>0>=((da(k>>0|0,1,0,1)|0|0)<<8|(da(l>>0|0,1,0,1)|0|0))>>>0?(m=a+52|0,(e+c|0)>>>0<=(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>0):0){c=Bq(a,e&65535,c&65535)|0;if(c){ea(d|0,c|0,4,0);break}c=a+18|0;e=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,e|0,2,0);if(!(e<<16>>16)){d=n+(h+1)|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);ea(n+(h+7)>>0|0,0|0,1,0);ea(k>>0|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>8|0,1,0);ea(l>>0|0,da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,1,0);ea(a+16|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+65528-(da(g>>0|0,1,0,1)|0|0)-(da(a+7>>0|0,1,0,1)|0|0)|0,2,0);break}else{kw(q|0,p+(o+2)|0,(e&65535)-b<<1|0)|0;ea(n+(h+3)>>0|0,(da(c|0,2,0,1)|0|0)>>>8|0,1,0);ea(n+(h+4)>>0|0,da(c|0,2,0,0)|0|0,1,0);n=a+16|0;ea(n|0,(da(n|0,2,0,1)|0|0)+2|0,2,0);break}}ea(f|0,58991|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);ea(d|0,11|0,4,0)}while(0);i=r;return}function Ip(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();k=y;u=y+12|0;q=y+8|0;a:do if(!(da(g|0,4,0,0)|0)){h=a+1|0;if((da(h>>0|0,1,0,0)|0|0)==0?(w=d+2|0,x=a+16|0,(w|0)<=(da(x|0,2,0,1)|0|0)):0){e=Fg(da(a+68|0,4,0,0)|0|0)|0;if(e){ea(g|0,e|0,4,0);break}r=da(a+56|0,4,0,0)|0|0;l=da(a+14|0,2,0,1)|0|0;s=a+18|0;t=(da(s|0,2,0,1)|0)<<1;n=b<<1;o=l+n|0;p=a+6|0;e=da(p>>0|0,1,0,1)|0|0;ea(u|0,0|0,4,0);b=t+l|0;l=r+(e+5)|0;m=r+(e+6)|0;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;b:do if((b|0)>(h|0)){ea(k|0,54326|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);e=11}else{k=b+2|0;do if((k|0)<=(h|0)){if((da(r+(e+1)>>0|0,1,0,0)|0|0)==0?(da(r+(e+2)>>0|0,1,0,0)|0|0)==0:0){v=20;break}ea(q|0,0|0,4,0);b=Cq(a,d,u,q)|0;e=da(u|0,4,0,0)|0|0;if(e)break b;if(!(da(q|0,4,0,0)|0))if(!b)v=20;else h=b-r|0;else v=21}else v=20;while(0);if((v|0)==20)if((k+d|0)>(h|0))v=21;else v=23;if((v|0)==21){e=Dq(a)|0;ea(u|0,e|0,4,0);if(e)break;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;v=23}if((v|0)==23){h=h-d|0;ea(l>>0|0,h>>>8|0,1,0);ea(m>>0|0,h|0,1,0)}ea(s|0,(da(s|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(x|0,(da(x|0,2,0,1)|0|0)-w|0,2,0);e=r+h|0;jw(e|0,c|0,d|0)|0;if(f){ea(e>>0|0,f>>>24|0,1,0);ea(r+(h+1)>>0|0,f>>>16|0,1,0);ea(r+(h+2)>>0|0,f>>>8|0,1,0);ea(r+(h+3)>>0|0,f|0,1,0)}f=r+o|0;kw(r+(o+2)|0,f|0,t-n|0)|0;ea(f>>0|0,h>>>8|0,1,0);ea(r+(o+1)>>0|0,h|0,1,0);ea(r+((da(p>>0|0,1,0,1)|0|0)+3)>>0|0,(da(s|0,2,0,1)|0|0)>>>8|0,1,0);ea(r+((da(p>>0|0,1,0,1)|0|0)+4)>>0|0,da(s|0,2,0,0)|0|0,1,0);if(!(da((da(a+52|0,4,0,0)|0|0)+17>>0|0,1,0,0)|0))break a;Eq(a,c,g);break a}while(0);ea(g|0,e|0,4,0);break}if(!e)e=c;else jw(e|0,c|0,d|0)|0;if(f){ea(e>>0|0,f>>>24|0,1,0);ea(e+1>>0|0,f>>>16|0,1,0);ea(e+2>>0|0,f>>>8|0,1,0);ea(e+3>>0|0,f|0,1,0)}g=da(h>>0|0,1,0,0)|0|0;ea(h>>0|0,g+1<<24>>24|0,1,0);g=g&255;ea(a+(g<<2)+32|0,e|0,4,0);ea(a+(g<<1)+22|0,b|0,2,0)}while(0);i=y;return}function Jp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0;La=i;i=i+240|0;if((i|0)>=(j|0))ba();Ka=La+24|0;Ha=La+200|0;xa=La+188|0;wa=La+168|0;va=La+160|0;ya=La+136|0;za=La+116|0;Ja=La+96|0;Ea=La+92|0;ua=La+229|0;ta=La+72|0;sa=La+52|0;ra=La+206|0;Da=La+48|0;Aa=La;Ca=La+44|0;Ga=La+40|0;Fa=La+36|0;Ba=La+32|0;Ia=La+204|0;qa=La+216|0;_=a+4|0;ja=((da((da(_|0,4,0,0)|0|0)+36|0,4,0,0)|0)<<1>>>0)/3|0;ka=a+76|0;na=a+74|0;oa=qa+4|0;pa=qa;$=a+124|0;ha=a+78|0;ia=a+80|0;e=da(ka|0,2,0,0)|0|0;Z=0;while(1){f=e<<16>>16;g=da(a+(f<<2)+120|0,4,0,0)|0|0;h=g+1|0;c=(da(h>>0|0,1,0,0)|0|0)==0;if(!(e<<16>>16)){if(c){c=Z;b=0;break}ea(Ha|0,0|0,4,0);ea(xa|0,0|0,4,0);d=da(g+52|0,4,0,0)|0|0;b=Fg(da(g+68|0,4,0,0)|0|0)|0;ea(Ka|0,b|0,4,0);do if(!b){c=g+72|0;ea(Ka|0,hp(d,Ha,xa,da(c|0,4,0,0)|0|0,0)|0|0,4,0);e=da(Ha|0,4,0,0)|0|0;Fq(g,e,Ka);if(da(d+17>>0|0,1,0,0)|0)yp(d,da(xa|0,4,0,0)|0|0,5,da(c|0,4,0,0)|0|0,Ka);b=da(Ka|0,4,0,0)|0|0;if(!b){jw(e+22|0,g+22|0,(da(h>>0|0,1,0,1)|0)<<1|0)|0;jw(e+32|0,g+32|0,(da(h>>0|0,1,0,1)|0)<<2|0)|0;ea(e+1>>0|0,da(h>>0|0,1,0,0)|0|0|0,1,0);ol(g,(da((da(e+56|0,4,0,0)|0)>>0|0,1,0,1)|0)&247);W=da(g+6>>0|0,1,0,1)|0|0;V=da(g+56|0,4,0,0)|0|0;b=da(xa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,b>>>24|0,1,0);ea(V+(W+9)>>0|0,b>>>16|0,1,0);ea(V+(W+10)>>0|0,b>>>8|0,1,0);ea(V+(W+11)>>0|0,b|0,1,0);ea($|0,e|0,4,0);b=0;break}ea($|0,0|0,4,0);if(e)Ag(da(e+68|0,4,0,0)|0|0)}else ea($|0,0|0,4,0);while(0);if(b){c=Z;break}ea(ka|0,1|0,2,0);ea(ha|0,0|0,2,0);ea(ia|0,0|0,2,0);e=da($|0,4,0,0)|0|0;d=e+1|0;if(!(da(d>>0|0,1,0,0)|0)){c=1;f=1;Y=15}else{k=1;f=1;h=d}}else if(c){c=e;e=g;d=h;Y=15}else{k=e;e=g}if((Y|0)==15){Y=0;if((da(e+16|0,2,0,1)|0|0)>>>0>ja>>>0){k=c;h=d}else{c=Z;b=0;break}}d=f+-1|0;X=da(a+(d<<2)+120|0,4,0,0)|0|0;d=da(a+(d<<1)+78|0,2,0,0)|0|0;l=d&65535;b=Fg(da(X+68|0,4,0,0)|0|0)|0;do if(!b){if(((((da(e+3>>0|0,1,0,0)|0|0)!=0?(da(h>>0|0,1,0,0)|0|0)==1:0)?(aa=da(e+22|0,2,0,0)|0|0,ca=e+18|0,aa<<16>>16==(da(ca|0,2,0,0)|0|0)):0)?(fa=X+72|0,(da(fa|0,4,0,0)|0|0)!=1):0)?(ga=X+18|0,(da(ga|0,2,0,0)|0|0)==d<<16>>16):0){d=da(e+52|0,4,0,0)|0|0;if(!(aa<<16>>16)){ea(Ka|0,59423|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);c=Z;b=11;break}W=hp(d,Ca,Fa,0,0)|0;ea(Ga|0,W|0,4,0);if(!W){c=da(e+32|0,4,0,0)|0|0;ea(Ba|0,c|0,4,0);b=Kp(e,c)|0;ea(Ia|0,b|0,2,0);f=da(Ca|0,4,0,0)|0|0;ol(f,13);Gq(f,1,Ba,Ia);ea(f+16|0,65534-(b&65535)+(da(d+36|0,4,0,0)|0|0)-(da(f+14|0,2,0,1)|0|0)|0,2,0);if((da(d+17>>0|0,1,0,0)|0|0)!=0?(yp(d,da(Fa|0,4,0,0)|0|0,5,da(fa|0,4,0,0)|0|0,Ga),(b&65535)>(da(f+12|0,2,0,1)|0|0)):0)Eq(f,c,Ga);W=da(e+56|0,4,0,0)|0|0;d=(da(ca|0,2,0,1)|0)<<1;c=da(e+64|0,4,0,0)|0|0;d=((da(c+(d+-2)>>0|0,1,0,1)|0)<<8|(da(c+(d+-1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=W+d|0;ea(Ba|0,c|0,4,0);d=W+(d+9)|0;while(1){b=c+1|0;if((da(c>>0|0,1,0,0)|0|0)<0&b>>>0<d>>>0)c=b;else break}ea(Ba|0,b|0,4,0);d=c+10|0;f=oa;while(1){ea(Ba|0,b+1|0,4,0);W=da(b>>0|0,1,0,0)|0|0;c=f+1|0;ea(f>>0|0,W|0,1,0);b=da(Ba|0,4,0,0)|0|0;if(!(W<<24>>24<0&b>>>0<d>>>0))break;else f=c}Ip(X,da(ga|0,2,0,1)|0|0,qa,c-pa|0,0,da(e+72|0,4,0,0)|0|0,Ga);W=da(X+6>>0|0,1,0,1)|0|0;V=da(X+56|0,4,0,0)|0|0;c=da(Fa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,c>>>24|0,1,0);ea(V+(W+9)>>0|0,c>>>16|0,1,0);ea(V+(W+10)>>0|0,c>>>8|0,1,0);ea(V+(W+11)>>0|0,c|0,1,0);c=da(Ca|0,4,0,0)|0|0;if(c)Ag(da(c+68|0,4,0,0)|0|0)}c=Z;b=da(Ga|0,4,0,0)|0|0;break}c=Fo(da((da(_|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)|0;S=k<<16>>16==1;g=da(na>>0|0,1,0,1)|0|0;F=g&1;ea(Ha|0,0|0,4,0);ea(ua+0>>0|0,0|0,1,0);ea(ua+1>>0|0,0|0,1,0);ea(ua+2>>0|0,0|0,1,0);ea(ua+3>>0|0,0|0,1,0);ea(ua+4>>0|0,0|0,1,0);U=da(X+52|0,4,0,0)|0|0;if(!c)b=7;else{w=X+1|0;k=da(w>>0|0,1,0,1)|0|0;T=X+18|0;b=da(T|0,2,0,1)|0|0;f=b+k|0;if((f|0)<2){V=f;O=0}else{do if(d<<16>>16)if((f|0)==(l|0)){g=(g|-2)+l|0;break}else{g=l+-1|0;break}else g=0;while(0);V=2-F|0;O=g}W=V+1|0;g=O-k+V|0;v=X+56|0;k=da(v|0,4,0,0)|0|0;if((g|0)==(b|0))l=(da(X+6>>0|0,1,0,1)|0|0)+8|0;else{l=g<<1;R=da(X+64|0,4,0,0)|0|0;l=((da(R+l>>0|0,1,0,1)|0)<<8|(da(R+(l|1)>>0|0,1,0,1)|0))&(da(X+20|0,2,0,1)|0)}L=k+l|0;J=k+(l+1)|0;K=k+(l+2)|0;y=k+(l+3)|0;R=(da(J>>0|0,1,0,1)|0)<<16|(da(L>>0|0,1,0,1)|0)<<24|(da(K>>0|0,1,0,1)|0)<<8|(da(y>>0|0,1,0,1)|0);ea(Ea|0,R|0,4,0);l=xa+(V<<2)|0;R=up(U,R,l,0)|0;ea(Ha|0,R|0,4,0);a:do if(!R){o=X+22|0;r=X+32|0;s=X+20|0;t=X+64|0;u=U+22|0;I=U+36|0;p=V;k=0;while(1){d=da(l|0,4,0,0)|0|0;k=k+1+(da(d+18|0,2,0,1)|0|0)+(da(d+1>>0|0,1,0,1)|0|0)|0;d=p+-1|0;if(!p)break;q=d+O|0;l=da(w>>0|0,1,0,0)|0|0;if((q|0)==(da(o|0,2,0,1)|0|0))if(!(l<<24>>24)){l=0;Y=52}else{R=da(r|0,4,0,0)|0|0;ea(va+(d<<2)|0,R|0,4,0);g=(da(R+1>>0|0,1,0,1)|0)<<16|(da(R>>0|0,1,0,1)|0)<<24|(da(R+2>>0|0,1,0,1)|0)<<8|(da(R+3>>0|0,1,0,1)|0);ea(Ea|0,g|0,4,0);ea(Ja+(d<<2)|0,(Kp(X,R)|0)&65535|0,4,0);ea(w>>0|0,0|0,1,0)}else Y=52;if((Y|0)==52){Y=0;g=da(v|0,4,0,0)|0|0;m=q-(l&255)<<1;f=da(t|0,4,0,0)|0|0;m=((da(f+m>>0|0,1,0,1)|0)<<8|(da(f+(m|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0);f=g+m|0;b=va+(d<<2)|0;ea(b|0,f|0,4,0);g=(da(g+(m+1)>>0|0,1,0,1)|0)<<16|(da(f>>0|0,1,0,1)|0)<<24|(da(g+(m+2)>>0|0,1,0,1)|0)<<8|(da(g+(m+3)>>0|0,1,0,1)|0);ea(Ea|0,g|0,4,0);n=(Kp(X,f)|0)&65535;ea(Ja+(d<<2)|0,n|0,4,0);if((da(u|0,2,0,0)|0)&4){if((n+m|0)>(da(I|0,4,0,0)|0|0)){d=p;Y=54;break}jw(c+m|0,f|0,n|0)|0;ea(b|0,c+(f-(da(v|0,4,0,0)|0|0))|0,4,0);l=da(w>>0|0,1,0,0)|0|0}Hp(X,q-(l&255)|0,n,Ha)}l=xa+(d<<2)|0;R=up(U,g,l,0)|0;ea(Ha|0,R|0,4,0);if(R){Y=47;break a}else p=d}if((Y|0)==54){Y=0;ea(Ka|0,59766|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);ew(xa|0,0,d<<2|0)|0;f=0;g=0;break}l=k+3&-4;R=fi((da(U+32|0,4,0,0)|0|0)+(l*6|0)|0)|0;if(!R){ea(Ha|0,7|0,4,0);f=R;g=0;break}P=R+(l<<2)|0;B=P+(l<<1)|0;E=da(xa|0,4,0,0)|0|0;M=(da(E+5>>0|0,1,0,1)|0)<<2;Q=M&65535;N=da(E+3>>0|0,1,0,0)|0|0;x=N&255;if((V|0)>-1){A=N<<24>>24!=0;C=E;g=0;D=0;k=0;while(1){z=da(C+18|0,2,0,1)|0|0;H=da(C+1>>0|0,1,0,0)|0|0;v=H&255;w=v+z|0;if(!(H<<24>>24)){b=da(C+56|0,4,0,0)|0|0;if((w|0)>0){q=da(C+20|0,2,0,1)|0|0;p=da(C+14|0,2,0,1)|0|0;o=0;n=k;while(1){H=(o<<1)+p|0;H=b+(((da(b+H>>0|0,1,0,1)|0)<<8|(da(b+(H+1)>>0|0,1,0,1)|0))&q)|0;ea(R+(n<<2)|0,H|0,4,0);ea(P+(n<<1)|0,Kp(C,H)|0|0,2,0);o=o+1|0;if((o|0)==(z|0))break;else n=n+1|0}k=z+k|0}}else if((w|0)>0){r=C+56|0;p=C+20|0;o=C+64|0;n=0;b=k;while(1){q=n;u=v;b:while(1){while(1){s=u+-1|0;if((u|0)<=0){Y=72;break b}u=da(C+(s<<1)+22|0,2,0,1)|0|0;if((u|0)>(q|0))u=s;else{t=u;u=s;break}}if((t|0)==(q|0)){Y=71;break}else q=q+-1|0}if((Y|0)==71){Y=0;q=da(C+(u<<2)+32|0,4,0,0)|0|0}else if((Y|0)==72){Y=0;q=q<<1;H=da(o|0,4,0,0)|0|0;q=(da(r|0,4,0,0)|0|0)+(((da(H+q>>0|0,1,0,1)|0)<<8|(da(H+(q|1)>>0|0,1,0,1)|0))&(da(p|0,2,0,1)|0))|0}ea(R+(b<<2)|0,q|0,4,0);ea(P+(b<<1)|0,Kp(C,q)|0|0,2,0);n=n+1|0;if((n|0)==(w|0))break;else b=b+1|0}k=z+k+v|0}ea(za+(g<<2)|0,k|0,4,0);if((g|0)>=(V|0)|A)l=D;else{d=da(Ja+(g<<2)|0,4,0,0)|0|0;m=P+(k<<1)|0;ea(m|0,d|0,2,0);d=d&65535;l=d+D|0;jw(B+D|0,da(va+(g<<2)|0,4,0,0)|0|0,d|0)|0;d=R+(k<<2)|0;ea(d|0,B+(D+M)|0,4,0);f=(da(m|0,2,0,1)|0|0)-M|0;ea(m|0,f|0,2,0);do if(!(da(C+5>>0|0,1,0,0)|0)){G=da(d|0,4,0,0)|0|0;H=(da(C+56|0,4,0,0)|0|0)+8|0;H=da(H>>0|0,1,0,1)|0|(da(H+1>>0|0,1,0,1)|0)<<8|(da(H+2>>0|0,1,0,1)|0)<<16|(da(H+3>>0|0,1,0,1)|0)<<24;ea(G>>0|0,H|0,1,0);ea(G+1>>0|0,H>>8|0,1,0);ea(G+2>>0|0,H>>16|0,1,0);ea(G+3>>0|0,H>>24|0,1,0)}else{if((f&65532)>>>0>=4)break;ea(B+l>>0|0,0|0,1,0);ea(m|0,4|0,2,0);l=l+1|0}while(0);k=k+1|0}g=g+1|0;if((g|0)>=(W|0))break;C=da(xa+(g<<2)|0,4,0,0)|0|0;D=l}l=M+-12+(da(I|0,4,0,0)|0|0)|0;if((k|0)>0){m=A<<31>>31;f=0;d=0;g=0;do{b=g+2+(da(P+(f<<1)|0,2,0,1)|0|0)|0;if((b|0)>(l|0)){ea(Ja+(d<<2)|0,g|0,4,0);ea(ya+(d<<2)|0,f|0,4,0);if((d|0)>3){Y=91;break}else{f=f+m|0;d=d+1|0;g=0}}else g=b;f=f+1|0}while((f|0)<(k|0));if((Y|0)==91){Y=0;ea(Ka|0,59904|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;g=0;break}ea(Ja+(d<<2)|0,g|0,4,0);ea(ya+(d<<2)|0,k|0,4,0);if((d|0)>0){w=(F|0)==0;f=d;do{n=Ja+(f<<2)|0;f=f+-1|0;b=Ja+(f<<2)|0;o=ya+(f<<2)|0;s=da(o|0,4,0,0)|0|0;v=da(b|0,4,0,0)|0|0;m=g;while(1){r=s+-1|0;q=s-x|0;if(m){if(!w){g=v;break}t=da(P+(q<<1)|0,2,0,0)|0|0;u=m+2|0;q=da(P+(r<<1)|0,2,0,0)|0|0;p=v+-2|0;if(((t&65535)+u|0)>(p-(q&65535)|0)){g=v;break}}else{p=v+-2|0;u=2;t=da(P+(q<<1)|0,2,0,0)|0|0;q=da(P+(r<<1)|0,2,0,0)|0|0}ea(o|0,r|0,4,0);s=r;v=p-(q&65535)|0;m=(t&65535)+u|0}ea(n|0,m|0,4,0);ea(b|0,g|0,4,0)}while((f|0)>0);D=1;H=l;G=k}else{D=1;H=l;G=k}}else Y=93}else{l=M+-12+(da(I|0,4,0,0)|0|0)|0;k=0;Y=93}if((Y|0)==93){Y=0;ea(Ja|0,0|0,4,0);ea(ya|0,k|0,4,0);D=0;H=l;d=0;G=k}if((da(E+72|0,4,0,0)|0|0)>>>0<2){ea(Ka|0,59963|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;g=0;break}z=da((da(E+56|0,4,0,0)|0)>>0|0,1,0,1)|0|0;if((d|0)>-1){n=(F|0)!=0;b=U+17|0;f=X+72|0;p=0;g=0;while(1){do if((p|0)<(W|0)){E=xa+(p<<2)|0;F=da(E|0,4,0,0)|0|0;ea(wa+(p<<2)|0,F|0,4,0);ea(Da|0,F|0,4,0);ea(E|0,0|0,4,0);F=Fg(da(F+68|0,4,0,0)|0|0)|0;ea(Ha|0,F|0,4,0);g=g+1|0;if(F){f=R;break a}}else{F=hp(U,Da,Ea,n?1:da(Ea|0,4,0,0)|0|0,0)|0;ea(Ha|0,F|0,4,0);if(F){f=R;break a}l=da(Da|0,4,0,0)|0|0;ol(l,z);ea(wa+(p<<2)|0,l|0,4,0);g=g+1|0;ea(za+(p<<2)|0,G|0,4,0);if(!(da(b>>0|0,1,0,0)|0))break;yp(U,da(l+72|0,4,0,0)|0|0,5,da(f|0,4,0,0)|0|0,Ha);if(da(Ha|0,4,0,0)|0){f=R;break a}}while(0);if((p|0)<(d|0))p=p+1|0;else break}if((g|0)>0){k=0;c:do{F=da(wa+(k<<2)|0,4,0,0)|0|0;l=da(F+72|0,4,0,0)|0|0;ea(ta+(k<<2)|0,l|0,4,0);ea(sa+(k<<2)|0,l|0,4,0);ea(ra+(k<<1)|0,da((da(F+68|0,4,0,0)|0|0)+24|0,2,0,0)|0|0|0,2,0);if((k|0)>0){f=0;do{if((da(ta+(f<<2)|0,4,0,0)|0|0)==(l|0)){Y=118;break c}f=f+1|0}while((f|0)<(k|0))}k=k+1|0}while((k|0)<(g|0));if((Y|0)==118){Y=0;ea(Ka|0,60018|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;break}m=(g|0)>1;f=U+44|0;d=0;do{if(m){k=0;l=1;do{k=(da(sa+(l<<2)|0,4,0,0)|0|0)>>>0<(da(sa+(k<<2)|0,4,0,0)|0|0)>>>0?l:k;l=l+1|0}while((l|0)!=(g|0))}else k=0;F=sa+(k<<2)|0;l=da(F|0,4,0,0)|0|0;ea(F|0,-1|0,4,0);if((k|0)!=(d|0)){if((k|0)>(d|0)){E=da((da(wa+(k<<2)|0,4,0,0)|0|0)+68|0,4,0,0)|0|0;F=k+1+(da(f|0,4,0,0)|0|0)|0;ea(E+24|0,0|0,2,0);Yp(E,F)}F=da(wa+(d<<2)|0,4,0,0)|0|0;E=da(F+68|0,4,0,0)|0|0;ea(E+24|0,da(ra+(k<<1)|0,2,0,0)|0|0|0,2,0);Yp(E,l);ea(F+72|0,l|0,4,0)}d=d+1|0}while((d|0)!=(g|0));ea(Ea|0,l|0,4,0);F=0}else F=1}else{F=1;g=0}C=g+-1|0;l=da(wa+(C<<2)|0,4,0,0)|0|0;E=da(l+72|0,4,0,0)|0|0;ea(L>>0|0,E>>>24|0,1,0);ea(J>>0|0,E>>>16|0,1,0);ea(K>>0|0,E>>>8|0,1,0);ea(y>>0|0,E|0,1,0);if(!((z&8|0)!=0|(W|0)==(g|0))){K=(da(l+56|0,4,0,0)|0|0)+8|0;L=(da((da(((g|0)>(W|0)?wa:xa)+(V<<2)|0,4,0,0)|0|0)+56|0,4,0,0)|0|0)+8|0;L=da(L>>0|0,1,0,1)|0|(da(L+1>>0|0,1,0,1)|0)<<8|(da(L+2>>0|0,1,0,1)|0)<<16|(da(L+3>>0|0,1,0,1)|0)<<24;ea(K>>0|0,L|0,1,0);ea(K+1>>0|0,L>>8|0,1,0);ea(K+2>>0|0,L>>16|0,1,0);ea(K+3>>0|0,L>>24|0,1,0)}E=U+17|0;if((da(E>>0|0,1,0,0)|0|0)!=0?(la=da(wa|0,4,0,0)|0|0,ma=da(I|0,4,0,0)|0|0,D):0){v=N<<24>>24==0;t=v&1;s=Q<<16>>16==0;q=da(la+56|0,4,0,0)|0|0;p=(da(la+18|0,2,0,1)|0|0)+(da(la+1>>0|0,1,0,1)|0|0)|0;r=0;o=0;k=0;m=la;while(1){u=da(R+(r<<2)|0,4,0,0)|0|0;if((r|0)==(p|0)){k=k+1|0;if((k|0)<(g|0))l=wa+(k<<2)|0;else l=xa+(k<<2)|0;p=da(l|0,4,0,0)|0|0;q=da(p+56|0,4,0,0)|0|0;p=r+t+(da(p+18|0,2,0,1)|0|0)+(da(p+1>>0|0,1,0,1)|0|0)|0}if((r|0)==(da(ya+(o<<2)|0,4,0,0)|0|0)){l=o+1|0;m=da(wa+(l<<2)|0,4,0,0)|0|0;if(!v)Y=142}else{l=o;Y=142}do if((Y|0)==142){Y=0;if((k|0)<(g|0)?(u>>>0>=q>>>0?(da(m+72|0,4,0,0)|0|0)==(da(ta+(k<<2)|0,4,0,0)|0|0):0)&u>>>0<(q+ma|0)>>>0:0)break;if(s)yp(U,(da(u+1>>0|0,1,0,1)|0)<<16|(da(u>>0|0,1,0,1)|0)<<24|(da(u+2>>0|0,1,0,1)|0)<<8|(da(u+3>>0|0,1,0,1)|0),5,da(m+72|0,4,0,0)|0|0,Ha);if((da(P+(r<<1)|0,2,0,1)|0|0)<=(da(m+12|0,2,0,1)|0|0))break;Eq(m,u,Ha)}while(0);r=r+1|0;if((r|0)==(G|0))break;else o=l}}if((C|0)>0){n=N<<24>>24==0;p=0;q=0;while(1){o=da(wa+(p<<2)|0,4,0,0)|0|0;k=da(ya+(p<<2)|0,4,0,0)|0|0;f=da(R+(k<<2)|0,4,0,0)|0|0;d=da(P+(k<<1)|0,2,0,0)|0|0;l=(d&65535)+M|0;m=c+q|0;do if(!(da(o+5>>0|0,1,0,0)|0)){L=(da(o+56|0,4,0,0)|0|0)+8|0;k=da(f>>0|0,1,0,1)|0|(da(f+1>>0|0,1,0,1)|0)<<8|(da(f+2>>0|0,1,0,1)|0)<<16|(da(f+3>>0|0,1,0,1)|0)<<24;ea(L>>0|0,k|0,1,0);ea(L+1>>0|0,k>>8|0,1,0);ea(L+2>>0|0,k>>16|0,1,0);ea(L+3>>0|0,k>>24|0,1,0);k=m}else{if(!n){qp(o,da(R+(k+-1<<2)|0,4,0,0)|0|0,Aa);l=Aa;f=m;k=0;l=(om(c+(q+4)|0,da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0)|0)+4|0;break}b=f+-4|0;if(d<<16>>16!=4){f=b;k=m;break}f=b;k=m;l=(Kp(X,b)|0)&65535}while(0);Ip(X,p+O|0,f,l,k,da(o+72|0,4,0,0)|0|0,Ha);if(da(Ha|0,4,0,0)|0){f=R;break a}p=p+1|0;if((p|0)>=(C|0))break;else q=l+q|0}}l=1-g|0;if((l|0)<(g|0)){D=da(ya|0,4,0,0)|0|0;C=N<<24>>24==0&1;do{A=(l|0)<0?0-l|0:l;B=ua+A|0;do if(!(da(B>>0|0,1,0,0)|0)){if((l|0)<=-1?(O=A+-1|0,(da(za+(O<<2)|0,4,0,0)|0|0)<(da(ya+(O<<2)|0,4,0,0)|0|0)):0)break;if(!A){z=0;f=0;y=D}else{k=A+-1|0;if((A|0)<(W|0))f=(da(za+(k<<2)|0,4,0,0)|0|0)+C|0;else f=G;y=(da(ya+(k<<2)|0,4,0,0)|0|0)+C|0;z=y;y=(da(ya+(A<<2)|0,4,0,0)|0|0)-y|0}w=da(wa+(A<<2)|0,4,0,0)|0|0;n=da(w+56|0,4,0,0)|0|0;b=da(w+6>>0|0,1,0,1)|0|0;d=w+64|0;k=(da(d|0,4,0,0)|0|0)+(y<<1)|0;m=w+18|0;q=da(m|0,2,0,1)|0|0;x=w+1|0;p=q+f+(da(x>>0|0,1,0,1)|0|0)|0;o=y+z|0;if((f|0)<(z|0)){O=Hq(w,z-f|0,R+(f<<2)|0,P+(f<<1)|0)|0;N=da(d|0,4,0,0)|0|0;kw(N|0,N+(O<<1)|0,q<<1|0)|0;q=q-O|0}if((p|0)>(o|0))q=q-(Hq(w,p-o|0,R+(o<<2)|0,P+(o<<1)|0)|0)|0;s=n+(b+5)|0;r=n+(b+6)|0;O=n+((((da(s>>0|0,1,0,1)|0)<<8|(da(r>>0|0,1,0,1)|0))+65535&65535)+1)|0;ea(Ka|0,O|0,4,0);d:do if(O>>>0<k>>>0)Y=181;else{if((z|0)<(f|0)){p=f-z|0;p=(p|0)>(y|0)?y:p;O=da(d|0,4,0,0)|0|0;kw(O+(p<<1)|0,O|0,q<<1|0)|0;if(Iq(w,k,Ka,O,p,R+(z<<2)|0,P+(z<<1)|0)|0){Y=181;break}q=q+p|0}p=da(x>>0|0,1,0,0)|0|0;if(p<<24>>24){v=0;do{u=(da(w+(v<<1)+22|0,2,0,1)|0|0)+f|0;t=u-z|0;if((t|0)>-1&(t|0)<(y|0)){N=t<<1;M=da(d|0,4,0,0)|0|0;O=M+N|0;kw(M+(N+2)|0,O|0,q-t<<1|0)|0;if(Iq(w,k,Ka,O,1,R+(u<<2)|0,P+(u<<1)|0)|0){Y=181;break d}p=da(x>>0|0,1,0,0)|0|0;q=q+1|0}v=v+1|0}while((v|0)<(p&255|0))}O=q+z|0;if(Iq(w,k,Ka,(da(d|0,4,0,0)|0|0)+(q<<1)|0,y-q|0,R+(O<<2)|0,P+(O<<1)|0)|0){Y=181;break}O=y&65535;ea(m|0,O|0,2,0);ea(x>>0|0,0|0,1,0);ea(n+(b+3)>>0|0,(O&65535)>>>8|0,1,0);ea(n+(b+4)>>0|0,da(m|0,2,0,0)|0|0,1,0);O=(da(Ka|0,4,0,0)|0|0)-n|0;ea(s>>0|0,O>>>8|0,1,0);ea(r>>0|0,O|0,1,0)}while(0);if((Y|0)==181){Y=0;Gq(w,y,R+(z<<2)|0,P+(z<<1)|0)}ea(B>>0|0,1|0,1,0);ea(w+16|0,H-(da(Ja+(A<<2)|0,4,0,0)|0|0)|0,2,0)}while(0);l=l+1|0}while((l|0)!=(g|0))}do if(S){if(da(T|0,2,0,0)|0){Y=191;break}f=da(wa|0,4,0,0)|0|0;if((da(X+6>>0|0,1,0,1)|0|0)>>>0>(da(f+16|0,2,0,1)|0|0)>>>0){Y=191;break}ea(Ha|0,Dq(f)|0|0,4,0);Fq(f,X,Ha);if(da(Ha|0,4,0,0)|0)break;ea(Ha|0,Xm(da(f+52|0,4,0,0)|0|0,f,da(f+72|0,4,0,0)|0|0)|0|0,4,0)}else Y=191;while(0);do if((Y|0)==191){Y=0;if((da(E>>0|0,1,0,0)|0|0)==0|Q<<16>>16!=0|F)break;else f=0;do{T=da(wa+(f<<2)|0,4,0,0)|0|0;S=da(T+56|0,4,0,0)|0|0;yp(U,(da(S+9>>0|0,1,0,1)|0)<<16|(da(S+8>>0|0,1,0,1)|0)<<24|(da(S+10>>0|0,1,0,1)|0)<<8|(da(S+11>>0|0,1,0,1)|0),5,da(T+72|0,4,0,0)|0|0,Ha);f=f+1|0}while((f|0)!=(g|0))}while(0);if((g|0)>=(W|0)){f=R;break}f=da(Ha|0,4,0,0)|0|0;b=g;do{d=da(xa+(b<<2)|0,4,0,0)|0|0;if(!f){f=Xm(da(d+52|0,4,0,0)|0|0,d,da(d+72|0,4,0,0)|0|0)|0;ea(Ha|0,f|0,4,0)}b=b+1|0}while((b|0)!=(W|0));f=R}else{d=V;Y=47}while(0);if((Y|0)==47){Y=0;ew(xa|0,0,(d<<2)+4|0)|0;f=0;g=0}gi(f);if((V|0)>-1){d=0;do{f=da(xa+(d<<2)|0,4,0,0)|0|0;if(f)Ag(da(f+68|0,4,0,0)|0|0);d=d+1|0}while((d|0)<(W|0))}if((g|0)>0){d=0;do{b=da(wa+(d<<2)|0,4,0,0)|0|0;if(b)Ag(da(b+68|0,4,0,0)|0|0);d=d+1|0}while((d|0)!=(g|0))}b=da(Ha|0,4,0,0)|0|0}if(Z)_k(Z)}else c=Z;while(0);ea(h>>0|0,0|0,1,0);if(e)Ag(da(e+68|0,4,0,0)|0|0);e=(da(ka|0,2,0,0)|0|0)+-1<<16>>16;ea(ka|0,e|0,2,0);if(b)break;else Z=c}if(c)_k(c);i=La;return b|0}function Kp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=da(a+7>>0|0,1,0,1)|0|0;d=b+c|0;do if(!(da(a+4>>0|0,1,0,0)|0)){f=da(d>>0|0,1,0,0)|0|0;e=f&255;if(f<<24>>24<0){f=b+(c+9)|0;c=e&127;do{d=d+1|0;e=da(d>>0|0,1,0,0)|0|0;c=e&127|c<<7}while(e<<24>>24<0&d>>>0<f>>>0)}else c=e;e=d+1|0;if(da(a+2>>0|0,1,0,0)|0){g=d+10|0;f=e;while(1){e=d+2|0;if((da(f>>0|0,1,0,0)|0|0)<0&e>>>0<g>>>0){d=f;f=e}else break}}d=da(a+10|0,2,0,1)|0|0;if(c>>>0>d>>>0){f=da(a+12|0,2,0,1)|0|0;c=(((c-f|0)>>>0)%(((da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+-4|0)>>>0)|0)+f|0;c=(e-b&65535)+4+(c>>>0>d>>>0?f:c)|0;break}else{c=e-b+c|0;c=c>>>0<4?4:c;break}}else{e=b+(c+9)|0;while(1){c=d+1|0;if((da(d>>0|0,1,0,0)|0|0)<0&c>>>0<e>>>0)d=c;else break}c=c-b|0}while(0);return c&65535|0}function Lp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();n=p+4|0;m=p;l=p+8|0;ea(n|0,0|0,4,0);if(da(a+17>>0|0,1,0,0)|0){e=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0;h=a+36|0;k=b;while(1){g=k+1|0;if(g>>>0<2)f=0;else{f=k+-1|0;f=f-((f>>>0)%(((((da(h|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(e|0)?3:2)+f|0}if((f|0)==(g|0)|(k|0)==(e|0))k=g;else break}if(g>>>0<=(da(a+44|0,4,0,0)|0|0)>>>0){k=gp(a,g,l,m)|0;h=(k|0)==0;f=h&(da(l>>0|0,1,0,0)|0|0)==4&(da(m|0,4,0,0)|0|0)==(b|0);g=f?g:0;if(f|h^1){e=0;f=f?101:k}else o=8}else{g=0;o=8}}else{g=0;o=8}if((o|0)==8){f=cl(a,b,n,(c|0)==0?2:0)|0;e=da(n|0,4,0,0)|0|0;if(!f){g=da(e+56|0,4,0,0)|0|0;g=(da(g+1>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(g+2>>0|0,1,0,1)|0)<<8|(da(g+3>>0|0,1,0,1)|0);f=0}}ea(d|0,g|0,4,0);if(!c){if(e)Ag(da(e+68|0,4,0,0)|0|0)}else ea(c|0,e|0,4,0);i=p;return ((f|0)==101?0:f)|0}function Mp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;ea(g|0,0|0,4,0);e=(b|0)!=0;a:do if(c)if(e){e=g;while(1){f=c+8|0;while(1){if((Vp(a,b+8|0,da(b|0,4,0,0)|0|0,f,da(c|0,4,0,0)|0|0)|0)>=1)break;ea(e|0,b|0,4,0);e=b+4|0;b=da(e|0,4,0,0)|0|0;if(!b){b=0;f=0;break a}else f=0}ea(e|0,c|0,4,0);e=c+4|0;c=da(e|0,4,0,0)|0|0;if(!c){c=0;f=1;break a}if(!b){b=0;f=0;break}}}else{f=e;e=g}else{c=0;f=e;e=g}while(0);ea(e|0,(f?b:c)|0,4,0);ea(d|0,da(g|0,4,0,0)|0|0,4,0);i=h;return}function Np(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f+8|0;d=f;c=da(2252*4|0,4,0,0)|0|0;if((c|0)!=0?(kc[(fa(c|0,127|0)|0)&127](202)|0)!=0:0)c=3338;else{c=lp(da(a|0,4,0,0)|0|0,0,b,4126,e)|0;ea(e|0,c|0,4,0);if(!c){c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=da(b|0,4,0,0)|0|0;$b[(fa(da((da(c|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](c,18,d)|0;c=da(e|0,4,0,0)|0|0}}i=f;return c|0}function Op(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=b+0|0;g=f+40|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));f=((c|0)<0)<<31>>31;g=pg(c,f)|0;ea(b+4|0,g|0,4,0);if(!g)ea(b|0,7|0,4,0);else{g=qw(d|0,e|0,c|0,f|0)|0;ea(b+12|0,g|0,4,0);ea(b+16|0,g|0,4,0);g=cw(d|0,e|0,g|0,((g|0)<0)<<31>>31|0)|0;f=b+24|0;ea(f|0,g|0,4,0);ea(f+4|0,C|0,4,0);ea(b+8|0,c|0,4,0);ea(b+32|0,a|0,4,0)}return}function Pp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:do if((c|0)>0){e=a+8|0;g=a+16|0;h=a+4|0;i=a+32|0;j=a+12|0;k=a+24|0;l=c;do{if(da(a|0,4,0,0)|0)break a;f=da(g|0,4,0,0)|0|0;d=(da(e|0,4,0,0)|0|0)-f|0;d=(l|0)>(d|0)?d:l;jw((da(h|0,4,0,0)|0|0)+f|0,b+(c-l)|0,d|0)|0;f=(da(g|0,4,0,0)|0|0)+d|0;ea(g|0,f|0,4,0);if((f|0)==(da(e|0,4,0,0)|0|0)){p=da(i|0,4,0,0)|0|0;n=da(j|0,4,0,0)|0|0;o=(da(h|0,4,0,0)|0|0)+n|0;m=k;m=iw(da(m|0,4,0,0)|0|0,da(m+4|0,4,0,0)|0|0,n|0,((n|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(p|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](p,o,f-n|0,m,C)|0|0,4,0);ea(g|0,0|0,4,0);ea(j|0,0|0,4,0);m=da(e|0,4,0,0)|0|0;f=k;m=iw(da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0,m|0,((m|0)<0)<<31>>31|0)|0;f=k;ea(f|0,m|0,4,0);ea(f+4|0,C|0,4,0)}l=l-d|0}while((l|0)>0)}while(0);return}function Qp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=a+4|0;if(((da(a|0,4,0,0)|0|0)==0?(d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(c=da(a+16|0,4,0,0)|0|0,f=da(a+12|0,4,0,0)|0|0,(c|0)>(f|0)):0){h=da(a+32|0,4,0,0)|0|0;g=a+24|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,d+f|0,c-f|0,g,C)|0|0,4,0)}d=a+24|0;c=da(a+16|0,4,0,0)|0|0;d=iw(c|0,((c|0)<0)<<31>>31|0,da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0;c=b;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);Vc(da(e|0,4,0,0)|0|0);e=da(a|0,4,0,0)|0|0;c=a+0|0;d=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(d|0));return e|0}function Rp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=da(2252*4|0,4,0,0)|0|0;if((f|0)!=0?(kc[(fa(f|0,127|0)|0)&127](201)|0)!=0:0)f=266;else{h=b+44|0;if(da(h|0,4,0,0)|0)ea(h|0,0|0,4,0);m=b;ea(m|0,d|0,4,0);ea(m+4|0,e|0,4,0);m=c+8|0;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;i=b+8|0;g=i;ea(g|0,k|0,4,0);ea(g+4|0,m|0,4,0);g=da(c|0,4,0,0)|0|0;j=b+24|0;ea(j|0,g|0,4,0);c=a+8|0;f=da(c|0,4,0,0)|0|0;a=da((da(f+24|0,4,0,0)|0|0)+136|0,4,0,0)|0|0;l=((a|0)<0)<<31>>31;if(!((m|0)>(l|0)|(m|0)==(l|0)&k>>>0>a>>>0)?(da(da(g|0,4,0,0)|0|0,4,0,0)|0|0)>2:0){ea(h|0,0|0,4,0);f=da(c|0,4,0,0)|0|0}a=da(f+12|0,4,0,0)|0|0;c=((a|0)<0)<<31>>31;e=qw(d|0,e|0,a|0,c|0)|0;f=b+36|0;d=da(f|0,4,0,0)|0|0;if(!d){h=pg(a,c)|0;ea(f|0,h|0,4,0);ea(b+40|0,a|0,4,0);d=h;f=(h|0)==0?7:0}else f=0;if((f|0)==0&(e|0)!=0){f=a-e|0;a=b;h=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;b=iw(h|0,a|0,f|0,((f|0)<0)<<31>>31|0)|0;k=C;c=i;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if((k|0)>(c|0)|(k|0)==(c|0)&b>>>0>g>>>0)f=cw(g|0,c|0,h|0,a|0)|0;j=da(j|0,4,0,0)|0|0;f=sc[(fa(da((da(j|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](j,d+e|0,f,h,a)|0}}return f|0}function Sp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;d=da(a+44|0,4,0,0)|0|0;c=a;e=da(c|0,4,0,0)|0|0;a:do if(!d){d=da(a+40|0,4,0,0)|0|0;c=qw(e|0,da(c+4|0,4,0,0)|0|0,d|0,((d|0)<0)<<31>>31|0)|0;if((c|0)!=0&(d-c|0)>8){d=(rp((da(a+36|0,4,0,0)|0|0)+c|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0;break}else d=0;while(1){c=Jq(a,1,f)|0;if(c)break a;c=da((da(f|0,4,0,0)|0)>>0|0,1,0,0)|0|0;ea(g+(d&15)>>0|0,c|0,1,0);if(c<<24>>24<0)d=d+1|0;else break}rp(g,b)|0;c=0}else{d=(rp(d+e|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0}while(0);i=h;return c|0}function Tp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;c=g;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=a;e=da(c+4|0,4,0,0)|0|0;b=a+8|0;d=da(b+4|0,4,0,0)|0|0;do if((e|0)<(d|0)|((e|0)==(d|0)?(da(c|0,4,0,0)|0|0)>>>0<(da(b|0,4,0,0)|0|0)>>>0:0))h=9;else{c=da(a+48|0,4,0,0)|0|0;if(c){b=Kq(c)|0;f=c+32|0;d=c+48|0;ea(f+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(f+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(f+8|0,da(d+8|0,4,0,0)|0|0,4,0);ea(f+12|0,da(d+12|0,4,0,0)|0|0,4,0);d=c+40|0;f=c+8|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(e|0)?(da(d+4|0,4,0,0)|0|0)==(f|0):0)ea(c+20|0,1|0,4,0);if(!b)if(!(da(c+20|0,4,0,0)|0)){b=Rp(da(c|0,4,0,0)|0|0,a,c+32|0,e,f)|0;if(!b){h=9;break}else break}else b=0}else b=0;Up(a)}while(0);if((h|0)==9){b=Sp(a,g)|0;if(!b){b=da(g|0,4,0,0)|0|0;ea(a+20|0,b|0,4,0);b=Jq(a,b,a+32|0)|0}}i=k;return b|0}function Up(a){a=a|0;var b=0;Vc(da(a+28|0,4,0,0)|0|0);Vc(da(a+36|0,4,0,0)|0|0);Rm(da(a+48|0,4,0,0)|0|0);a=a+0|0;b=a+56|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Vp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=da(a+12|0,4,0,0)|0|0;if(d)Fm(da((da(a+8|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,e,d,f);return Jm(c,b,f,0)|0}function Wp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;e=r+8|0;n=r+12|0;do if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){b=up(a,b,e,0)|0;if(!b){p=da(e|0,4,0,0)|0|0;o=p+9|0;a:do if(!(da(o>>0|0,1,0,0)|0)){ea(o>>0|0,1|0,1,0);l=da(p+6>>0|0,1,0,1)|0|0;h=p+18|0;e=da(h|0,2,0,0)|0|0;if(!(e<<16>>16)){e=e&65535;b=p+5|0}else{g=0;while(1){f=da(p+56|0,4,0,0)|0|0;e=g<<1;b=da(p+64|0,4,0,0)|0|0;e=((da(b+e>>0|0,1,0,1)|0)<<8|(da(b+(e|1)>>0|0,1,0,1)|0))&(da(p+20|0,2,0,1)|0);b=f+e|0;k=p+5|0;if((da(k>>0|0,1,0,0)|0|0)==0?(m=Wp(a,(da(f+(e+1)>>0|0,1,0,1)|0)<<16|(da(b>>0|0,1,0,1)|0)<<24|(da(f+(e+2)>>0|0,1,0,1)|0)<<8|(da(f+(e+3)>>0|0,1,0,1)|0),1,d)|0,(m|0)!=0):0){b=m;q=21;break a}b=Gp(p,b,n)|0;g=g+1|0;if(b){q=21;break a}e=da(h|0,2,0,1)|0|0;if((g|0)>=(e|0)){b=k;break}}}if(!(da(b>>0|0,1,0,0)|0)){b=da(p+56|0,4,0,0)|0|0;b=Wp(a,(da(b+(l+9)>>0|0,1,0,1)|0)<<16|(da(b+(l+8)>>0|0,1,0,1)|0)<<24|(da(b+(l+10)>>0|0,1,0,1)|0)<<8|(da(b+(l+11)>>0|0,1,0,1)|0),1,d)|0;if(!b)q=16}else if(!d)q=16;else{ea(d|0,(da(d|0,4,0,0)|0|0)+e|0,4,0);q=16}if((q|0)==16){if(c){b=Xm(da(p+52|0,4,0,0)|0|0,p,da(p+72|0,4,0,0)|0|0)|0;q=21;break}b=Fg(da(p+68|0,4,0,0)|0|0)|0;if(!b){ol(p,da((da(p+56|0,4,0,0)|0|0)+l>>0|0,1,0,1)|0|8);b=0;q=21;break}}ea(o>>0|0,0|0,1,0)}else{ea(f|0,60971|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11;q=21}while(0);if((q|0)==21){ea(o>>0|0,0|0,1,0);if(!p)break}Ag(da(p+68|0,4,0,0)|0|0)}}else{ea(f|0,60966|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11}while(0);i=r;return b|0}function Xp(a,b){a=a|0;b=b|0;var c=0,d=0;d=(da(a|0,4,0,0)|0|0)+204|0;c=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(d|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,b,0)|0;c=hl(da(d|0,4,0,0)|0|0,b,c)|0;if(!c)c=0;else{d=da(c+8|0,4,0,0)|0|0;ea(d+56|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+68|0,c|0,4,0);ea(d+52|0,a|0,4,0);ea(d+72|0,b|0,4,0);ea(d+6>>0|0,((b|0)==1?100:0)|0,1,0);c=d}return c|0}function Yp(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;pc[(fa(da(8744+140|0,4,0,0)|0|0,15|0)|0)&15](da((da(a+28|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,b);ea(c|0,b|0,4,0);if(((da(a+24|0,2,0,0)|0)&6)==6)Po(a,3);return}function Zp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;m=da(a+52|0,4,0,0)|0|0;n=da(a>>0|0,1,0,0)|0|0;o=da(a+72|0,4,0,0)|0|0;l=_p(a)|0;ea(p|0,l|0,4,0);if(!l){l=da(a+18|0,2,0,0)|0|0;k=l&65535;if(!(l<<16>>16))b=a+5|0;else{c=a+56|0;d=a+20|0;e=a+64|0;b=a+5|0;l=0;do{f=da(c|0,4,0,0)|0|0;g=l<<1;h=da(e|0,4,0,0)|0|0;g=((da(h+g>>0|0,1,0,1)|0)<<8|(da(h+(g|1)>>0|0,1,0,1)|0))&(da(d|0,2,0,1)|0);h=f+g|0;Eq(a,h,p);if(!(da(b>>0|0,1,0,0)|0))yp(m,(da(f+(g+1)>>0|0,1,0,1)|0)<<16|(da(h>>0|0,1,0,1)|0)<<24|(da(f+(g+2)>>0|0,1,0,1)|0)<<8|(da(f+(g+3)>>0|0,1,0,1)|0),5,o,p);l=l+1|0}while((l|0)<(k|0))}if(!(da(b>>0|0,1,0,0)|0)){l=da(a+6>>0|0,1,0,1)|0|0;k=da(a+56|0,4,0,0)|0|0;yp(m,(da(k+(l+9)>>0|0,1,0,1)|0)<<16|(da(k+(l+8)>>0|0,1,0,1)|0)<<24|(da(k+(l+10)>>0|0,1,0,1)|0)<<8|(da(k+(l+11)>>0|0,1,0,1)|0),5,o,p)}}ea(a>>0|0,n|0,1,0);i=q;return da(p|0,4,0,0)|0|0}function _p(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r;a:do if(!(da(a>>0|0,1,0,0)|0)){b=da(a+52|0,4,0,0)|0|0;n=da(a+56|0,4,0,0)|0|0;f=da(a+6>>0|0,1,0,1)|0|0;if(Qo(a,da(n+f>>0|0,1,0,1)|0|0)|0){ea(q|0,54562|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=da(b+32|0,4,0,0)|0|0;ea(a+20|0,h+65535|0,2,0);ea(a+1>>0|0,0|0,1,0);m=da(b+36|0,4,0,0)|0|0;b=f+8+(da(a+7>>0|0,1,0,1)|0|0)|0;ea(a+14|0,b|0,2,0);ea(a+60|0,n+m|0,4,0);b=b&65535;ea(a+64|0,n+b|0,4,0);e=da(n+(f+5)>>0|0,1,0,0)|0|0;d=da(n+(f+6)>>0|0,1,0,0)|0|0;c=(da(n+(f+3)>>0|0,1,0,1)|0)<<8|(da(n+(f+4)>>0|0,1,0,1)|0);ea(a+18|0,c|0,2,0);if(c>>>0>(((h+-8|0)>>>0)/6|0)>>>0){ea(q|0,54579|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=(c<<1)+b|0;g=m+-4|0;c=(da(n+(f+1)>>0|0,1,0,1)|0)<<8|(da(n+(f+2)>>0|0,1,0,1)|0);b=(((e&255)<<8|d&255)+65535&65535)+1+(da(n+(f+7)>>0|0,1,0,1)|0|0)|0;do if(c){while(1){if((c|0)<(h|0)|(c|0)>(g|0)){p=8;break}d=(da(n+c>>0|0,1,0,1)|0)<<8|(da(n+(c+1)>>0|0,1,0,1)|0);e=(da(n+(c+2)>>0|0,1,0,1)|0)<<8|(da(n+(c+3)>>0|0,1,0,1)|0);c=e+c|0;if(!d){k=e;l=c;o=b;p=12;break}if((d|0)<=(c+3|0)|(c|0)>(m|0))break;c=d;b=e+b|0}if((p|0)==8){ea(q|0,54634|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}if((p|0)==12?(l|0)<=(m|0):0){b=k+o|0;break}ea(q|0,54641|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}while(0);if((b|0)>(m|0)){ea(q|0,54655|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}else{ea(a+16|0,b-h|0,2,0);ea(a>>0|0,1|0,1,0);b=0;break}}else b=0;while(0);i=r;return b|0}function $p(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=da(a|0,4,0,0)|0|0;e=d+65|0;if(!(da(e>>0|0,1,0,0)|0)){if(((da(d+24|0,4,0,0)|0)&65536|0)==0?(f=a+4|0,k=da(f|0,4,0,0)|0|0,ea(g|0,((b|0)==0?13552:b)|0,4,0),ch(k,d,13560,g),(c|0)!=0):0){b=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;ea(g|0,b|0,4,0);ea(g+4|0,c|0,4,0);d=Lq(d,b,0,g)|0;ea(da(f|0,4,0,0)|0|0,d|0,4,0)}if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,105209|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11}else d=7}else d=7;ea(a+12|0,d|0,4,0);i=h;return}function aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=a+20|0;a:do if((da(l|0,4,0,0)|0|0)>0){g=a+16|0;h=(c|0)==0;k=0;a=0;do{e=(k|0)<2^k;f=da(g|0,4,0,0)|0|0;d=da(f+(e<<4)+12|0,4,0,0)|0|0;if(!(!h?(cd(c,da(f+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an(d+24|0,b,m)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}k=k+1|0}while((k|0)<(da(l|0,4,0,0)|0|0))}else a=0;while(0);i=n;return a|0}function bq(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+8|0,4,0,0)|0|0;d=a+46|0;c=da(d|0,2,0,0)|0|0;c=(c&65535)>5?5:c&65535;b=da((da(a+12|0,4,0,0)|0|0)+28|0,2,0,0)|0|0;ea(e|0,(b<<16>>16<33?33:b)|0,2,0);jw(e+2|0,13512,c<<1|0)|0;b=da(d|0,2,0,1)|0|0;if(c>>>0<b>>>0)do{c=c+1|0;ea(e+(c<<1)|0,23|0,2,0);b=da(d|0,2,0,1)|0|0}while((c|0)<(b|0));if(da(a+50>>0|0,1,0,0)|0)ea(e+(b<<1)|0,0|0,2,0);return}function cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+64|0;if((i|0)>=(j|0))ba();h=l;a:do if((((c|0)!=0?(f=da(c|0,4,0,0)|0|0,(f|0)!=0):0)?(k=c+8|0,(da(k|0,4,0,0)|0|0)!=0):0)?(e=a+4|0,m=Zh(da(a|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0)|0,(m|0)!=0):0){d=da(c+4|0,4,0,0)|0|0;b:do if(!d)g=11;else{if(!(cd(da(c|0,4,0,0)|0|0,d)|0)){e=da(m+8|0,4,0,0)|0|0;if(!e){g=11;break}while(1){f=da(e+51>>0|0,1,0,0)|0|0;if((f&3)==2)break;e=da(e+20|0,4,0,0)|0|0;if(!e){g=11;break b}}d=da(k|0,4,0,0)|0|0;b=e}else{b=aq(da(a|0,4,0,0)|0|0,d,da(e|0,4,0,0)|0|0)|0;e=da(k|0,4,0,0)|0|0;if(!b)break;f=da(b+51>>0|0,1,0,0)|0|0;d=e}k=(da(b+46|0,2,0,1)|0|0)+1|0;ea(b+51>>0|0,f&-5|0,1,0);e=b+8|0;Mq(d,k,da(e|0,4,0,0)|0|0,b);if(da(b+36|0,4,0,0)|0)break a;ea(m+28|0,da(da(e|0,4,0,0)|0|0,2,0,0)|0|0|0,2,0);break a}while(0);if((g|0)==11)e=da(k|0,4,0,0)|0|0;g=m+42|0;k=h+44|0;ea(k|0,da(g|0,2,0,0)|0|0|0,2,0);Mq(e,1,m+28|0,h);ea(g|0,da(k|0,2,0,0)|0|0|0,2,0)}while(0);i=l;return 0}function dq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;do if(b){if((da(a+12|0,4,0,0)|0|0)>>>0<b>>>0){ea(f|0,b|0,4,0);en(a,44408,f);c=1;break}d=(da(a+8|0,4,0,0)|0|0)+(b>>>3)|0;e=da(d>>0|0,1,0,1)|0|0;c=1<<(b&7);if(!(e&c)){ea(d>>0|0,e|c|0,1,0);c=0;break}else{ea(f|0,b|0,4,0);en(a,44432,f);c=1;break}}else c=1;while(0);i=g;return c|0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;do if(c){if((b|0)==1){b=c+8|0;ea(a|0,da(b|0,4,0,0)|0|0,4,0);ea(b|0,0|0,4,0);ea(c+12|0,0|0,4,0);break}b=b+-1|0;c=eq(a,b)|0;d=da(a|0,4,0,0)|0|0;if(d){ea(d+12|0,c|0,4,0);c=d+8|0;ea(a|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,eq(a,b)|0|0,4,0);return d|0}}else c=0;while(0);return c|0}function fq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
function Bl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;n=a+16|0;if((da(n>>0|0,1,0,1)|0|0)<2?(da(a+17>>0|0,1,0,1)|0|0)<2:0)d=0;else{bp(a);m=a+64|0;g=da(m|0,4,0,0)|0|0;e=da(g|0,4,0,0)|0|0;do if(!e)e=0;else{if((e|0)==14696){Fi(g,0,0)|0;ea(g|0,0|0,4,0);e=0;break}f=da(a+5>>0|0,1,0,0)|0|0;if(f<<24>>24==3){f=a+72|0;l=f;if(!((da(l|0,4,0,0)|0|0)==0&(da(l+4|0,4,0,0)|0|0)==0)){e=$b[(fa(da(e+16|0,4,0,0)|0|0,63|0)|0)&63](g,0,0)|0;if(!e)if(!(da(a+8>>0|0,1,0,0)|0))e=0;else{e=da(m|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,da(a+11>>0|0,1,0,1)|0|0)|0}}else e=0;m=f;ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0);break}else if(f<<24>>24!=1?(da(a+4>>0|0,1,0,0)|0|0)==0|f<<24>>24==5:0){m=(da(a+12>>0|0,1,0,0)|0|0)==0;kc[(fa(da(e+4|0,4,0,0)|0|0,127|0)|0)&127](g)|0;ea(g|0,0|0,4,0);if(!m){e=0;break}e=da(a|0,4,0,0)|0|0;e=$b[(fa(da(e+28|0,4,0,0)|0|0,63|0)|0)&63](e,da(a+172|0,4,0,0)|0|0,0)|0;break}l=a+72|0;h=l;if(!((da(h|0,4,0,0)|0|0)==0&(da(h+4|0,4,0,0)|0|0)==0)){h=a+160|0;d=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;if((b|0)!=0|(d|0)==0&(h|0)==0)e=$b[(fa(da(e+16|0,4,0,0)|0|0,63|0)|0)&63](g,0,0)|0;else e=sc[(fa(da(e+12|0,4,0,0)|0|0,31|0)|0)&31](g,14664,28,0,0)|0;if(!e){if(!(da(a+7>>0|0,1,0,0)|0)){e=da(m|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,da(a+11>>0|0,1,0,1)|0|16)|0}else e=0;if((e|0)==0&((h|0)>0|(h|0)==0&d>>>0>0)){e=da(m|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](e,k)|0;f=k;k=da(f+4|0,4,0,0)|0|0;if((e|0)==0&((k|0)>(h|0)|((k|0)==(h|0)?(da(f|0,4,0,0)|0|0)>>>0>d>>>0:0))){e=da(m|0,4,0,0)|0|0;e=$b[(fa(da((da(e|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](e,d,h)|0}}}}else e=0;m=l;ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0)}while(0);f=a+56|0;di(da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0);ea(a+44|0,0|0,4,0);f=a+204|0;d=da(f|0,4,0,0)|0|0;b=da(d|0,4,0,0)|0|0;if(b){do{wl(b);b=da(d|0,4,0,0)|0|0}while((b|0)!=0);d=da(f|0,4,0,0)|0|0}f=a+24|0;cp(d,da(f|0,4,0,0)|0|0);g=a+208|0;d=da(g|0,4,0,0)|0|0;if(!d){if((e|0)==0&(c|0)!=0){d=da(f|0,4,0,0)|0|0;if((da(a+32|0,4,0,0)|0|0)>>>0>d>>>0)e=Al(a,d)|0;else e=0}}else{b=d+44|0;if(da(b>>0|0,1,0,0)|0){if(!(da(d+43>>0|0,1,0,0)|0)){m=da(d+4|0,4,0,0)|0|0;oc[(fa(da((da(m|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](m,0,1,9)|0}ea(b>>0|0,0|0,1,0);ea(d+47>>0|0,0|0,1,0)}}if((e|0)==0&(c|0)!=0){d=da(a+60|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;if(!e)f=0;else{f=$b[(fa(da(e+40|0,4,0,0)|0|0,63|0)|0)&63](d,22,0)|0;f=(f|0)==12?0:f}}else f=e;do if(!(da(a+4>>0|0,1,0,0)|0)){d=da(g|0,4,0,0)|0|0;if((d|0)!=0?(dp(d,0)|0)==0:0){d=0;break}e=da(a+60|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if(d){if(!(da(a+13>>0|0,1,0,0)|0))d=qc[(fa(da(d+32|0,4,0,0)|0|0,127|0)|0)&127](e,1)|0;else d=0;e=a+17|0;if((da(e>>0|0,1,0,0)|0|0)!=5)ea(e>>0|0,1|0,1,0)}else d=0;ea(a+18>>0|0,0|0,1,0)}else d=0;while(0);ea(n>>0|0,1|0,1,0);ea(a+19>>0|0,0|0,1,0);d=(f|0)==0?d:f}i=o;return d|0}function Cl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=da(a+4|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(f+19>>0|0,0|0,1,0);g=a+8|0;do if(da(g>>0|0,1,0,0)|0){if((da(c+152|0,4,0,0)|0|0)>1){c=f+76|0;if((da(c|0,4,0,0)|0|0)==(a|0)?(ea(c|0,0|0,4,0),b=f+22|0,ea(b|0,(da(b|0,2,0,1)|0)&65439|0,2,0),b=da(f+72|0,4,0,0)|0|0,(b|0)!=0):0)do{ea(b+8>>0|0,1|0,1,0);b=da(b+12|0,4,0,0)|0|0}while((b|0)!=0);ea(g>>0|0,1|0,1,0);break}c=f+72|0;b=da(c|0,4,0,0)|0|0;a:do if(b)do while(1){d=b+12|0;e=da(d|0,4,0,0)|0|0;if((da(b|0,4,0,0)|0|0)!=(a|0)){c=d;b=e;break}ea(c|0,e|0,4,0);if((da(b+4|0,4,0,0)|0|0)==1)b=e;else{Vc(b);b=da(c|0,4,0,0)|0|0}if(!b)break a}while((b|0)!=0);while(0);b=f+76|0;if((da(b|0,4,0,0)|0|0)!=(a|0)){b=da(f+40|0,4,0,0)|0|0;if((b|0)==2){e=f+22|0;ea(e|0,(da(e|0,2,0,1)|0)&65471|0,2,0);ea(f+40|0,1|0,4,0);e=20;break}}else{ea(b|0,0|0,4,0);b=f+22|0;ea(b|0,(da(b|0,2,0,1)|0)&65439|0,2,0);b=da(f+40|0,4,0,0)|0|0}b=b+-1|0;ea(f+40|0,b|0,4,0);if(!b){ea(f+20>>0|0,0|0,1,0);e=20}else e=20}else e=20;while(0);if(((e|0)==20?(ea(g>>0|0,0|0,1,0),(da(f+20>>0|0,1,0,0)|0|0)==0):0)?(h=f+12|0,i=da(h|0,4,0,0)|0|0,(i|0)!=0):0){ea(h|0,0|0,4,0);Ag(da(i+68|0,4,0,0)|0|0)}return}function Dl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=((da(a+36|0,4,0,0)|0|0)>>>0)/5|0;if(b>>>0<2){d=0;e=da(a+32|0,4,0,0)|0|0;g=da(2514*4|0,4,0,0)|0|0}else{d=b+-2|0;d=d-((d>>>0)%((f+1|0)>>>0)|0)|0;g=da(2514*4|0,4,0,0)|0|0;e=da(a+32|0,4,0,0)|0|0;d=((d+1|0)==((g>>>0)/(e>>>0)|0|0)?3:2)+d|0}c=b-c-(((c-b+f+d|0)>>>0)/(f>>>0)|0)|0;a=a+32|0;d=((g>>>0)/(e>>>0)|0)+1|0;e=((g>>>0)/(e>>>0)|0)+1|0;c=((d>>>0<b>>>0&c>>>0<d>>>0)<<31>>31)+c|0;while(1){if(c>>>0<2)d=0;else{d=c+-2|0;d=d-((d>>>0)%((f+1|0)>>>0)|0)|0;d=((d+1|0)==((g>>>0)/((da(a|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+d|0}if(!((d|0)==(c|0)|(c|0)==(e|0)))break;c=c+-1|0}return c|0}function El(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=(b|0)==0;d=a;a:while(1){do if((d|0)!=(c|0)){if(!e?(da(d+60|0,4,0,0)|0|0)!=(b|0):0)break;if(((da(d+73>>0|0,1,0,0)|0|0)+-1&255)<2){a=ep(d)|0;if(!a)break;else break a}else{fp(d);break}}while(0);d=da(d+8|0,4,0,0)|0|0;if(!d){a=0;break}}return a|0}function Fl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;if((i|0)>=(j|0))ba();f=s;h=s+32|0;p=s+28|0;g=s+24|0;l=s+20|0;n=s+16|0;q=s+12|0;o=s+8|0;if(c>>>0<2)k=0;else{k=c+-2|0;k=k-((k>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+k|0}do if((k|0)!=(c|0)?((((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0)+1|0)!=(c|0):0){m=da((da(a+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if((da(m+37>>0|0,1,0,1)|0|0)<<16|(da(m+36>>0|0,1,0,1)|0|0)<<24|(da(m+38>>0|0,1,0,1)|0|0)<<8|(da(m+39>>0|0,1,0,1)|0|0)){e=gp(a,c,h,p)|0;if(!e){m=da(h>>0|0,1,0,0)|0|0;if(m<<24>>24==2){if(d){e=0;break}e=hp(a,l,g,c,1)|0;if(e)break;f=da(l|0,4,0,0)|0|0;if(!f){r=24;break}Ag(da(f+68|0,4,0,0)|0|0);r=24;break}else if(m<<24>>24!=1){e=cl(a,c,q,0)|0;if(e)break;f=(d|0)==0;h=f?2:0;f=f?b:0;g=(d|0)!=0;do{e=hp(a,o,n,f,h)|0;if(e){r=16;break}k=da(o|0,4,0,0)|0|0;if(k)Ag(da(k+68|0,4,0,0)|0|0);k=da(n|0,4,0,0)|0|0}while(g&k>>>0>b>>>0);if((r|0)==16){f=da(q|0,4,0,0)|0|0;if(!f)break;Ag(da(f+68|0,4,0,0)|0|0);break}h=da(q|0,4,0,0)|0|0;e=Ym(a,h,m,da(p|0,4,0,0)|0|0,k,d)|0;if(h)Ag(da(h+68|0,4,0,0)|0|0);if(!e){r=24;break}else break}else{ea(f|0,56228|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);e=11;break}}}else e=101}else r=24;while(0);if((r|0)==24)if(!d){g=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0;h=g+1|0;k=a+36|0;f=c;while(1){e=f+-1|0;if((e|0)==(h|0)){f=e;continue}if(e>>>0<2)f=0;else{f=f+-3|0;f=f-((f>>>0)%(((((da(k|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(g|0)?3:2)+f|0}if((f|0)==(e|0))f=e;else break}ea(a+19>>0|0,1|0,1,0);ea(a+44|0,e|0,4,0);e=0}else e=0;i=s;return e|0}function Gl(a){a=a|0;var b=0,c=0,d=0;d=a+16|0;c=da(d>>0|0,1,0,0)|0|0;a:do if(c<<24>>24!=6)if((c&255)>=2){do if(!(da(a+208|0,4,0,0)|0)){if(!(c<<24>>24==2?1:(da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)==0)){b=Jo(a,0)|0;break}b=Bl(a,0,0)|0;if((da(a+15>>0|0,1,0,0)|0|0)==0&(c&255)>2){ea(a+40|0,4|0,4,0);ea(d>>0|0,6|0,1,0);break a}}else{b=ip(a,2,-1)|0;c=Bl(a,da(a+19>>0|0,1,0,1)|0|0,0)|0;b=(b|0)==0?c:b}while(0);c=b&255;if((c|0)==10|(c|0)==13){ea(a+40|0,b|0,4,0);ea(d>>0|0,6|0,1,0)}}else b=0;else b=da(a+40|0,4,0,0)|0|0;while(0);return b|0}function Hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:do if((a|0)!=0?(e=da(a+4|0,4,0,0)|0|0,ea(e+4|0,da(a|0,4,0,0)|0|0,4,0),e=da(e+8|0,4,0,0)|0|0,(e|0)!=0):0){i=(c|0)==0;while(1){if(!i?((da(e+72>>0|0,1,0,0)|0)&1)==0:0){if(((da(e+73>>0|0,1,0,0)|0|0)+-1&255)<2?(d=ep(e)|0,(d|0)!=0):0)break}else{c=e+56|0;Vc(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(e+73>>0|0,4|0,1,0);ea(e+68|0,b|0,4,0)}c=e+76|0;if((da(c|0,2,0,0)|0|0)>=0){h=0;while(1){f=e+(h<<2)+120|0;g=da(f|0,4,0,0)|0|0;if(g)Ag(da(g+68|0,4,0,0)|0|0);ea(f|0,0|0,4,0);if((h|0)<(da(c|0,2,0,0)|0|0))h=h+1|0;else break}}e=da(e+8|0,4,0,0)|0|0;if(!e)break a}Hl(a,d,0)|0;return d|0}while(0);return 0}function Il(a){a=a|0;var b=0,c=0,d=0;a:do if(!(da(a+4|0,4,0,0)|0)){d=da(a+20|0,4,0,0)|0|0;if((d|0)>0){a=da(a+16|0,4,0,0)|0|0;c=0;while(1){b=da(a+(c<<4)+4|0,4,0,0)|0|0;if((b|0)!=0?(da(b+16|0,4,0,0)|0|0)!=0:0){a=1;break a}c=c+1|0;if((c|0)>=(d|0)){a=0;break}}}else a=0}else a=1;while(0);return a|0}function Jl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();i=a+20|0;g=da(i|0,4,0,0)|0|0;f=(g|0)>0;if(f){c=da(a+16|0,4,0,0)|0|0;e=0;do{d=da(c+(e<<4)+4|0,4,0,0)|0|0;if(d)ea((da(d+4|0,4,0,0)|0|0)+4|0,da(d|0,4,0,0)|0|0,4,0);e=e+1|0}while((e|0)!=(g|0))}j=a+24|0;if(!((da(j|0,4,0,0)|0)&2))c=1;else c=(da(a+145>>0|0,1,0,0)|0|0)!=0;if(f){h=a+16|0;c=c&1;f=g;g=0;e=0;while(1){d=da((da(h|0,4,0,0)|0|0)+(g<<4)+4|0,4,0,0)|0|0;if(!d)d=f;else{e=(da(d+8>>0|0,1,0,0)|0|0)==2?1:e;Kg(d,b,c);d=da(i|0,4,0,0)|0|0}g=g+1|0;if((g|0)>=(d|0))break;else f=d}}else e=0;Qn(a,68);c=da(3166*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=da(j|0,4,0,0)|0|0;if((c&2|0)!=0?(da(a+145>>0|0,1,0,0)|0|0)==0:0){c=da(a+4|0,4,0,0)|0|0;if(c)do{d=c+88|0;ea(d|0,da(d|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);Dg(a);c=da(j|0,4,0,0)|0|0}d=a+504|0;ea(d+0|0,0|0,4,0);ea(d+4|0,0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(j|0,c&-16777217|0,4,0);c=da(a+204|0,4,0,0)|0|0;do if(c){if((e|0)==0?(da(a+63>>0|0,1,0,0)|0|0)!=0:0)break;bc[(fa(c|0,31|0)|0)&31](da(a+200|0,4,0,0)|0|0)}while(0);return}function Kl(a){a=a|0;var b=0,c=0;c=a+488|0;b=da(c|0,4,0,0)|0|0;if(b)do{ea(c|0,da(b+24|0,4,0,0)|0|0,4,0);lg(a,b);b=da(c|0,4,0,0)|0|0}while((b|0)!=0);ea(a+496|0,0|0,4,0);ea(a+500|0,0|0,4,0);ea(a+70>>0|0,0|0,1,0);return}function Ll(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=da(a+4|0,4,0,0)|0|0;ea(f+4|0,da(a|0,4,0,0)|0|0,4,0);c=da(f+8|0,4,0,0)|0|0;if(c)do{b=c;c=da(c+8|0,4,0,0)|0|0;if((da(b|0,4,0,0)|0|0)==(a|0))jp(b)}while((c|0)!=0);Kg(a,0,0);a:do if(da(a+9>>0|0,1,0,0)|0){c=f+64|0;b=da(c|0,4,0,0)|0|0;ea(c|0,b+-1|0,4,0);if((b|0)<2){b=da(3664*4|0,4,0,0)|0|0;if((b|0)==(f|0)){ea(3664*4|0,da(f+68|0,4,0,0)|0|0,4,0);d=12;break}else c=b;do{if(!c){d=12;break a}b=c+68|0;c=da(b|0,4,0,0)|0|0}while((c|0)!=(f|0));ea(b|0,da(f+68|0,4,0,0)|0|0,4,0);d=12}}else d=12;while(0);if((d|0)==12){kp(da(f|0,4,0,0)|0|0);b=da(f+52|0,4,0,0)|0|0;c=f+48|0;if((b|0)!=0?(e=da(c|0,4,0,0)|0|0,(e|0)!=0):0)bc[(fa(b|0,31|0)|0)&31](e);b=da(c|0,4,0,0)|0|0;if(b)Vc(b);b=f+80|0;c=da(b|0,4,0,0)|0|0;if(c){c=c+-4|0;ea(b|0,c|0,4,0);_k(c);ea(b|0,0|0,4,0)}Vc(f)}c=da(a+28|0,4,0,0)|0|0;b=a+24|0;if(c)ea(c+24|0,da(b|0,4,0,0)|0|0,4,0);b=da(b|0,4,0,0)|0|0;if(b)ea(b+28|0,c|0,4,0);Vc(a);return}function Ml(a,b){a=a|0;b=b|0;var c=0;b=da(b+32|0,4,0,0)|0|0;if((b|0)!=0?(c=(da(b|0,4,0,0)|0|0)+-1|0,ea(b|0,c|0,4,0),(c|0)==0):0){bc[(fa(da(b+4|0,4,0,0)|0|0,31|0)|0)&31](da(b+8|0,4,0,0)|0|0);lg(a,b)}return}function Nl(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);c=a+12|0;Vc(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(a|0,0|0,4,0);if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);ea(a+4|0,0|0,4,0);return}function Ol(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=da(a|0,4,0,0)|0|0;kg(d,a);e=da(a+48|0,4,0,0)|0|0;c=a+52|0;b=da(c|0,4,0,0)|0|0;if(!e)ea(d+4|0,b|0,4,0);else{ea(e+52|0,b|0,4,0);b=da(c|0,4,0,0)|0|0}if(b)ea(b+48|0,e|0,4,0);ea(a+40|0,-1241070648|0,4,0);ea(a|0,0|0,4,0);lg(d,a)}return}function Pl(a){a=a|0;var b=0;ea(a+65>>0|0,0|0,1,0);ea(a+52|0,7|0,4,0);a=da(a+236|0,4,0,0)|0|0;do if(a){b=a+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(a);break}}while(0);return}function Ql(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();q=A;t=A+16|0;m=A+12|0;n=A+8|0;z=da(a|0,4,0,0)|0|0;if(da(z+65>>0|0,1,0,0)|0)ea(a+80|0,7|0,4,0);c=da(a+200|0,4,0,0)|0|0;if(c)ew(c|0,0,da(a+196|0,4,0,0)|0|0)|0;e=a+176|0;c=da(e|0,4,0,0)|0|0;if(c){while(1){d=da(c+4|0,4,0,0)|0|0;if(!d)break;else c=d}Wl(c)|0;ea(e|0,0|0,4,0);ea(a+184|0,0|0,4,0)}k=a+56|0;c=da(k|0,4,0,0)|0|0;a:do if((c|0)!=0?(l=a+36|0,b=da(l|0,4,0,0)|0|0,(b|0)>0):0){e=0;while(1){d=da(c+(e<<2)|0,4,0,0)|0|0;if(!d)d=b;else{Am(a,d);ea((da(k|0,4,0,0)|0|0)+(e<<2)|0,0|0,4,0);d=da(l|0,4,0,0)|0|0}e=e+1|0;if((e|0)>=(d|0))break a;c=da(k|0,4,0,0)|0|0;b=d}}while(0);c=da(a+8|0,4,0,0)|0|0;if(c)bh(c+40|0,da(a+28|0,4,0,0)|0|0);l=a+180|0;c=da(l|0,4,0,0)|0|0;if(c)do{ea(l|0,da(c+4|0,4,0,0)|0|0,4,0);k=c+80|0;b=c+60|0;d=da(b|0,4,0,0)|0|0;g=k+(d*40|0)|0;h=c+64|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{Am(da(c|0,4,0,0)|0|0,da(g+(e<<2)|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(h|0,4,0,0)|0|0));d=da(b|0,4,0,0)|0|0}bh(k,d);lg(da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,c);c=da(l|0,4,0,0)|0|0}while((c|0)!=0);if(da(a+204|0,4,0,0)|0)dm(a,-1,0);x=a+40|0;b:do if((da(x|0,4,0,0)|0|0)==-1108210269){v=a+76|0;if((da(v|0,4,0,0)|0|0)>-1){w=a+88|0;h=da(w|0,2,0,0)|0|0;if(h&128){u=a+80|0;e=da(u|0,4,0,0)|0|0;g=e&255;d=g+-7|0;do if(d>>>0<7?(f=(77>>>(d&127)&1)!=0,f):0)if((h&64)==0|(g|0)!=9){if((g|0)==7|(g|0)==13?(h&32)!=0:0){b=2;break}Jl(z,516);Kl(z);ea(z+63>>0|0,1|0,1,0);ea(a+92|0,0|0,4,0);e=da(u|0,4,0,0)|0|0;b=0}else{f=1;b=0}else{f=0;b=0}while(0);if((e|0)==0?(s=a+144|0,r=da(s+4|0,4,0,0)|0|0,(r|0)>0|(r|0)==0&(da(s|0,4,0,0)|0|0)>>>0>0):0){s=da(a|0,4,0,0)|0|0;ea(u|0,787|0,4,0);ea(a+86>>0|0,2|0,1,0);ch(a+44|0,s,34376,q)}g=z+304|0;if((da(g|0,4,0,0)|0|0)>0?(da(z+328|0,4,0,0)|0|0)==0:0)y=141;else if((da(z+63>>0|0,1,0,0)|0|0)!=0?(da(z+156|0,4,0,0)|0|0)==(((da(w|0,2,0,1)|0|0)>>>6&1^1)&65535|0):0){do if(!(da(u|0,4,0,0)|0))y=41;else{if(!((da(a+86>>0|0,1,0,0)|0|0)!=3|f)){y=41;break}Jl(z,0);ea(a+92|0,0|0,4,0)}while(0);c:do if((y|0)==41){d:do if(sm(a,1)|0)if(!((da(w|0,2,0,0)|0)&64))c=787;else{b=1;break b}else{f=z+328|0;d=da(f|0,4,0,0)|0|0;ea(f|0,0|0,4,0);e=da(g|0,4,0,0)|0|0;e:do if((e|0)>0){h=0;f:while(1){l=da((da(d+(h<<2)|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;do if(l){k=da((da(l|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;if(!k)break;c=kc[(fa(k|0,127|0)|0)&127](l)|0;Lm(a,l);if(c)break f;e=da(g|0,4,0,0)|0|0}while(0);h=h+1|0;if((h|0)>=(e|0)){y=50;break e}}ea(f|0,d|0,4,0);y=135}else y=50;while(0);g:do if((y|0)==50){ea(f|0,d|0,4,0);r=z+20|0;s=z+16|0;k=0;e=0;h=0;h:while(1){g=da(r|0,4,0,0)|0|0;if((k|0)>=(g|0)){d=e;break}f=da(s|0,4,0,0)|0|0;l=k;while(1){k=da(f+(l<<4)+4|0,4,0,0)|0|0;if((k|0)!=0?(da(k+8>>0|0,1,0,0)|0|0)==2:0)break;l=l+1|0;if((l|0)>=(g|0)){d=e;break h}}c=da(k+4|0,4,0,0)|0|0;ea(c+4|0,da(k|0,4,0,0)|0|0,4,0);c=ap(da(c|0,4,0,0)|0|0)|0;if(!c){k=l+1|0;e=((l|0)!=1&1)+e|0;h=1}else{y=135;break g}}do if(h){f=da(z+196|0,4,0,0)|0|0;if(!f)break;if(kc[(fa(f|0,127|0)|0)&127](da(z+192|0,4,0,0)|0|0)|0){c=531;break d}}while(0);e=da((da(s|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;h=da(da(e+4|0,4,0,0)|0|0,4,0,0)|0|0;g=(da(h+15>>0|0,1,0,0)|0|0)==0;if(g){l=da(h+168|0,4,0,0)|0|0;if(l)y=62}else{l=10360;y=62}do if((y|0)==62){k=l;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;if((k-l&1073741823|0)==0|(d|0)<2)break;p=da(z|0,4,0,0)|0|0;if(g){f=da(h+168|0,4,0,0)|0|0;ea(t|0,0|0,4,0);if(!f){l=0;f=0}else y=80}else{ea(t|0,0|0,4,0);f=10360;y=80}if((y|0)==80){h=f;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;l=h-f&1073741823}ea(q|0,f|0,4,0);o=th(z,44696,q)|0;if(!o){c=7;break d}l=o+l|0;k=p+32|0;h=0;i:while(1){do if(h){if((h|0)>100){y=87;break i}if((h|0)!=1)break;ea(q|0,o|0,4,0);ad(13,44728,q)}while(0);bd(4,n);c=da(n|0,4,0,0)|0|0;ea(q|0,c>>>8|0,4,0);ea(q+4|0,c&255|0,4,0);$c(13,l,44744,q)|0;c=oc[(fa(da(k|0,4,0,0)|0|0,31|0)|0)&31](p,o,0,m)|0;g=(c|0)==0;if(g&(da(m|0,4,0,0)|0|0)!=0)h=h+1|0;else{y=91;break}}if((y|0)==87){ea(q|0,o|0,4,0);ad(13,44712,q);$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,0)|0;y=92}else if((y|0)==91)if(g)y=92;do if((y|0)==92){c=lp(p,o,t,16406,0)|0;if(c)break;f=da(r|0,4,0,0)|0|0;j:do if((f|0)>0){m=0;k=0;n=0;h=0;k:while(1){l=da((da(s|0,4,0,0)|0|0)+(n<<4)+4|0,4,0,0)|0|0;do if(!l)l=m;else{if((da(l+8>>0|0,1,0,0)|0|0)!=2){l=m;break}g=da(l+4|0,4,0,0)|0|0;e=da(g|0,4,0,0)|0|0;d=da(e+172|0,4,0,0)|0|0;if(!d){l=m;break}if(!h){ea(g+4|0,da(l|0,4,0,0)|0|0,4,0);h=(da(e+7>>0|0,1,0,0)|0|0)==0&1}e=da(t|0,4,0,0)|0|0;l=d;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;g=d;c=sc[(fa(da((da(e|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](e,d,(l-g&1073741823)+1|0,m,k)|0;l=d;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;if(c){f=e;y=106;break k}l=iw((l-g&1073741823)+1|0,0,m|0,k|0)|0;f=da(r|0,4,0,0)|0|0;k=C}while(0);n=n+1|0;if((n|0)>=(f|0))break;else m=l}if((y|0)==106){d=da(f|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(f|0,0|0,4,0)}Vc(e);$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,0)|0;lg(z,o);y=135;break g}do if(!h)h=0;else{g=da(t|0,4,0,0)|0|0;if((kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0)&1024)break;c=qc[(fa(da((da(g|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](g,2)|0;if(!c)break;d=da(g|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](g)|0;ea(g|0,0|0,4,0)}Vc(g);$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,0)|0;lg(z,o);y=135;break g}while(0);e=da(r|0,4,0,0)|0|0;if((e|0)>0)l=0;else{l=1;c=0;break}while(1){g=da((da(s|0,4,0,0)|0|0)+(l<<4)+4|0,4,0,0)|0|0;if(g){c=Jg(g,o)|0;if(c){l=0;break j}e=da(r|0,4,0,0)|0|0}l=l+1|0;if((l|0)>=(e|0)){l=1;c=0;break}}}else{l=1;h=0;c=0}while(0);g=da(t|0,4,0,0)|0|0;f=da(g|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](g)|0;ea(g|0,0|0,4,0)}Vc(g);if(!l){lg(z,o);y=135;break g}c=$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,h)|0;lg(z,o);if(c){y=135;break g}c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=da(r|0,4,0,0)|0|0;if((c|0)>0){e=0;do{d=da((da(s|0,4,0,0)|0|0)+(e<<4)+4|0,4,0,0)|0|0;if(d){Ig(d,1)|0;c=da(r|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}c=da(3166*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();Qn(z,64);break g}while(0);lg(z,o);y=135;break g}while(0);c=da(r|0,4,0,0)|0|0;do if((c|0)>0){d=1;while(1){if(e){c=Jg(e,0)|0;if(c){y=135;break g}c=da(r|0,4,0,0)|0|0}if((d|0)>=(c|0))break;e=da((da(s|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;d=d+1|0}if((c|0)>0)e=0;else break;do{d=da((da(s|0,4,0,0)|0|0)+(e<<4)+4|0,4,0,0)|0|0;if(d){c=Ig(d,0)|0;if(c){y=135;break g}c=da(r|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}while(0);Qn(z,64)}while(0);do if((y|0)==135){if(!c)break;else if((c|0)!=5)break d;if(!((da(w|0,2,0,0)|0)&64)){c=5;break d}else{b=5;break b}}while(0);t=z+504|0;y=z+24|0;ea(t+0|0,0|0,4,0);ea(t+4|0,0|0,4,0);ea(t+8|0,0|0,4,0);ea(t+12|0,0|0,4,0);ea(y|0,(da(y|0,4,0,0)|0)&-16777219|0,4,0);break c}while(0);ea(u|0,c|0,4,0);Jl(z,0);ea(a+92|0,0|0,4,0)}while(0);ea(z+500|0,0|0,4,0);y=146}else y=141;do if((y|0)==141)if(!b)if(da(u|0,4,0,0)|0){c=da(a+86>>0|0,1,0,0)|0|0;if(c<<24>>24==2){b=2;y=147;break}else if(c<<24>>24==3){b=1;y=147;break}else{Jl(z,516);Kl(z);ea(z+63>>0|0,1|0,1,0);ea(a+92|0,0|0,4,0);y=146;break}}else{b=1;y=147}else y=147;while(0);if((y|0)==146)if(!b)b=0;else y=147;if((y|0)==147){c=_l(a,b)|0;if(c){y=da(u|0,4,0,0)|0|0;if((y|0)==0|(y&255|0)==19){ea(u|0,c|0,4,0);y=a+44|0;lg(z,da(y|0,4,0,0)|0|0);ea(y|0,0|0,4,0)}Jl(z,516);Kl(z);ea(z+63>>0|0,1|0,1,0);ea(a+92|0,0|0,4,0)}}if((da(w|0,2,0,0)|0)&4){if((b|0)==2){ea(z+80|0,0|0,4,0);b=a+92|0}else{b=a+92|0;y=da(b|0,4,0,0)|0|0;ea(z+80|0,y|0,4,0);u=z+84|0;ea(u|0,(da(u|0,4,0,0)|0|0)+y|0,4,0)}ea(b|0,0|0,4,0)}}if((da(v|0,4,0,0)|0|0)>-1){b=z+148|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);b=da(w|0,2,0,0)|0|0;if(!(b&64)){b=z+156|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);b=da(w|0,2,0,0)|0|0}if(b&128){y=z+152|0;ea(y|0,(da(y|0,4,0,0)|0|0)+-1|0,4,0)}}}ea(x|0,1369188723|0,4,0);b=a+80|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(da(b|0,4,0,0)|0|0)==5?5:0;break}else{ea(b|0,7|0,4,0);b=0;break}}else b=0;while(0);i=A;return b|0}function Rl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=a+8|0;d=da(e|0,2,0,1)|0|0;do if(d&18){ea(e|0,d|2|0,2,0);if(d&16384)Qg(a)|0;c=a+10|0;b=b&255;d=b&247;if((da(c>>0|0,1,0,1)|0|0|0)!=(d|0))Xl(a,d)|0;if(((b&8|0)!=0?((da(a+16|0,4,0,0)|0)&1|0)!=0:0)?(Ul(a)|0)!=0:0){c=0;break}if(((da(e|0,2,0,0)|0)&514)==2){$l(a)|0;f=12}else f=12}else{am(a,b,0)|0;d=b&247;c=a+10|0;f=12}while(0);if((f|0)==12)if((da(c>>0|0,1,0,1)|0|0|0)==(d|0))c=da(a+16|0,4,0,0)|0|0;else c=0;return c|0}function Sl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;ea(b|0,+(0.0),8,1);g=d&255;if(d<<24>>24==1){d=a;e=c;m=1;p=0}else{e=3-g|0;a:do if((e|0)<(c|0))while(1){d=e+2|0;if(da(a+e>>0|0,1,0,0)|0){c=1;break a}if((d|0)<(c|0))e=d;else{c=0;e=d;break}}else c=0;while(0);d=a+(g&1)|0;e=g+-3+e|0;m=2;p=c}o=a+e|0;b:do if(d>>>0<o>>>0){while(1){e=da(d>>0|0,1,0,0)|0|0;if(!((da(10368+(e&255)>>0|0,1,0,0)|0)&1))break;d=d+m|0;if(d>>>0>=o>>>0){d=0;break b}}if(e<<24>>24==45){d=d+m|0;n=-1}else if(e<<24>>24==43){d=d+m|0;n=1}else n=1;c:do if(d>>>0<o>>>0){e=0;do{if((da(d>>0|0,1,0,0)|0|0)!=48)break c;d=d+m|0;e=e+1|0}while(d>>>0<o>>>0)}else e=0;while(0);d:do if(d>>>0<o>>>0){a=0;g=0;while(1){c=da(d>>0|0,1,0,0)|0|0;if(!(((c&255)+-48|0)>>>0<10&((a|0)<214748364|(a|0)==214748364&g>>>0<3435973835))){i=a;break d}g=rw(g|0,a|0,10,0)|0;a=(c<<24>>24)+-48|0;g=iw(a|0,((a|0)<0)<<31>>31|0,g|0,C|0)|0;a=C;d=d+m|0;e=e+1|0;if(d>>>0>=o>>>0){i=a;break}}}else{g=0;i=0}while(0);e:do if(d>>>0<o>>>0){c=0;while(1){a=da(d>>0|0,1,0,0)|0|0;if(((a&255)+-48|0)>>>0>=10){j=c;break}d=d+m|0;e=e+1|0;a=c+1|0;if(d>>>0<o>>>0)c=a;else{k=i;j=a;a=0;i=1;c=1;break e}}f:do if(a<<24>>24==46){c=d+m|0;g:do if(c>>>0<o>>>0){k=c;while(1){a=da(k>>0|0,1,0,0)|0|0;if(!(((a&255)+-48|0)>>>0<10&((i|0)<214748364|(i|0)==214748364&g>>>0<3435973835))){c=k;k=i;break g}g=rw(g|0,i|0,10,0)|0;i=(a<<24>>24)+-48|0;g=iw(i|0,((i|0)<0)<<31>>31|0,g|0,C|0)|0;i=C;e=e+1|0;a=j+-1|0;c=d+(m<<1)|0;if(c>>>0<o>>>0){d=k;k=c;j=a}else{d=k;k=i;j=a;break}}}else k=i;while(0);if(c>>>0<o>>>0){i=m<<1;while(1){if(((da(c>>0|0,1,0,1)|0|0)+-48|0)>>>0>=10)break f;a=d+i|0;e=e+1|0;if(a>>>0<o>>>0){d=c;c=a}else{c=a;break}}}}else{c=d;k=i}while(0);if(c>>>0<o>>>0){l=da(c>>0|0,1,0,0)|0|0;h:do if(l<<24>>24==69|l<<24>>24==101){d=c+m|0;if(d>>>0>=o>>>0){a=0;i=0;c=1;break e}a=da(d>>0|0,1,0,0)|0|0;if(a<<24>>24==45){d=c+(m<<1)|0;l=-1}else if(a<<24>>24==43){d=c+(m<<1)|0;l=1}else l=1;if(d>>>0<o>>>0){c=0;i=0}else{a=0;i=0;c=l;break e}while(1){a=da(d>>0|0,1,0,0)|0|0;if(((a&255)+-48|0)>>>0>=10){a=c;c=l;break h}if((c|0)<1e4)a=(c*10|0)+-48+(a<<24>>24)|0;else a=1e4;d=d+m|0;if(d>>>0<o>>>0){c=a;i=1}else{i=1;c=l;break}}}else{d=c;a=0;i=1;c=1}while(0);if((e|0)!=0&(i|0)!=0&d>>>0<o>>>0)do{if(!((da(10368+(da(d>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1))break e;d=d+m|0}while(d>>>0<o>>>0)}else{d=c;a=0;i=1;c=1}}else{k=i;j=0;a=0;i=1;c=1}while(0);a=(_(a,c)|0)+j|0;l=(a|0)<0;c=l?0-a|0:a;do if((g|0)==0&(k|0)==0)if((n|0)<0)f=(e|0)!=0?-0.0:0.0;else f=0.0;else{if((a>>31|1|0)>0)if(((k|0)<214748364|(k|0)==214748364&g>>>0<3435973836)&(c|0)>0){a=k;do{c=c+-1|0;g=rw(g|0,a|0,10,0)|0;a=C}while(((a|0)<214748364|(a|0)==214748364&g>>>0<3435973836)&(c|0)>0)}else a=k;else{j=qw(g|0,k|0,10,0)|0;if((j|0)==0&(C|0)==0&(c|0)>0){a=k;do{c=c+-1|0;g=pw(g|0,a|0,10,0)|0;a=C;k=qw(g|0,a|0,10,0)|0}while((k|0)==0&(C|0)==0&(c|0)>0)}else a=k}k=(n|0)<0;j=cw(0,0,g|0,a|0)|0;j=k?j:g;k=k?C:a;if(!c){f=+(j>>>0)+4294967296.0*+(k|0);break}if((c+-308|0)>>>0<34){if(!((c|0)%308|0))h=1.0;else{f=1.0;do{f=f*10.0;c=c+-1|0}while(((c|0)%308|0|0)!=0);h=f}f=+(j>>>0)+4294967296.0*+(k|0);if(l){f=f/h/1.e+308;break}else{f=f*h*1.e+308;break}}if((c|0)>341){f=+(j>>>0)+4294967296.0*+(k|0);if(l){f=f*0.0;break}else{f=f*s;break}}if(!((c|0)%22|0)){g=c;f=1.0}else{g=c;f=1.0;do{f=f*10.0;g=g+-1|0}while(((g|0)%22|0|0)!=0)}if((g|0)>0){do{f=f*1.0e22;g=g+-22|0}while((g|0)>0);h=f}else h=f;f=+(j>>>0)+4294967296.0*+(k|0);if(l){f=f/h;break}else{f=f*h;break}}while(0);ea(b|0,+f,8,1);d=d>>>0>=o>>>0&(e|0)>0&(i|0)!=0&(p|0)==0&1}else d=0;while(0);return d|0}function Tl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=d&255;if(d<<24>>24==1){e=a;f=c;l=1;c=0}else{f=3-g|0;a:do if((f|0)<(c|0))while(1){d=f+2|0;if(da(a+f>>0|0,1,0,0)|0){c=1;break a}if((d|0)<(c|0))f=d;else{c=0;f=d;break}}else c=0;while(0);e=a+(g&1)|0;f=g+-3+f|0;l=2}i=a+f|0;b:do if(e>>>0<i>>>0){while(1){f=da(e>>0|0,1,0,0)|0|0;if(!((da(10368+(f&255)>>0|0,1,0,0)|0)&1))break;e=e+l|0;if(e>>>0>=i>>>0){j=0;break b}}if(f<<24>>24==43){e=e+l|0;j=0;break}else if(f<<24>>24==45){e=e+l|0;j=1;break}else{j=0;break}}else j=0;while(0);c:do if(e>>>0<i>>>0){f=e;while(1){if((da(f>>0|0,1,0,0)|0|0)!=48){k=f;break c}f=f+l|0;if(f>>>0>=i>>>0){k=f;break}}}else k=e;while(0);do if(k>>>0<i>>>0){a=k;h=0;g=0;f=0;while(1){d=da(a>>0|0,1,0,0)|0|0;if((d+-48&255)>=10){a=0;i=g;break}g=rw(h|0,g|0,10,0)|0;h=d<<24>>24;g=iw(g|0,C|0,-48,-1)|0;h=iw(g|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0;g=C;f=f+l|0;a=k+f|0;if(a>>>0>=i>>>0){a=1;i=g;break}}g=d<<24>>24;d=(j|0)!=0;if((i|0)>=0)if(d){d=i;n=22;break}else{d=i;n=23;break}else{h=b;ea(h|0,(d?0:-1)|0,4,0);ea(h+4|0,(d?-2147483648:2147483647)|0,4,0);h=d?0:2;break}}else if(!j){a=1;h=0;d=0;g=0;f=0;n=23}else{a=1;h=0;d=0;g=0;f=0;n=22}while(0);if((n|0)==22){j=cw(0,0,h|0,d|0)|0;h=b;ea(h|0,j|0,4,0);ea(h+4|0,C|0,4,0);h=0}else if((n|0)==23){j=b;ea(j|0,h|0,4,0);ea(j+4|0,d|0,4,0);h=2}if(((g|0)==0|a?!((f|0)==0&(e|0)==(k|0)):0)?(m=l*19|0,!((f|0)>(m|0)|(c|0)!=0)):0)if((f|0)>=(m|0)){f=0;do{e=da(k+(_(f,l)|0)>>0|0,1,0,0)|0|0;c=da(11192+f>>0|0,1,0,0)|0|0;f=f+1|0;d=e<<24>>24==c<<24>>24}while(d&(f|0)<18);if(d)e=(da(k+(l*18|0)>>0|0,1,0,0)|0|0)+-56|0;else e=((e<<24>>24)-(c<<24>>24)|0)*10|0;if((e|0)>=0)return ((e|0)>0?1:h)|0;else e=0}else e=0;else e=1;return e|0}function Ul(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,2,0,0)|0|0;if(b&16384){Qg(a)|0;b=da(c|0,2,0,0)|0|0}do if(b&18){if((da(a+24|0,4,0,0)|0|0)!=0?(da(a+16|0,4,0,0)|0|0)==(da(a+20|0,4,0,0)|0|0):0){b=0;break}b=a+12|0;if(!(dh(a,(da(b|0,4,0,0)|0|0)+2|0,1)|0)){a=a+16|0;ea((da(a|0,4,0,0)|0|0)+(da(b|0,4,0,0)|0|0)>>0|0,0|0,1,0);ea((da(a|0,4,0,0)|0|0)+((da(b|0,4,0,0)|0|0)+1)>>0|0,0|0,1,0);ea(c|0,da(c|0,2,0,1)|0|0|512|0,2,0);b=0}else b=7}else b=0;while(0);return b|0}function Vl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=qo(a,b,c,d)|0;if(!c)lg(a,b);return c|0}function Wl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=da(a|0,4,0,0)|0|0;ea(c+200|0,da(a+20|0,4,0,0)|0|0,4,0);ea(c+196|0,da(a+56|0,4,0,0)|0|0,4,0);ea(c+4|0,da(a+8|0,4,0,0)|0|0,4,0);ea(c+32|0,da(a+48|0,4,0,0)|0|0,4,0);ea(c+8|0,da(a+16|0,4,0,0)|0|0,4,0);ea(c+28|0,da(a+52|0,4,0,0)|0|0,4,0);ea(c+56|0,da(a+24|0,4,0,0)|0|0,4,0);ea(c+36|0,da(a+40|0,4,0,0)|0|0,4,0);f=a+32|0;d=da(f+4|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;e=b+32|0;ea(e|0,da(f|0,4,0,0)|0|0,4,0);ea(e+4|0,d|0,4,0);ea(c+92|0,da(a+68|0,4,0,0)|0|0,4,0);ea(b+80|0,da(a+72|0,4,0,0)|0|0,4,0);return da(a+44|0,4,0,0)|0|0}function Xl(a,b){a=a|0;b=b|0;if(((da(a+8|0,2,0,0)|0)&2)!=0?(da(a+10>>0|0,1,0,1)|0|0|0)!=(b|0):0)b=An(a,b&255)|0;else b=0;return b|0}function Yl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if((da(d|0,2,0,0)|0)&9312)ug(a);ea(a+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(a+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(a+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(a+12|0,da(b+12|0,4,0,0)|0|0,4,0);ea(a+16|0,da(b+16|0,4,0,0)|0|0,4,0);if(!((da(b+8|0,2,0,0)|0)&2048))ea(d|0,(da(d|0,2,0,1)|0|0)&58367|c|0,2,0);return}function Zl(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(((da(a+8|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);a=a+0|0;c=b+0|0;d=a+40|0;do{ea(a|0,da(c|0,4,0,0)|0|0,4,0);a=a+4|0;c=c+4|0}while((a|0)<(d|0));ea(b+8|0,1|0,2,0);ea(b+24|0,0|0,4,0);return}function _l(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=da(a|0,4,0,0)|0|0;l=o+500|0;e=da(l|0,4,0,0)|0|0;do if((e|0)!=0?(m=a+104|0,d=da(m|0,4,0,0)|0|0,(d|0)!=0):0){n=d+-1|0;j=o+20|0;d=da(j|0,4,0,0)|0|0;if((d|0)>0){h=o+16|0;i=(b|0)==2;f=d;g=0;d=0;do{e=da((da(h|0,4,0,0)|0|0)+(g<<4)+4|0,4,0,0)|0|0;if(e){if(i?(k=tm(e,2,n)|0,(k|0)!=0):0)e=k;else e=tm(e,1,n)|0;f=da(j|0,4,0,0)|0|0;d=(d|0)==0?e:d}g=g+1|0}while((g|0)<(f|0));ea(l|0,(da(l|0,4,0,0)|0|0)+-1|0,4,0);ea(m|0,0|0,4,0);if(!d)d=13;else{c=d;d=16}}else{ea(l|0,e+-1|0,4,0);ea(m|0,0|0,4,0);d=13}do if((d|0)==13){if((b|0)==2?(c=rm(o,2,n)|0,(c|0)!=0):0)break;c=rm(o,1,n)|0;d=16}while(0);if((d|0)==16)if((b|0)!=2)break;k=a+152|0;j=da(k+4|0,4,0,0)|0|0;l=o+504|0;ea(l|0,da(k|0,4,0,0)|0|0,4,0);ea(l+4|0,j|0,4,0);j=a+160|0;l=da(j+4|0,4,0,0)|0|0;k=o+512|0;ea(k|0,da(j|0,4,0,0)|0|0,4,0);ea(k+4|0,l|0,4,0)}else c=0;while(0);return c|0}function $l(a){a=a|0;var b=0,c=0;b=a+12|0;if(!(dh(a,(da(b|0,4,0,0)|0|0)+2|0,1)|0)){c=a+16|0;ea((da(c|0,4,0,0)|0|0)+(da(b|0,4,0,0)|0|0)>>0|0,0|0,1,0);ea((da(c|0,4,0,0)|0|0)+((da(b|0,4,0,0)|0|0)+1)>>0|0,0|0,1,0);b=a+8|0;ea(b|0,da(b|0,2,0,1)|0|0|512|0,2,0);b=0}else b=7;return b|0}function am(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();g=l;h=a+8|0;e=da(h|0,2,0,0)|0|0;if(!(eh(a,32)|0)){d=a+16|0;f=da(d|0,4,0,0)|0|0;if(!(e&4)){ea(k|0,+(+(+da(a|0,8,1,0))),8,1);ea(g|0,da(k|0,4,0,0)|0|0,4,0);ea(g+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(32,f,20272,g)|0}else{n=a;e=da(n+4|0,4,0,0)|0|0;m=g;ea(m|0,da(n|0,4,0,0)|0|0,4,0);ea(m+4|0,e|0,4,0);$c(32,f,19920,g)|0}e=da(d|0,4,0,0)|0|0;if(!e)d=0;else{d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823}ea(a+12|0,d|0,4,0);ea(a+10>>0|0,1|0,1,0);d=da(h|0,2,0,1)|0|514;ea(h|0,(c<<24>>24==0?d:d&65523)|0,2,0);Xl(a,b&255)|0;d=0}else d=7;i=l;return d|0}function bm(a){a=a|0;var b=0,c=0;b=da(a+8|0,2,0,1)|0|0;c=b&12;if(!c)if(!(b&18))b=0;else b=mp(a)|0;else b=c&65535;return b|0}function cm(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;b=+(+da(a|0,8,1,0));if(!(b<=-9223372036854775808.0)&!(b>=9223372036854775808.0)?(c=~~b>>>0,d=+N(b)>=1.0?(b>0.0?~~+$(+M(b/4294967296.0),4294967295.0)>>>0:~~+Z((b-+(~~b>>>0))/4294967296.0)>>>0):0,e=iw(c|0,d|0,1,-2147483648)|0,f=C,!(b!=+(c>>>0)+4294967296.0*+(d|0)|(f>>>0<0|(f|0)==0&e>>>0<2))):0){e=a;ea(e|0,c|0,4,0);ea(e+4|0,d|0,4,0);c=a+8|0;ea(c|0,(da(c|0,2,0,1)|0|0)&48640|4|0,2,0)}return}function dm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=a+204|0;d=da(e|0,4,0,0)|0|0;a:do if(d){g=(b|0)<0;do{while(1){if(!g){if((da(d|0,4,0,0)|0|0)!=(b|0))break;f=da(d+4|0,4,0,0)|0|0;if((f|0)<=31?(1<<f&c|0)!=0:0)break}f=da(d+12|0,4,0,0)|0|0;if(f)bc[(fa(f|0,31|0)|0)&31](da(d+8|0,4,0,0)|0|0);ea(e|0,da(d+16|0,4,0,0)|0|0,4,0);lg(da(a|0,4,0,0)|0|0,d);d=da(e|0,4,0,0)|0|0;if(!d)break a}e=d+16|0;d=da(e|0,4,0,0)|0|0}while((d|0)!=0)}while(0);return}function em(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=da(a+8|0,2,0,1)|0|0;if(!(b&4)){if(b&8){cm(a);break}if(b&2)qh(a,1)}}else if(b<<24>>24==66?(b=da(a+8|0,2,0,1)|0|0,!((b&2|0)!=0|(b&12|0)==0)):0)am(a,c,1)|0;while(0);return}function fm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=a+8|0;d=da(f|0,2,0,0)|0|0;e=d&65535;do if(!(e&1)){b=b&255;if((b|0)==69){ea(a|0,+(+Tg(a)),8,1);ea(f|0,(da(f|0,2,0,1)|0|0)&48640|8|0,2,0);break}else if((b|0)==67){np(a);break}else if((b|0)==65){if(e&16){ea(f|0,e&65040|0,2,0);break}if(!((e&2|0)!=0|(e&12|0)==0)){am(a,c,1)|0;d=da(f|0,2,0,0)|0|0}ea(f|0,d&48640|16|0,2,0);break}else if((b|0)==68){b=Ug(a)|0;d=a;ea(d|0,b|0,4,0);ea(d+4|0,C|0,4,0);ea(f|0,(da(f|0,2,0,1)|0|0)&48640|4|0,2,0);break}else{b=e>>>3&2|e;d=b&65535;ea(f|0,d|0,2,0);if(!((b&2|0)!=0|(e&12|0)==0)){am(a,c,1)|0;d=da(f|0,2,0,0)|0|0}ea(f|0,d&49123|0,2,0);break}}while(0);return}function gm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0.0,h=0,i=0,j=0;i=da(a+8|0,2,0,0)|0|0;h=i&65535;f=da(b+8|0,2,0,0)|0|0;j=f&65535;d=(f|i)&65535;do if(!(d&1)){if(!(d&12)){if(d&2){if(!(h&2)){d=1;break}if(!(j&2)){d=-1;break}if(c){d=op(a,b,c,0)|0;break}}d=pp(a,b)|0;break}if((i&4&f)<<16>>16){i=a;h=da(i|0,4,0,0)|0|0;i=da(i+4|0,4,0,0)|0|0;f=b;d=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((i|0)<(f|0)|(i|0)==(f|0)&h>>>0<d>>>0){d=-1;break}d=((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>d>>>0)&1;break}if(!(h&8)){if(!(h&4)){d=1;break}d=a;g=+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0)}else g=+(+da(a|0,8,1,0));if(!(j&8)){if(!(j&4)){d=-1;break}d=b;e=+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0)}else e=+(+da(b|0,8,1,0));if(g<e)d=-1;else d=g>e&1}else d=(j&1)-(h&1)|0;while(0);return d|0}function hm(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=e+8|0;b=a+48|0;b=Bm(da(a|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,c)|0;do if(!b)if(!(da(c|0,4,0,0)|0)){ea(a+26>>0|0,0|0,1,0);ea(a+60|0,0|0,4,0);b=0;break}else{ea(d|0,67421|0,4,0);ea(d+4|0,10788|0,4,0);ad(11,13600,d);b=11;break}while(0);i=e;return b|0}function im(a){a=a|0;var b=0,c=0,d=0;c=da(a|0,4,0,0)|0|0;d=c+73|0;b=da(d>>0|0,1,0,0)|0|0;do if((b&255)>2){b=Jn(c)|0;if(!b){b=da(d>>0|0,1,0,0)|0|0;d=5;break}else{ea(a+60|0,0|0,4,0);d=6;break}}else d=5;while(0);if((d|0)==5){ea(a+60|0,0|0,4,0);if(b<<24>>24==1)b=0;else{b=0;d=6}}if((d|0)==6)ea(a+25>>0|0,1|0,1,0);return b|0}function jm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+24|0;if(!(da(a+44|0,2,0,0)|0)){e=da(a+76|0,2,0,0)|0|0;d=da(a+(e<<2)+120|0,4,0,0)|0|0;e=(da(a+(e<<1)+78|0,2,0,1)|0)<<1;f=da(d+64|0,4,0,0)|0|0;qp(d,(da(d+56|0,4,0,0)|0|0)+(((da(f+e>>0|0,1,0,1)|0)<<8|(da(f+(e|1)>>0|0,1,0,1)|0))&(da(d+20|0,2,0,1)|0))|0,c);a=a+72|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|2|0,1,0)}d=c;c=da(d+4|0,4,0,0)|0|0;a=b;ea(a|0,da(d|0,4,0,0)|0|0,4,0);ea(a+4|0,c|0,4,0);return}function km(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(da(a+44|0,2,0,0)|0)){d=da(a+76|0,2,0,0)|0|0;c=da(a+(d<<2)+120|0,4,0,0)|0|0;d=(da(a+(d<<1)+78|0,2,0,1)|0)<<1;e=da(c+64|0,4,0,0)|0|0;qp(c,(da(c+56|0,4,0,0)|0|0)+(((da(e+d>>0|0,1,0,1)|0)<<8|(da(e+(d|1)>>0|0,1,0,1)|0))&(da(c+20|0,2,0,1)|0))|0,a+24|0);c=a+72|0;ea(c>>0|0,da(c>>0|0,1,0,1)|0|2|0,1,0)}ea(b|0,da(a+36|0,4,0,0)|0|0,4,0);return}function lm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();d=g;e=da(a>>0|0,1,0,1)|0|0;f=da(a+1>>0|0,1,0,1)|0|0;do if(f&128){c=da(a+2>>0|0,1,0,1)|0|0;if(!(c&128)){ea(b|0,(c|e<<14)&2080895|f<<7&16256|0,4,0);c=3;break}else{c=rp(a,d)|0;e=da(d|0,4,0,0)|0|0;ea(b|0,(((e|0)==(e|0)?0==(da(d+4|0,4,0,0)|0|0):0)?e:-1)|0,4,0);break}}else{ea(b|0,e<<7&16256|f|0,4,0);c=2}while(0);i=g;return c|0}function mm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(d|0)==0;do if((c+b|0)>>>0>(da(a+40|0,2,0,1)|0|0)>>>0){h=e+8|0;ea(h|0,1|0,2,0);d=eh(e,c+2|0)|0;if(!d){g=e+16|0;d=da(g|0,4,0,0)|0|0;if(f)d=Ch(a,b,c,d)|0;else d=Km(a,b,c,d,0)|0;if(!d){ea((da(g|0,4,0,0)|0|0)+c>>0|0,0|0,1,0);ea((da(g|0,4,0,0)|0|0)+(c+1)>>0|0,0|0,1,0);ea(h|0,528|0,2,0);ea(e+12|0,c|0,4,0);d=0;break}if(((da(h|0,2,0,0)|0)&9312)==0?(da(e+24|0,4,0,0)|0|0)==0:0)break;Pg(e)}}else{ea(e+16|0,(da(a+32|0,4,0,0)|0|0)+b|0,4,0);ea(e+8|0,4112|0,2,0);ea(e+12|0,c|0,4,0);d=0}while(0);return d|0}function nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;switch(b|0){case 9:case 8:{a=c;ea(a|0,b+-8|0,4,0);ea(a+4|0,0|0,4,0);ea(c+8|0,4|0,2,0);a=0;break}case 4:{a=(da(a+1>>0|0,1,0,1)|0)<<16|(da(a>>0|0,1,0,0)|0)<<24|(da(a+2>>0|0,1,0,1)|0)<<8|(da(a+3>>0|0,1,0,1)|0);b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=4;break}case 1:{a=da(a>>0|0,1,0,0)|0|0;b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=1;break}case 5:{b=(da(a>>0|0,1,0,0)|0)<<8|(da(a+1>>0|0,1,0,1)|0);d=c;ea(d|0,(da(a+3>>0|0,1,0,1)|0)<<16|(da(a+2>>0|0,1,0,1)|0)<<24|(da(a+4>>0|0,1,0,1)|0)<<8|(da(a+5>>0|0,1,0,1)|0)|0,4,0);ea(d+4|0,b|0,4,0);ea(c+8|0,4|0,2,0);a=6;break}case 7:case 6:{sp(a,b,c);a=8;break}case 2:{a=(da(a>>0|0,1,0,0)|0)<<8|(da(a+1>>0|0,1,0,1)|0);b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=2;break}case 3:{a=(da(a+1>>0|0,1,0,1)|0)<<8|(da(a>>0|0,1,0,0)|0)<<16|(da(a+2>>0|0,1,0,1)|0);b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=3;break}case 0:case 11:case 10:{ea(c+8|0,1|0,2,0);a=0;break}default:{ea(c+16|0,a|0,4,0);a=(b+-12|0)>>>1;ea(c+12|0,a|0,4,0);ea(c+8|0,da(34328+((b&1)<<1)|0,2,0,0)|0|0|0,2,0)}}return a|0}function om(a,b,c){a=a|0;b=b|0;c=c|0;do if(!(c>>>0<0|(c|0)==0&b>>>0<128))if(c>>>0<0|(c|0)==0&b>>>0<16384){c=lw(b|0,c|0,7)|0;ea(a>>0|0,c|128|0,1,0);ea(a+1>>0|0,b&127|0,1,0);b=2;break}else{b=tp(a,b,c)|0;break}else{ea(a>>0|0,b&127|0,1,0);b=1}while(0);return b|0}function pm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=a+73|0;b=da(e>>0|0,1,0,0)|0|0;do if((b&255)>2)if(b<<24>>24==4){b=da(a+68|0,4,0,0)|0|0;break}else{c=a+56|0;Vc(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(e>>0|0,0|0,1,0);c=5;break}else c=5;while(0);a:do if((c|0)==5){d=a+76|0;b=da(d|0,2,0,0)|0|0;do if(b<<16>>16<=-1){b=da(a+60|0,4,0,0)|0|0;if(!b){ea(e>>0|0,0|0,1,0);b=0;break a}c=a+120|0;b=up(da((da(a|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,b,c,((da(a+72>>0|0,1,0,0)|0)&1)<<1^2)|0;if(!b){ea(d|0,0|0,2,0);b=c;break}else{ea(e>>0|0,0|0,1,0);break a}}else{if(b<<16>>16)do{c=b+-1<<16>>16;ea(d|0,c|0,2,0);b=da(a+(b<<16>>16<<2)+120|0,4,0,0)|0|0;if(!b)b=c;else{Ag(da(b+68|0,4,0,0)|0|0);b=da(d|0,2,0,0)|0|0}}while(b<<16>>16!=0);b=a+120|0}while(0);b=da(b|0,4,0,0)|0|0;if((da(b>>0|0,1,0,0)|0|0)!=0?((da(a+16|0,4,0,0)|0|0)==0|0)==(da(b+2>>0|0,1,0,1)|0|0):0){ea(a+78|0,0|0,2,0);ea(a+44|0,0|0,2,0);c=a+72|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&241|0,1,0);if(da(b+18|0,2,0,0)|0){ea(e>>0|0,1|0,1,0);b=0;break}if(da(b+5>>0|0,1,0,0)|0){ea(e>>0|0,0|0,1,0);b=0;break}if((da(b+72|0,4,0,0)|0|0)==1){c=da(b+6>>0|0,1,0,1)|0|0;b=da(b+56|0,4,0,0)|0|0;b=(da(b+(c+9)>>0|0,1,0,1)|0)<<16|(da(b+(c+8)>>0|0,1,0,1)|0)<<24|(da(b+(c+10)>>0|0,1,0,1)|0)<<8|(da(b+(c+11)>>0|0,1,0,1)|0);ea(e>>0|0,1|0,1,0);b=qm(a,b)|0;break}else{ea(f|0,57629|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11;break}}ea(f|0,57618|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11}while(0);i=g;return b|0}function qm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;c=h+8|0;d=a+76|0;f=da(d|0,2,0,0)|0|0;e=f<<16>>16;do if(f<<16>>16<=18){f=a+72|0;b=up(da(a+4|0,4,0,0)|0|0,b,c,((da(f>>0|0,1,0,0)|0)&1)<<1^2)|0;if(!b){b=da(c|0,4,0,0)|0|0;c=e+1|0;ea(a+(c<<2)+120|0,b|0,4,0);ea(a+(c<<1)+78|0,0|0,2,0);ea(d|0,(da(d|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(a+44|0,0|0,2,0);ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&249|0,1,0);if((da(b+18|0,2,0,0)|0|0)!=0?(da(b+2>>0|0,1,0,0)|0|0)==(da((da(a+(e<<2)+120|0,4,0,0)|0|0)+2>>0|0,1,0,0)|0|0):0){b=0;break}ea(g|0,57499|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);b=11}}else{ea(g|0,57487|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);b=11}while(0);i=h;return b|0}function rm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=a+328|0;a:do if(!(da(i|0,4,0,0)|0))a=0;else{f=a+304|0;g=c+1|0;h=0;while(1){if((h|0)>=(da(f|0,4,0,0)|0|0)){a=0;break a}e=da((da(i|0,4,0,0)|0|0)+(h<<2)|0,4,0,0)|0|0;a=da(da(e+4|0,4,0,0)|0|0,4,0,0)|0|0;d=da(e+8|0,4,0,0)|0|0;if((d|0)!=0?(da(a|0,4,0,0)|0|0)>1:0){if(!b){a=da(a+80|0,4,0,0)|0|0;ea(e+20|0,g|0,4,0)}else if((b|0)==2)a=da(a+88|0,4,0,0)|0|0;else a=da(a+84|0,4,0,0)|0|0;if((a|0)!=0?(da(e+20|0,4,0,0)|0|0)>(c|0):0){a=qc[(fa(a|0,127|0)|0)&127](d,c)|0;if(!a){h=h+1|0;continue}else break a}}h=h+1|0}}while(0);return a|0}function sm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;c=da(a|0,4,0,0)|0|0;if(!b){b=a+144|0;g=da(b+4|0,4,0,0)|0|0;if((g|0)>0|(g|0)==0&(da(b|0,4,0,0)|0|0)>>>0>0)e=4;else c=0}else{b=c+504|0;g=c+512|0;b=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;g=C;if((g|0)>0|(g|0)==0&b>>>0>0)e=4;else c=0}if((e|0)==4){ea(a+80|0,787|0,4,0);ea(a+86>>0|0,2|0,1,0);ch(a+44|0,c,34376,d);c=1}i=f;return c|0}function tm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((a|0)!=0?(da(a+8>>0|0,1,0,0)|0|0)==2:0){d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);b=ip(da(d|0,4,0,0)|0|0,b,c)|0;if(!b){if((c|0)<0?((da(d+22|0,2,0,0)|0)&8)!=0:0)ea(d+44|0,0|0,4,0);b=Bg(d)|0;a=da((da(d+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(d+44|0,(da(a+29>>0|0,1,0,1)|0)<<16|(da(a+28>>0|0,1,0,1)|0)<<24|(da(a+30>>0|0,1,0,1)|0)<<8|(da(a+31>>0|0,1,0,1)|0)|0,4,0)}}else b=0;return b|0}function um(a,b){a=a|0;b=b|0;a=a+16|0;pl(da((da(a|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0);if((b|0)!=1)pl(da((da(a|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);return}function vm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);if((b|0)==15)d=(da(a+20|0,4,0,0)|0|0)+(da((da(d|0,4,0,0)|0|0)+100|0,4,0,0)|0|0)|0;else{b=b<<2;d=da((da(d+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;d=(da(d+(b+37)>>0|0,1,0,1)|0|0)<<16|(da(d+(b+36)>>0|0,1,0,1)|0|0)<<24|(da(d+(b+38)>>0|0,1,0,1)|0|0)<<8|(da(d+(b+39)>>0|0,1,0,1)|0|0)}ea(c|0,d|0,4,0);return}function wm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=(da(a+28|0,4,0,0)|0|0)-b|0;f=da(a+8|0,4,0,0)|0|0;k=(c<<3)+88|0;j=(e|0)!=0;i=a+56|0;g=da((da(i|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;if(g){Am(a,g);ea((da(i|0,4,0,0)|0|0)+(b<<2)|0,0|0,4,0)}if(!(eh(f+(h*40|0)|0,(j?200:0)+k|0)|0)){h=f+(h*40|0)+16|0;e=da(h|0,4,0,0)|0|0;ea((da(i|0,4,0,0)|0|0)+(b<<2)|0,e|0,4,0);f=e+0|0;g=f+88|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));ea(e+24>>0|0,d|0,1,0);ea(e+20|0,c|0,2,0);ea(e+80|0,e+84+(c<<2)|0,4,0);if(j){f=(da(h|0,4,0,0)|0|0)+k|0;ea(e|0,f|0,4,0);f=f+0|0;g=f+76|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0))}}else e=0;return e|0}function xm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=da(a+4|0,4,0,0)|0|0;ea(h+4|0,da(a|0,4,0,0)|0|0,4,0);if(c)if(!((da(h+22|0,2,0,0)|0)&1)){g=h+80|0;if(!(da(g|0,4,0,0)|0)){f=Fo(da(h+32|0,4,0,0)|0|0)|0;ea(g|0,f|0,4,0);if(!f)f=7;else{i=f;f=i;ea(f>>0|0,0|0,1,0);ea(f+1>>0|0,0|0,1,0);ea(f+2>>0|0,0|0,1,0);ea(f+3>>0|0,0|0,1,0);i=i+4|0;ea(i>>0|0,0|0,1,0);ea(i+1>>0|0,0|0,1,0);ea(i+2>>0|0,0|0,1,0);ea(i+3>>0|0,0|0,1,0);ea(g|0,(da(g|0,4,0,0)|0|0)+4|0,4,0);i=6}}else i=6}else f=8;else i=6;if((i|0)==6){if((b|0)==1)b=(da(h+44|0,4,0,0)|0|0)!=0&1;ea(e+60|0,b|0,4,0);ea(e+76|0,-1|0,2,0);ea(e+16|0,d|0,4,0);ea(e|0,a|0,4,0);ea(e+4|0,h|0,4,0);ea(e+72>>0|0,c|0,1,0);f=h+8|0;b=da(f|0,4,0,0)|0|0;ea(e+8|0,b|0,4,0);if(b)ea(b+12|0,e|0,4,0);ea(f|0,e|0,4,0);ea(e+73>>0|0,0|0,1,0);f=0}return f|0}function ym(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+128|0;if((i|0)>=(j|0))ba();v=K;C=K+12|0;z=K+8|0;H=K+16|0;F=(b|0)==0;if(!F){h=(da(b>>0|0,1,0,0)|0|0)==0;if(Zv(b,14640)|0)if(h)B=4;else{h=0;B=5}else G=1}else B=4;if((B|0)==4)if((da(c+64>>0|0,1,0,0)|0|0)==2){G=1;h=1}else{h=1;B=5}if((B|0)==5)G=(f&128|0)!=0;E=G?e|2:e;if((f&256|0)!=0&(G|h))f=f&-769|512;J=pg(48,0)|0;a:do if(J){p=J+0|0;o=p+48|0;do{ea(p>>0|0,0|0,1,0);p=p+1|0}while((p|0)<(o|0));ea(J|0,c|0,4,0);ea(J+32|0,J|0,4,0);ea(J+36|0,1|0,4,0);b:do if(!h?!(G&(f&64|0)==0|(f&131072|0)==0):0){if(F)h=1;else{h=b;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;h=(h-b&1073741823)+1|0}e=(da(a+8|0,4,0,0)|0|0)+1|0;n=(e|0)>(h|0)?e:h;n=pg(n,((n|0)<0)<<31>>31)|0;m=J+9|0;ea(m>>0|0,1|0,1,0);if(!n){Vc(J);g=7;break a}if(!G){ea(n>>0|0,0|0,1,0);h=oc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](a,b,e,n)|0;if(h){Vc(n);Vc(J);g=h;break a}}else jw(n|0,b|0,h|0)|0;h=da(3664*4|0,4,0,0)|0|0;c:do if(h){while(1){e=da(h|0,4,0,0)|0|0;if((Zv(n,da(e+168|0,4,0,0)|0|0)|0)==0?(da(e|0,4,0,0)|0|0)==(a|0):0)break;h=da(h+68|0,4,0,0)|0|0;if(!h)break c}e=da(c+20|0,4,0,0)|0|0;d:do if((e|0)>0){l=da(c+16|0,4,0,0)|0|0;while(1){e=e+-1|0;k=da(l+(e<<4)+4|0,4,0,0)|0|0;if((k|0)!=0?(da(k+4|0,4,0,0)|0|0)==(h|0):0)break;if((e|0)<=0)break d}Vc(n);Vc(J);g=19;break a}while(0);ea(J+4|0,h|0,4,0);y=h+64|0;ea(y|0,(da(y|0,4,0,0)|0|0)+1|0,4,0);Vc(n);if(!h){B=32;break b}if(!(da(m>>0|0,1,0,0)|0))break b;else{B=105;break b}}while(0);Vc(n);B=32}else B=32;while(0);e:do if((B|0)==32){D=pg(84,0)|0;if(D){p=D+0|0;o=p+84|0;do{ea(p>>0|0,0|0,1,0);p=p+1|0}while((p|0)<(o|0));x=E&1;y=(x|0)==0;ea(C|0,1024|0,4,0);w=a+4|0;h=da(w|0,4,0,0)|0|0;if((h|0)>40)e=h+7&-8;else e=40;ea(D|0,0|0,4,0);do if(!(E&2))if(!F)if(da(b>>0|0,1,0,0)|0){q=a+8|0;l=(da(q|0,4,0,0)|0|0)+1|0;s=l<<1;s=pg(s,((s|0)<0)<<31>>31)|0;if(!s)g=7;else{ea(s>>0|0,0|0,1,0);h=oc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](a,b,l,s)|0;l=s;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;p=l-s&1073741823;m=b;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;o=(m-b&1073741823)+1|0;m=da(b+o>>0|0,1,0,0)|0|0;o=b+o|0;if(!(m<<24>>24))l=o;else{l=o;do{if(!(m<<24>>24))m=l;else{m=l;do m=m+1|0;while((da(m>>0|0,1,0,0)|0|0)!=0)}m=m-l&1073741823;k=l+(m+1)|0;n=k;while(1)if(!(da(n>>0|0,1,0,0)|0))break;else n=n+1|0;l=l+(m+2+(n-k&1073741823))|0;m=da(l>>0|0,1,0,0)|0|0}while(m<<24>>24!=0)}if(!h){if((p+8|0)<=(da(q|0,4,0,0)|0|0)){r=1;v=0;q=p;p=l+1-o|0;m=s;B=58;break}ea(v|0,46171|0,4,0);ea(v+4|0,10788|0,4,0);ad(14,14848,v);h=14}Vc(s);B=89}}else{r=1;v=0;q=0;p=0;m=0;o=0;B=58}else{b=0;r=0;v=0;q=0;p=0;m=0;o=0;B=58}else if(!F)if(da(b>>0|0,1,0,0)|0){m=jh(0,b)|0;if(!m)g=7;else{h=m;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;b=0;r=0;v=1;q=h-m&1073741823;p=0;o=0;B=58}}else{r=1;v=1;q=0;p=0;m=0;o=0;B=58}else{b=0;r=0;v=1;q=0;p=0;m=0;o=0;B=58}while(0);do if((B|0)==58){l=(e<<1)+17+(q*3|0)+p+((da(w|0,4,0,0)|0|0)+271&-8)|0;u=pg(l,0)|0;if(!u){if(!m){g=7;break}Vc(m);g=7;break}ew(u|0,0,l|0)|0;s=u+204|0;ea(s|0,u+216|0,4,0);t=u+60|0;ea(t|0,u+264|0,4,0);n=(da(w|0,4,0,0)|0|0)+271&-8;ea(u+68|0,u+n|0,4,0);n=n+e|0;ea(u+64|0,u+n|0,4,0);n=n+e|0;l=u+n|0;h=u+168|0;ea(h|0,l|0,4,0);if(m){k=q+1|0;e=u+172|0;ea(e|0,u+(p+k+n)|0,4,0);jw(l|0,m|0,q|0)|0;if(p)jw((da(h|0,4,0,0)|0|0)+k|0,o|0,p|0)|0;jw(da(e|0,4,0,0)|0|0,m|0,q|0)|0;p=(da(e|0,4,0,0)|0|0)+q+0|0;n=14928;o=p+10|0;do{ea(p>>0|0,da(n>>0|0,1,0,0)|0|0|0,1,0);p=p+1|0;n=n+1|0}while((p|0)<(o|0));e=(da(e|0,4,0,0)|0|0)+(q+9)|0;w=u+212|0;ea(w|0,e|0,4,0);jw(e|0,m|0,q|0)|0;w=(da(w|0,4,0,0)|0|0)+q|0;ea(w+0>>0|0,da(14944|0,1,0,0)|0|0|0,1,0);ea(w+1>>0|0,da(14945|0,1,0,0)|0|0|0,1,0);ea(w+2>>0|0,da(14946|0,1,0,0)|0|0|0,1,0);ea(w+3>>0|0,da(14947|0,1,0,0)|0|0|0,1,0);ea(w+4>>0|0,da(14948|0,1,0,0)|0|0|0,1,0);Vc(m)}ea(u|0,a|0,4,0);ea(u+144|0,f|0,4,0);do if(r?(da(b>>0|0,1,0,0)|0|0)!=0:0){ea(z|0,0|0,4,0);h=sc[(fa(da(a+24|0,4,0,0)|0|0,31|0)|0)&31](a,da(h|0,4,0,0)|0|0,da(t|0,4,0,0)|0|0,f&556927,z)|0;k=(da(z|0,4,0,0)|0)&1;if(!h){h=da(t|0,4,0,0)|0|0;h=kc[(fa(da((da(h|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](h)|0;do if((k|0)==0?(vp(u),A=da(u+148|0,4,0,0)|0|0,A>>>0>1024):0)if(A>>>0>8192){ea(C|0,8192|0,4,0);break}else{ea(C|0,A|0,4,0);break}while(0);ea(u+13>>0|0,eg(b,14952,0)|0|0,1,0);if((h&8192|0)==0?(eg(b,14960,0)|0)==0:0){n=0;B=77;break}h=f|1;B=76}}else{h=f;B=76}while(0);if((B|0)==76){ea(u+16>>0|0,1|0,1,0);ea(u+17>>0|0,4|0,1,0);ea(u+13>>0|0,1|0,1,0);k=h&1;n=1;B=77}if((B|0)==77){h=$k(u,C,-1)|0;if(!h){l=da(C|0,4,0,0)|0|0;m=(v|0)==0;e=v^1;f=m?75:0;h=da(s|0,4,0,0)|0|0;p=h+0|0;o=p+48|0;do{ea(p|0,0|0,4,0);p=p+4|0}while((p|0)<(o|0));ea(h+20|0,1|0,4,0);ea(h+24|0,80|0,4,0);ea(h+28>>0|0,e|0,1,0);ea(h+29>>0|0,2|0,1,0);ea(h+32|0,f|0,4,0);ea(h+36|0,u|0,4,0);ea(h+16|0,100|0,4,0);h=Go(h,l)|0;if(!h){ea(u+6>>0|0,x^1|0,1,0);ea(u+156|0,1073741823|0,4,0);ea(u+12>>0|0,n|0,1,0);ea(u+4>>0|0,n|0,1,0);ea(u+18>>0|0,n|0,1,0);ea(u+15>>0|0,v|0,1,0);ea(u+14>>0|0,k|0,1,0);ea(u+7>>0|0,n|0,1,0);if(!(n<<24>>24)){ea(u+8>>0|0,1|0,1,0);ea(u+11>>0|0,2|0,1,0);ea(u+10>>0|0,34|0,1,0);ea(u+9>>0|0,2|0,1,0)}ea(u+140|0,80|0,2,0);z=u+160|0;ea(z|0,-1|0,4,0);ea(z+4|0,-1|0,4,0);vp(u);do if(y){if(m)break;ea(u+5>>0|0,4|0,1,0)}else ea(u+5>>0|0,2|0,1,0);while(0);ea(u+196|0,21|0,4,0);ea(D|0,u|0,4,0);B=90;break}}}e=da(t|0,4,0,0)|0|0;f=da(e|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0)}_k(da(u+200|0,4,0,0)|0|0);Vc(u);B=89}while(0);if((B|0)==89)if(!h)B=90;else g=h;do if((B|0)==90){h=da(D|0,4,0,0)|0|0;z=c+40|0;p=da(z+4|0,4,0,0)|0|0;o=h+128|0;ea(o|0,da(z|0,4,0,0)|0|0,4,0);ea(o+4|0,p|0,4,0);p=H+0|0;o=p+100|0;do{ea(p>>0|0,0|0,1,0);p=p+1|0}while((p|0)<(o|0));h=da(h+60|0,4,0,0)|0|0;e=da(h|0,4,0,0)|0|0;if((e|0)!=0?(g=sc[(fa(da(e+8|0,4,0,0)|0|0,31|0)|0)&31](h,H,100,0,0)|0,!((g|0)==0|(g|0)==522)):0)break;ea(D+16>>0|0,E|0,1,0);ea(D+4|0,c|0,4,0);h=da(D|0,4,0,0)|0|0;e=h+176|0;ea(e|0,76|0,4,0);ea(h+180|0,D|0,4,0);f=da(h+60|0,4,0,0)|0|0;g=da(f|0,4,0,0)|0|0;if(!g)e=h;else{$b[(fa(da(g+40|0,4,0,0)|0|0,63|0)|0)&63](f,15,e)|0;e=da(D|0,4,0,0)|0|0}ea(J+4|0,D|0,4,0);ea(D+8|0,0|0,4,0);ea(D+12|0,0|0,4,0);if(da(e+14>>0|0,1,0,0)|0){z=D+22|0;ea(z|0,da(z|0,2,0,1)|0|1|0,2,0)}z=(da(H+17>>0|0,1,0,1)|0)<<16|(da(H+16>>0|0,1,0,1)|0)<<8;f=D+32|0;ea(f|0,z|0,4,0);if((z+-512|0)>>>0<=65024?(z+16777215&z|0)==0:0){h=da(H+20>>0|0,1,0,0)|0|0;z=D+22|0;ea(z|0,da(z|0,2,0,1)|0|2|0,2,0);ea(D+17>>0|0,((da(H+53>>0|0,1,0,1)|0)<<16|(da(H+52>>0|0,1,0,1)|0)<<24|(da(H+54>>0|0,1,0,1)|0)<<8|(da(H+55>>0|0,1,0,1)|0)|0)!=0&1|0,1,0);ea(D+18>>0|0,((da(H+65>>0|0,1,0,1)|0)<<16|(da(H+64>>0|0,1,0,1)|0)<<24|(da(H+66>>0|0,1,0,1)|0)<<8|(da(H+67>>0|0,1,0,1)|0)|0)!=0&1|0,1,0)}else{ea(f|0,0|0,4,0);if(F|G)h=0;else{ea(D+17>>0|0,0|0,1,0);ea(D+18>>0|0,0|0,1,0);h=0}}h=h&255;g=$k(e,f,h)|0;if(!g){ea(D+36|0,(da(f|0,4,0,0)|0|0)-h|0,4,0);if(!(da(J+9>>0|0,1,0,0)|0))break e;ea(D+64|0,1|0,4,0);ea(D+68|0,da(3664*4|0,4,0,0)|0|0,4,0);ea(3664*4|0,D|0,4,0);B=105;break e}}while(0);if(D){f=da(D|0,4,0,0)|0|0;if(!f)f=D;else{kp(f);f=D}}else f=0}else{f=0;g=7}Vc(f);Vc(J);ea(d|0,0|0,4,0);break a}while(0);f:do if((B|0)==105?(I=da(c+20|0,4,0,0)|0|0,(I|0)>0):0){f=da(c+16|0,4,0,0)|0|0;e=0;while(1){g=da(f+(e<<4)+4|0,4,0,0)|0|0;if((g|0)!=0?(da(g+9>>0|0,1,0,0)|0|0)!=0:0){e=g;break}e=e+1|0;if((e|0)>=(I|0))break f}while(1){g=e+28|0;f=da(g|0,4,0,0)|0|0;if(!f){f=e;break}else e=f}h=da(J+4|0,4,0,0)|0|0;if(h>>>0<(da(f+4|0,4,0,0)|0|0)>>>0){ea(J+24|0,f|0,4,0);ea(J+28|0,0|0,4,0);ea(g|0,J|0,4,0);break}while(1){g=f+24|0;e=da(g|0,4,0,0)|0|0;if(!e){B=113;break}if((da(e+4|0,4,0,0)|0|0)>>>0<h>>>0)f=e;else{B=115;break}}if((B|0)==113){ea(J+24|0,0|0,4,0);ea(J+28|0,f|0,4,0)}else if((B|0)==115){ea(J+24|0,e|0,4,0);ea(J+28|0,f|0,4,0);ea(e+28|0,J|0,4,0)}ea(g|0,J|0,4,0)}while(0);ea(d|0,J|0,4,0);g=da(J+4|0,4,0,0)|0|0;ea(g+4|0,da(J|0,4,0,0)|0|0,4,0);if(!(da(g+48|0,4,0,0)|0)){g=da((da(g|0,4,0,0)|0|0)+204|0,4,0,0)|0|0;ea(g+16|0,2e3|0,4,0);ic[(fa(da(8744+124|0,4,0,0)|0|0,15|0)|0)&15](da(g+40|0,4,0,0)|0|0,2e3);g=0}else g=0}else g=7;while(0);i=K;return g|0}function zm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;if((i|0)>=(j|0))ba();o=v;s=v+28|0;t=v+24|0;r=v+20|0;k=v+16|0;m=v+12|0;n=v+32|0;p=v+8|0;e=da(a|0,4,0,0)|0|0;q=da(a+4|0,4,0,0)|0|0;d=q+4|0;ea(d|0,e|0,4,0);a:do if(!(da(q+17>>0|0,1,0,0)|0)){d=hp(q,s,t,1,0)|0;ea(r|0,d|0,4,0);if(!d){e=da(s|0,4,0,0)|0|0;u=39}}else{l=q+8|0;f=da(l|0,4,0,0)|0|0;if(f)do{h=f+72|0;ea(h>>0|0,(da(h>>0|0,1,0,1)|0)&251|0,1,0);f=da(f+8|0,4,0,0)|0|0}while((f|0)!=0);ea(d|0,e|0,4,0);h=da((da(q+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;h=(da(h+53>>0|0,1,0,1)|0)<<16|(da(h+52>>0|0,1,0,1)|0)<<24|(da(h+54>>0|0,1,0,1)|0)<<8|(da(h+55>>0|0,1,0,1)|0);ea(t|0,h|0,4,0);e=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(q+32|0,4,0,0)|0|0)>>>0)|0;d=q+36|0;while(1){g=h+1|0;if(g>>>0<2)f=0;else{f=h+-1|0;f=f-((f>>>0)%(((((da(d|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(e|0)?3:2)+f|0}if((g|0)==(f|0)|(h|0)==(e|0))h=g;else break}ea(t|0,g|0,4,0);d=hp(q,m,k,g,1)|0;ea(r|0,d|0,4,0);if(!d){h=da(k|0,4,0,0)|0|0;do if((h|0)==(g|0)){e=da(m|0,4,0,0)|0|0;ea(s|0,e|0,4,0)}else{ea(n>>0|0,0|0,1,0);ea(p|0,0|0,4,0);f=da(l|0,4,0,0)|0|0;b:do if(!f)d=0;else{while(1){if(f)break;f=da(2*4|0,4,0,0)|0|0;if(!f){d=0;break b}}d=El(f,0,0)|0}while(0);ea(r|0,d|0,4,0);f=da(m|0,4,0,0)|0|0;if(f)Ag(da(f+68|0,4,0,0)|0|0);if(d)break a;d=cl(q,g,s,0)|0;ea(r|0,d|0,4,0);if(d)break a;d=gp(q,g,n,p)|0;ea(r|0,d|0,4,0);f=da(n>>0|0,1,0,0)|0|0;if((f+-1&255)>=2){e=da(s|0,4,0,0)|0|0;if(!d){d=Ym(q,e,f,da(p|0,4,0,0)|0|0,h,0)|0;ea(r|0,d|0,4,0);if(e)Ag(da(e+68|0,4,0,0)|0|0);if(d)break a;d=cl(q,g,s,0)|0;ea(r|0,d|0,4,0);if(d)break a;e=da(s|0,4,0,0)|0|0;f=e+68|0;d=Fg(da(f|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(!d)break;if(!e)break a;Ag(da(f|0,4,0,0)|0|0);break a}}else{ea(o|0,60876|0,4,0);ea(o+4|0,10788|0,4,0);ad(11,13600,o);ea(r|0,11|0,4,0);d=11;e=da(s|0,4,0,0)|0|0}if(!e)break a;Ag(da(e+68|0,4,0,0)|0|0);break a}while(0);yp(q,g,1,0,r);d=da(r|0,4,0,0)|0|0;if(d){if(!e)break;Ag(da(e+68|0,4,0,0)|0|0);break}d=Cg(a,4,g)|0;ea(r|0,d|0,4,0);if(d){if(e)Ag(da(e+68|0,4,0,0)|0|0)}else u=39}}while(0);if((u|0)==39){ol(e,(c&1|0)==0?10:13);d=da((da(s|0,4,0,0)|0|0)+68|0,4,0,0)|0|0;if(d)Ag(d);ea(b|0,da(t|0,4,0,0)|0|0,4,0);d=0}i=v;return d|0}function Am(a,b){a=a|0;b=b|0;var c=0,d=0;do if(b){a=da(a|0,4,0,0)|0|0;c=b+56|0;d=da(c|0,4,0,0)|0|0;if(d){Zm(a,d);Vc(da(d+40|0,4,0,0)|0|0);lg(a,d);ea(c|0,0|0,4,0)}a=da(b+4|0,4,0,0)|0|0;if(a){Ll(a);break}a=da(b|0,4,0,0)|0|0;if(a){jp(a);break}a=da(b+32|0,4,0,0)|0|0;if(a){d=da(a|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;d=d+4|0;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);kc[(fa(da(c+28|0,4,0,0)|0|0,127|0)|0)&127](a)|0}}while(0);return}function Bm(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;I=i;i=i+16|0;if((i|0)>=(j|0))ba();G=I+8|0;F=I;l=a+73|0;do if(((da(l>>0|0,1,0,0)|0|0)==1?(k=da(a+72>>0|0,1,0,1)|0|0,(k&2|0)!=0):0)?(da((da(a+120|0,4,0,0)|0|0)+2>>0|0,1,0,0)|0|0)!=0:0){g=a+24|0;h=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((h|0)==(c|0)&(g|0)==(d|0)){ea(f|0,0|0,4,0);g=0;break}if((k&8|0)!=0&((g|0)<(d|0)|(g|0)==(d|0)&h>>>0<c>>>0)){ea(f|0,-1|0,4,0);g=0}else H=8}else H=8;while(0);do if((H|0)==8){if(!b)B=0;else{h=da(b|0,4,0,0)|0|0;if(((da(h+8|0,2,0,1)|0|0)+(da(h+6|0,2,0,1)|0|0)|0)<14){g=da((da(b+8|0,4,0,0)|0|0)+8|0,2,0,1)|0|0;C=(da((da(h+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==0;ea(b+12|0,(C?-1:1)|0,4,0);ea(b+16|0,(C?1:-1)|0,4,0);if(!(g&4))if((g&25|0)==0?(da(h+20|0,4,0,0)|0|0)==0:0)h=39;else H=13;else h=38}else H=13;if((H|0)==13)h=40;ea(b+7>>0|0,0|0,1,0);B=h}g=pm(a)|0;if(!g){if(!(da(l>>0|0,1,0,0)|0)){ea(f|0,-1|0,4,0);g=0;break}C=a+76|0;x=1-e|0;y=(B|0)==0;D=a+72|0;z=a+24|0;A=a+24|0;a:do{e=da(C|0,2,0,0)|0|0;v=da(a+(e<<2)+120|0,4,0,0)|0|0;w=v+18|0;k=(da(w|0,2,0,1)|0|0)+-1|0;h=k>>x;ea(a+(e<<1)+78|0,h|0,2,0);e=v+56|0;s=v+20|0;t=v+64|0;u=v+7|0;b:do if(y){n=v+3|0;m=v+60|0;l=0;o=k;while(1){k=h<<1;r=da(t|0,4,0,0)|0|0;k=(da(e|0,4,0,0)|0|0)+((((da(r+k>>0|0,1,0,1)|0)<<8|(da(r+(k|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0))+(da(u>>0|0,1,0,1)|0|0))|0;c:do if(da(n>>0|0,1,0,0)|0)while(1){r=k;k=k+1|0;if((da(r>>0|0,1,0,0)|0|0)>=0)break c;if(k>>>0>=(da(m|0,4,0,0)|0|0)>>>0){H=25;break a}}while(0);rp(k,F)|0;g=F;k=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((g|0)<(d|0)|(g|0)==(d|0)&k>>>0<c>>>0){l=h+1|0;if((h|0)<(o|0))k=o;else{g=-1;H=49;break b}}else{if(!((g|0)>(d|0)|(g|0)==(d|0)&k>>>0>c>>>0)){l=g;break}k=h+-1|0;if((l|0)>(k|0)){g=1;H=49;break b}}h=k+l>>1;o=k}ea(D>>0|0,da(D>>0|0,1,0,1)|0|2|0,1,0);u=z;ea(u|0,k|0,4,0);ea(u+4|0,l|0,4,0);ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);if(da(v+5>>0|0,1,0,0)|0){H=31;break a}}else{p=v+8|0;q=v+10|0;r=h;l=0;while(1){g=da(e|0,4,0,0)|0|0;n=r<<1;h=da(t|0,4,0,0)|0|0;n=((da(h+n>>0|0,1,0,1)|0)<<8|(da(h+(n|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0);h=n+(da(u>>0|0,1,0,1)|0|0)|0;J=da(g+h>>0|0,1,0,0)|0|0;o=J&255;m=g+(h+1)|0;do if((J&255)>(da(p>>0|0,1,0,1)|0|0)){m=da(m>>0|0,1,0,1)|0|0;if((m&128|0)==0?(E=m+(o<<7&16256)|0,(E|0)<=(da(q|0,2,0,1)|0|0)):0){g=$b[(fa(B|0,63|0)|0)&63](E,g+(h+2)|0,b)|0;break}qp(v,g+n|0,A);m=da(A|0,4,0,0)|0|0;h=pg(m,((m|0)<0)<<31>>31)|0;if(!h){g=7;break a}ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,r|0,2,0);g=Km(a,0,m,h,2)|0;if(g){H=40;break a}g=$b[(fa(B|0,63|0)|0)&63](m,h,b)|0;Vc(h)}else g=$b[(fa(B|0,63|0)|0)&63](o,m,b)|0;while(0);if((g|0)<0)l=r+1|0;else{if((g|0)<=0){h=r;H=46;break a}k=r+-1|0}if((l|0)>(k|0)){h=r;H=49;break b}r=k+l>>1}}while(0);if((H|0)==49){H=0;if(da(v+5>>0|0,1,0,0)|0){H=51;break}e=v+56|0;h=l}l=da(e|0,4,0,0)|0|0;if((h|0)<(da(w|0,2,0,1)|0|0)){k=h<<1;w=da(v+64|0,4,0,0)|0|0;k=((da(w+k>>0|0,1,0,1)|0)<<8|(da(w+(k|1)>>0|0,1,0,1)|0))&(da(v+20|0,2,0,1)|0);k=(da(l+(k+1)>>0|0,1,0,1)|0)<<16|(da(l+k>>0|0,1,0,1)|0)<<24|(da(l+(k+2)>>0|0,1,0,1)|0)<<8|(da(l+(k+3)>>0|0,1,0,1)|0)}else{k=da(v+6>>0|0,1,0,1)|0|0;k=(da(l+(k+9)>>0|0,1,0,1)|0)<<16|(da(l+(k+8)>>0|0,1,0,1)|0)<<24|(da(l+(k+10)>>0|0,1,0,1)|0)<<8|(da(l+(k+11)>>0|0,1,0,1)|0)}ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);g=qm(a,k)|0}while((g|0)==0);if((H|0)==25){ea(G|0,57865|0,4,0);ea(G+4|0,10788|0,4,0);ad(11,13600,G);g=11;break}else if((H|0)==31){ea(f|0,0|0,4,0);g=0}else if((H|0)==40)Vc(h);else if((H|0)==46){ea(f|0,0|0,4,0);ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);g=(da(b+7>>0|0,1,0,0)|0|0)==0?0:11}else if((H|0)==51){ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);ea(f|0,g|0,4,0);g=0}ea(a+44|0,0|0,2,0);ea(D>>0|0,(da(D>>0|0,1,0,1)|0)&249|0,1,0)}}while(0);i=I;return g|0}function Cm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;ea(a+44|0,0|0,2,0);c=a+72|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&249|0,1,0);ea(b|0,0|0,4,0);do if((da(a+73>>0|0,1,0,0)|0|0)==1){c=a+76|0;f=da(c|0,2,0,0)|0|0;d=da(a+(f<<2)+120|0,4,0,0)|0|0;f=a+(f<<1)+78|0;e=(da(f|0,2,0,0)|0|0)+1<<16>>16;ea(f|0,e|0,2,0);if((e&65535)>=(da(d+18|0,2,0,1)|0|0)){c=a+((da(c|0,2,0,0)|0)<<1)+78|0;ea(c|0,(da(c|0,2,0,0)|0|0)+-1<<16>>16|0,2,0);c=Cp(a,b)|0;break}if(!(da(d+5>>0|0,1,0,0)|0))c=Um(a)|0;else c=0}else c=Cp(a,b)|0;while(0);return c|0}function Dm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;ea(b|0,0|0,4,0);f=a+72|0;ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&241|0,1,0);ea(a+44|0,0|0,2,0);if(((da(a+73>>0|0,1,0,0)|0|0)==1?(c=da(a+76|0,2,0,0)|0|0,d=a+(c<<1)+78|0,e=da(d|0,2,0,0)|0|0,e<<16>>16!=0):0)?(da((da(a+(c<<2)+120|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)!=0:0){ea(d|0,e+-1<<16>>16|0,2,0);c=0}else c=Dp(a,b)|0;return c|0}function Em(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=0-b&7;h=a+6|0;f=da(h|0,2,0,0)|0|0;e=((f&65535)*40|0)+64|0;if((e|0)>(g+c|0)){e=lh(da(a+12|0,4,0,0)|0|0,e,0)|0;ea(d|0,e|0,4,0);if(!e)e=0;else{f=da(h|0,2,0,0)|0|0;i=5}}else{ea(d|0,0|0,4,0);e=b+g|0;i=5}if((i|0)==5){ea(e+8|0,e+24|0,4,0);ea(e|0,a|0,4,0);ea(e+4|0,(f&65535)+1|0,2,0)}return e|0}function Fm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q+4|0;o=q;g=da(d+8|0,4,0,0)|0|0;ea(d+6>>0|0,0|0,1,0);e=da(c>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){e=e&255;ea(p|0,e|0,4,0);f=1}else{f=lm(c,p)|0;e=da(p|0,4,0,0)|0|0}n=a+4|0;l=a+12|0;m=d+4|0;a=e;k=e;h=f&255;e=0;while(1){if(h>>>0>=a>>>0|(k|0)>(b|0))break;d=c+h|0;a=da(d>>0|0,1,0,0)|0|0;if(a<<24>>24>-1){ea(o|0,a&255|0,4,0);d=1}else d=lm(d,o)|0;ea(g+10>>0|0,da(n>>0|0,1,0,0)|0|0|0,1,0);ea(g+32|0,da(l|0,4,0,0)|0|0,4,0);ea(g+24|0,0|0,4,0);f=nm(c+k|0,da(o|0,4,0,0)|0|0,g)|0;e=e+1<<16>>16;if((e&65535)>=(da(m|0,2,0,1)|0|0))break;a=da(p|0,4,0,0)|0|0;k=f+k|0;h=(d&255)+h|0;g=g+40|0}ea(m|0,e|0,2,0);i=q;return}function Gm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+73|0;if((da(d>>0|0,1,0,0)|0|0)==1?((da(a+72>>0|0,1,0,0)|0)&8)!=0:0)c=0;else e=3;do if((e|0)==3){c=pm(a)|0;if(!c){if(!(da(d>>0|0,1,0,0)|0)){ea(b|0,1|0,4,0);c=0;break}ea(b|0,0|0,4,0);c=Ep(a)|0;b=a+72|0;d=da(b>>0|0,1,0,1)|0|0;if(!c){ea(b>>0|0,d|8|0,1,0);c=0;break}else{ea(b>>0|0,d&247|0,1,0);break}}}while(0);return c|0}function Hm(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0;G=i;i=i+32|0;if((i|0)>=(j|0))ba();q=G;v=G+24|0;w=G+20|0;u=G+16|0;F=G+12|0;B=G+8|0;D=G+28|0;ea(B|0,k|0,4,0);m=(da(a|0,4,0,0)|0|0)+4|0;o=da(m|0,4,0,0)|0|0;E=a+73|0;do if((da(E>>0|0,1,0,0)|0|0)!=4){n=Kn(o,da(a+60|0,4,0,0)|0|0,a)|0;ea(F|0,n|0,4,0);if(!n){if(!(da(a+16|0,4,0,0)|0)){n=da((da(m|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(n)do{if(((da(n+72>>0|0,1,0,0)|0)&16)!=0?(m=n+24|0,(da(m|0,4,0,0)|0|0)==(c|0)?(da(m+4|0,4,0,0)|0|0)==(d|0):0):0)ea(n+73>>0|0,0|0,1,0);n=da(n+8|0,4,0,0)|0|0}while((n|0)!=0);if(((da(a+72>>0|0,1,0,0)|0)&2)!=0&((d|0)>0|(d|0)==0&c>>>0>0)?(x=a+24|0,s=da(x|0,4,0,0)|0|0,x=da(x+4|0,4,0,0)|0|0,t=iw(c|0,d|0,-1,-1)|0,(s|0)==(t|0)&(x|0)==(C|0)):0)ea(B|0,-1|0,4,0);else y=13}else y=13;if(((y|0)==13?(k|0)==0:0)?(l=Fp(a,b,c,d,h,B)|0,ea(F|0,l|0,4,0),(l|0)!=0):0)break;z=a+76|0;A=da(a+((da(z|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0;x=da(o+80|0,4,0,0)|0|0;ea(w|0,0|0,4,0);o=A+52|0;t=da(o|0,4,0,0)|0|0;ea(u|0,0|0,4,0);n=da(A+7>>0|0,1,0,1)|0|0;h=g+f|0;if(da(A+3>>0|0,1,0,0)|0){if(h>>>0<128){ea(x+n>>0|0,h|0,1,0);m=1}else m=(om(x+n|0,h,((h|0)<0)<<31>>31)|0)&255;n=m+n|0}p=(om(x+n|0,c,d)|0)+n|0;do if(!(da(A+2>>0|0,1,0,0)|0))if((d|0)>0|(d|0)==0&c>>>0>2147483647|(b|0)==0){ea(q|0,58825|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);l=11;n=0;break}else{s=f;h=c;f=c;g=b;y=24;break}else{s=0;g=e;y=24}while(0);do if((y|0)==24){n=da(A+10|0,2,0,1)|0|0;if((h|0)>(n|0)){r=da(A+12|0,2,0,1)|0|0;m=(((h-r|0)>>>0)%(((da((da(o|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+-4|0)>>>0)|0)+r|0;m=(m|0)>(n|0)?r:m;o=m+p|0;n=o+4|0;o=x+o|0}else{n=h+p|0;n=(n|0)<4?4:n;o=x;m=h}if((h|0)>0){c=t+17|0;q=t+36|0;r=t+32|0;b=f;p=x+p|0;d=o;k=0;f=m;while(1){if(!f){p=da(u|0,4,0,0)|0|0;if(!(da(c>>0|0,1,0,0)|0))m=p;else{l=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(r|0,4,0,0)|0|0)>>>0)|0;f=p;while(1){m=f+1|0;if(m>>>0<2)o=0;else{o=f+-1|0;o=o-((o>>>0)%(((((da(q|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;o=((o+1|0)==(l|0)?3:2)+o|0}if((o|0)==(m|0)|(f|0)==(l|0))f=m;else break}ea(u|0,m|0,4,0)}l=hp(t,w,u,m,0)|0;ea(v|0,l|0,4,0);m=(l|0)==0;if((da(c>>0|0,1,0,0)|0|0)!=0&m){m=da(u|0,4,0,0)|0|0;yp(t,m,(p|0)!=0?4:3,p,v);l=da(v|0,4,0,0)|0|0;if(l){h=k;y=38;break}}else{if(!m)break;m=da(u|0,4,0,0)|0|0}ea(d>>0|0,m>>>24|0,1,0);ea(d+1>>0|0,m>>>16|0,1,0);ea(d+2>>0|0,m>>>8|0,1,0);ea(d+3>>0|0,m|0,1,0);if(k)Ag(da(k+68|0,4,0,0)|0|0);l=da(w|0,4,0,0)|0|0;p=l+56|0;d=da(p|0,4,0,0)|0|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);p=(da(p|0,4,0,0)|0|0)+4|0;f=(da(q|0,4,0,0)|0|0)+-4|0}else l=k;o=(h|0)>(f|0)?f:h;if((b|0)>0){o=(o|0)>(b|0)?b:o;jw(p|0,g|0,o|0)|0}else ew(p|0,0,o|0)|0;h=h-o|0;m=(b|0)==(o|0);if((h|0)<=0){y=51;break}else{b=m?s:b-o|0;p=p+o|0;g=m?e:g+o|0;k=l;f=f-o|0}}if((y|0)==38){k=da(w|0,4,0,0)|0|0;if(!k)k=h;else{Ag(da(k+68|0,4,0,0)|0|0);k=h}}else if((y|0)==51){if(!l){l=0;break}Ag(da(l+68|0,4,0,0)|0|0);l=0;break}if(k)Ag(da(k+68|0,4,0,0)|0|0)}else l=0}while(0);ea(F|0,l|0,4,0);if(!l){l=a+((da(z|0,2,0,0)|0)<<1)+78|0;h=da(l|0,2,0,0)|0|0;m=h&65535;k=da(B|0,4,0,0)|0|0;if(!k){l=Fg(da(A+68|0,4,0,0)|0|0)|0;ea(F|0,l|0,4,0);if(l)break;l=m<<1;y=da(A+64|0,4,0,0)|0|0;l=(da(A+56|0,4,0,0)|0|0)+(((da(y+l>>0|0,1,0,1)|0)<<8|(da(y+(l|1)>>0|0,1,0,1)|0))&(da(A+20|0,2,0,1)|0))|0;if(!(da(A+5>>0|0,1,0,0)|0)){y=da(l>>0|0,1,0,1)|0|(da(l+1>>0|0,1,0,1)|0)<<8|(da(l+2>>0|0,1,0,1)|0)<<16|(da(l+3>>0|0,1,0,1)|0)<<24;ea(x>>0|0,y|0,1,0);ea(x+1>>0|0,y>>8|0,1,0);ea(x+2>>0|0,y>>16|0,1,0);ea(x+3>>0|0,y>>24|0,1,0)}ea(F|0,Gp(A,l,D)|0|0,4,0);Hp(A,m,da(D|0,2,0,1)|0|0,F);l=da(F|0,4,0,0)|0|0;if(!l)l=m;else break}else if((k|0)<0?(da(A+18|0,2,0,0)|0|0)!=0:0){y=h+1<<16>>16;ea(l|0,y|0,2,0);l=y&65535}else l=m;Ip(A,l,x,n,0,0,F);ea(a+44|0,0|0,2,0);l=da(F|0,4,0,0)|0|0;if(!l)if(!(da(A+1>>0|0,1,0,0)|0))l=0;else{l=a+72|0;ea(l>>0|0,(da(l>>0|0,1,0,1)|0)&253|0,1,0);l=Jp(a)|0;ea(F|0,l|0,4,0);ea((da(a+((da(z|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0)+1>>0|0,0|0,1,0);ea(E>>0|0,0|0,1,0)}}}else l=n}else l=da(a+68|0,4,0,0)|0|0;while(0);i=G;return l|0}function Im(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();t=u+4|0;l=u+8|0;e=u;f=(da(a|0,4,0,0)|0|0)+4|0;n=da(f|0,4,0,0)|0|0;r=a+76|0;s=da(r|0,2,0,0)|0|0;p=s<<16>>16;k=da(a+(p<<1)+78|0,2,0,0)|0|0;q=k&65535;m=da(a+(p<<2)+120|0,4,0,0)|0|0;do if((k&65535)<(da(m+18|0,2,0,1)|0|0)?(da(a+73>>0|0,1,0,0)|0|0)==1:0){k=q<<1;o=da(m+64|0,4,0,0)|0|0;k=(da(m+56|0,4,0,0)|0|0)+(((da(o+k>>0|0,1,0,1)|0)<<8|(da(o+(k|1)>>0|0,1,0,1)|0))&(da(m+20|0,2,0,1)|0))|0;o=m+5|0;if((da(o>>0|0,1,0,0)|0|0)==0?(ea(e|0,0|0,4,0),c=Dm(a,e)|0,ea(t|0,c|0,4,0),(c|0)!=0):0){b=c;break}c=Kn(n,da(a+60|0,4,0,0)|0|0,a)|0;ea(t|0,c|0,4,0);if(!c){if((da(a+16|0,4,0,0)|0|0)==0?(h=a+24|0,g=da(h|0,4,0,0)|0|0,h=da(h+4|0,4,0,0)|0|0,d=da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,(d|0)!=0):0)do{if(((da(d+72>>0|0,1,0,0)|0)&16)!=0?(c=d+24|0,(da(c|0,4,0,0)|0|0)==(g|0)?(da(c+4|0,4,0,0)|0|0)==(h|0):0):0)ea(d+73>>0|0,0|0,1,0);d=da(d+8|0,4,0,0)|0|0}while((d|0)!=0);c=Fg(da(m+68|0,4,0,0)|0|0)|0;ea(t|0,c|0,4,0);if(!c){ea(t|0,Gp(m,k,l)|0|0,4,0);Hp(m,q,da(l|0,2,0,1)|0|0,t);c=da(t|0,4,0,0)|0|0;if(!c){if((da(o>>0|0,1,0,0)|0|0)==0?(k=da(a+((da(r|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0,h=da((da(a+(p+1<<2)+120|0,4,0,0)|0|0)+72|0,4,0,0)|0|0,e=da(k+56|0,4,0,0)|0|0,l=k+18|0,f=(da(l|0,2,0,1)|0)<<1,b=da(k+64|0,4,0,0)|0|0,f=((da(b+(f+-2)>>0|0,1,0,1)|0)<<8|(da(b+(f+-1)>>0|0,1,0,1)|0))&(da(k+20|0,2,0,1)|0),b=(Kp(k,e+f|0)|0)&65535,g=da(n+80|0,4,0,0)|0|0,ea(t|0,Fg(da(k+68|0,4,0,0)|0|0)|0|0,4,0),Ip(m,q,e+(f+-4)|0,b+4|0,g,h,t),Hp(k,(da(l|0,2,0,1)|0|0)+-1|0,b,t),b=da(t|0,4,0,0)|0|0,(b|0)!=0):0)break;b=Jp(a)|0;ea(t|0,b|0,4,0);if(!b){b=da(r|0,2,0,0)|0|0;if(b<<16>>16>s<<16>>16){do{c=b+-1<<16>>16;ea(r|0,c|0,2,0);b=da(a+(b<<16>>16<<2)+120|0,4,0,0)|0|0;if(!b)b=c;else{Ag(da(b+68|0,4,0,0)|0|0);b=da(r|0,2,0,0)|0|0}}while(b<<16>>16>s<<16>>16);b=Jp(a)|0;ea(t|0,b|0,4,0);if(b)break}pm(a)|0;b=0}}else b=c}else b=c}else b=c}else b=1;while(0);i=u;return b|0}function Jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+64|0;if((i|0)>=(j|0))ba();D=F+40|0;h=F+56|0;A=F;f=F+52|0;B=F+48|0;m=da(c+8|0,4,0,0)|0|0;E=da(c|0,4,0,0)|0|0;do if(!d){d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24>-1){d=d&255;ea(h|0,d|0,4,0);e=1}else{e=lm(b,h)|0;d=da(h|0,4,0,0)|0|0}if(d>>>0>a>>>0){ea(D|0,68267|0,4,0);ea(D+4|0,10788|0,4,0);ad(11,13600,D);ea(c+7>>0|0,11|0,1,0);e=0;break}else{z=d;h=d;d=0;f=e&255;g=15;break}}else{d=b+1|0;e=da(d>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){d=e&255;ea(f|0,d|0,4,0);g=1}else{g=lm(d,f)|0;d=da(f|0,4,0,0)|0|0}e=da(b>>0|0,1,0,1)|0|0;ea(h|0,e|0,4,0);if(d>>>0>11)d=(d+-12|0)>>>1;else d=da(34336+d>>0|0,1,0,1)|0|0;z=e;h=d+e|0;d=1;f=(g&255)+1|0;m=m+40|0;g=15}while(0);do if((g|0)==15){q=A+12|0;r=E+4|0;s=A+10|0;t=E+12|0;u=A+32|0;v=A+8|0;w=A+16|0;y=c+7|0;x=c+4|0;p=h;o=f;a:while(1){f=da(m+8|0,2,0,1)|0|0;do if(!(f&4)){if(f&8){g=da(b+o>>0|0,1,0,0)|0|0;h=g&255;ea(B|0,h|0,4,0);if((g&255)>11){e=1;g=62;break a}if(!(g<<24>>24)){e=-1;g=62;break a}k=+(+da(m|0,8,1,0));nm(b+p|0,h,A)|0;if(g<<24>>24==7)l=+(+da(A|0,8,1,0));else{e=A;l=+((da(e|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(e+4|0,4,0,0)|0|0)}if(l<k){e=-1;g=62;break a}if(l>k){e=1;g=62;break a}else break}do if(!(f&2)){g=b+o|0;n=da(g>>0|0,1,0,0)|0|0;h=n&255;if(!(f&16)){ea(B|0,h|0,4,0);e=n<<24>>24!=0&1;break}if(n<<24>>24>-1)ea(B|0,h|0,4,0);else{lm(g,B)|0;h=da(B|0,4,0,0)|0|0}if(!(h>>>0>11&(h&1|0)==0)){e=-1;g=62;break a}n=(h+-12|0)>>>1;if((n+p|0)>>>0>a>>>0){g=57;break a}g=da(m+12|0,4,0,0)|0|0;e=Yv(b+p|0,da(m+16|0,4,0,0)|0|0,(n|0)<(g|0)?n:g)|0;if(e){g=62;break a}e=n-g|0}else{h=b+o|0;g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24>-1){h=g&255;ea(B|0,h|0,4,0)}else{lm(h,B)|0;h=da(B|0,4,0,0)|0|0}if(h>>>0<12){e=-1;g=62;break a}if(!(h&1)){e=1;g=62;break a}f=(h+-12|0)>>>1;ea(q|0,f|0,4,0);if((f+p|0)>>>0>a>>>0){g=46;break a}g=da(E+(d<<2)+20|0,4,0,0)|0|0;if(g){ea(s>>0|0,da(r>>0|0,1,0,0)|0|0|0,1,0);ea(u|0,da(t|0,4,0,0)|0|0,4,0);ea(v|0,2|0,2,0);ea(w|0,b+p|0,4,0);e=op(A,m,g,y)|0;break}n=da(m+12|0,4,0,0)|0|0;e=Yv(b+p|0,da(m+16|0,4,0,0)|0|0,(f|0)<(n|0)?f:n)|0;if(e){g=62;break a}e=f-n|0}while(0);if(e){g=62;break a}}else{g=da(b+o>>0|0,1,0,0)|0|0;h=g&255;ea(B|0,h|0,4,0);if((g&255)>11){e=1;g=62;break a}if(g<<24>>24==7){e=m;k=+((da(e|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(e+4|0,4,0,0)|0|0);nm(b+p|0,h,A)|0;l=+(+da(A|0,8,1,0));if(l<k){e=-1;g=62;break a}if(l>k){e=1;g=62;break a}else break}else if(!(g<<24>>24)){e=-1;g=62;break a}g=b+p|0;switch(h|0){case 1:case 0:{n=da(g>>0|0,1,0,0)|0|0;e=((n|0)<0)<<31>>31;break}case 6:{e=(da(b+(p+1)>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(b+(p+2)>>0|0,1,0,1)|0)<<8|(da(b+(p+3)>>0|0,1,0,1)|0);n=(da(b+(p+5)>>0|0,1,0,1)|0)<<16|(da(b+(p+4)>>0|0,1,0,1)|0)<<24|(da(b+(p+6)>>0|0,1,0,1)|0)<<8|(da(b+(p+7)>>0|0,1,0,1)|0);break}case 2:{n=(da(g>>0|0,1,0,0)|0)<<8|(da(b+(p+1)>>0|0,1,0,1)|0);e=((n|0)<0)<<31>>31;break}case 4:{n=(da(b+(p+1)>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(b+(p+2)>>0|0,1,0,1)|0)<<8|(da(b+(p+3)>>0|0,1,0,1)|0);e=((n|0)<0)<<31>>31;break}case 5:{e=(da(g>>0|0,1,0,0)|0)<<8|(da(b+(p+1)>>0|0,1,0,1)|0);n=(da(b+(p+3)>>0|0,1,0,1)|0)<<16|(da(b+(p+2)>>0|0,1,0,1)|0)<<24|(da(b+(p+4)>>0|0,1,0,1)|0)<<8|(da(b+(p+5)>>0|0,1,0,1)|0);break}case 3:{n=(da(b+(p+1)>>0|0,1,0,1)|0)<<8|(da(g>>0|0,1,0,0)|0)<<16|(da(b+(p+2)>>0|0,1,0,1)|0);e=((n|0)<0)<<31>>31;break}default:{e=0;n=h+-8|0}}f=m;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((e|0)<(f|0)|(e|0)==(f|0)&n>>>0<g>>>0){e=-1;g=62;break a}if((e|0)>(f|0)|(e|0)==(f|0)&n>>>0>g>>>0){e=1;g=62;break a}}while(0);d=d+1|0;m=m+40|0;if(h>>>0>11)f=(h+-12|0)>>>1;else f=da(34336+h>>0|0,1,0,1)|0|0;n=h;g=0;h=0;do{h=h+1|0;n=lw(n|0,g|0,7)|0;g=C}while(((n|0)!=0|(g|0)!=0)&(h|0)<9);p=f+p|0;o=h+o|0;if(o>>>0>=z>>>0){g=70;break}if(p>>>0>a>>>0?1:(d|0)>=(da(x|0,2,0,1)|0|0)){g=70;break}}if((g|0)==46){ea(D|0,68346|0,4,0);ea(D+4|0,10788|0,4,0);ad(11,13600,D);ea(y>>0|0,11|0,1,0);e=0;break}else if((g|0)==57){ea(D|0,68375|0,4,0);ea(D+4|0,10788|0,4,0);ad(11,13600,D);ea(y>>0|0,11|0,1,0);e=0;break}else if((g|0)==62){e=(da((da(E+16|0,4,0,0)|0|0)+d>>0|0,1,0,0)|0|0)==0?e:0-e|0;break}else if((g|0)==70){e=da(c+6>>0|0,1,0,0)|0|0;break}}while(0);i=F;return e|0}function Km(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();v=w;t=w+12|0;u=w+8|0;f=da(a+76|0,2,0,0)|0|0;h=da(a+(f<<2)+120|0,4,0,0)|0|0;s=da(a+4|0,4,0,0)|0|0;if(!(da(a+44|0,2,0,0)|0)){n=h+56|0;f=(da(a+(f<<1)+78|0,2,0,1)|0)<<1;m=da(h+64|0,4,0,0)|0|0;qp(h,(da(n|0,4,0,0)|0|0)+(((da(m+f>>0|0,1,0,1)|0)<<8|(da(m+(f|1)>>0|0,1,0,1)|0))&(da(h+20|0,2,0,1)|0))|0,a+24|0);f=a+72|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|2|0,1,0);f=n}else f=h+56|0;n=da(a+32|0,4,0,0)|0|0;l=a+40|0;g=da(l|0,2,0,1)|0|0;m=s+36|0;if((n+g|0)>>>0<=((da(f|0,4,0,0)|0|0)+(da(m|0,4,0,0)|0|0)|0)>>>0){if(g>>>0>b>>>0){k=(c+b|0)>>>0>g>>>0?g-b|0:c;g=n+b|0;if(e&1){f=Fg(da(h+68|0,4,0,0)|0|0)|0;if(!f){jw(g|0,d|0,k|0)|0;f=0}}else{jw(d|0,g|0,k|0)|0;f=0}d=d+k|0;o=0;c=c-k|0}else{o=b-g|0;f=0}a:do if((f|0)==0&(c|0)!=0){f=da(m|0,4,0,0)|0|0;r=f+-4|0;g=da(l|0,2,0,1)|0|0;l=(da(n+(g+1)>>0|0,1,0,1)|0)<<16|(da(n+g>>0|0,1,0,1)|0)<<24|(da(n+(g+2)>>0|0,1,0,1)|0)<<8|(da(n+(g+3)>>0|0,1,0,1)|0);ea(t|0,l|0,4,0);n=a+72|0;do if((e|0)!=2?((da(n>>0|0,1,0,0)|0)&4)==0:0){f=((f+-5+(da(a+36|0,4,0,0)|0|0)-g|0)>>>0)/(r>>>0)|0;b=a+64|0;if((f|0)>(da(b|0,4,0,0)|0|0)){h=a+20|0;g=qg(da(h|0,4,0,0)|0|0,f<<3,0)|0;if(!g){f=7;break}ea(b|0,f<<1|0,4,0);ea(h|0,g|0,4,0)}ew(da(a+20|0,4,0,0)|0|0,0,f<<2|0)|0;ea(n>>0|0,da(n>>0|0,1,0,1)|0|4|0,1,0);f=0}else f=0;while(0);b=da(n>>0|0,1,0,0)|0|0;if((b&4)!=0?(q=(o>>>0)/(r>>>0)|0,p=da((da(a+20|0,4,0,0)|0|0)+(q<<2)|0,4,0,0)|0|0,(p|0)!=0):0){ea(t|0,p|0,4,0);k=(o>>>0)%(r>>>0)|0;h=p;l=q}else{k=o;h=l;l=0}if((f|0)==0&(h|0)!=0){p=e&1;q=p<<1^2;p=(p|0)==0;e=a+20|0;while(1){if(b&4)ea((da(e|0,4,0,0)|0|0)+(l<<2)|0,h|0,4,0);if(k>>>0<r>>>0){m=(k+c|0)>>>0>r>>>0?r-k|0:c;f=yg(da(s|0,4,0,0)|0|0,h,u,q)|0;if(!f){b=da(u|0,4,0,0)|0|0;g=da(b+4|0,4,0,0)|0|0;h=(da(g+1>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(g+2>>0|0,1,0,1)|0)<<8|(da(g+3>>0|0,1,0,1)|0);ea(t|0,h|0,4,0);g=g+(k+4)|0;if(!p){f=Fg(b)|0;if(!f){jw(g|0,d|0,m|0)|0;f=0}}else{jw(d|0,g|0,m|0)|0;f=0}if(!b)k=0;else{Ag(b);k=0}}c=c-m|0;d=d+m|0;l=l+1|0}else{b=l+1|0;f=da((da(e|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;if(!f){f=Lp(s,h,0,t)|0;h=da(t|0,4,0,0)|0|0}else{ea(t|0,f|0,4,0);h=f;f=0}k=k-r|0;l=b}if(!((f|0)==0&(c|0)!=0&(h|0)!=0))break a;b=da(n>>0|0,1,0,0)|0|0}}}while(0);if((f|0)==0&(c|0)!=0){ea(v|0,57357|0,4,0);ea(v+4|0,10788|0,4,0);ad(11,13600,v);f=11}}else{ea(v|0,57202|0,4,0);ea(v+4|0,10788|0,4,0);ad(11,13600,v);f=11}i=w;return f|0}function Lm(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;d=a+44|0;lg(c,da(d|0,4,0,0)|0|0);a=b+8|0;ea(d|0,jh(c,da(a|0,4,0,0)|0|0)|0|0,4,0);Vc(da(a|0,4,0,0)|0|0);ea(a|0,0|0,4,0);return}function Mm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();e=n+4|0;l=n;m=a+12|0;if(!(da(m|0,4,0,0)|0)){d=a+8|0;c=Em(da((da(d|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,0,0,e)|0;ea(m|0,c|0,4,0);if(!(da(e|0,4,0,0)|0))c=7;else{ea(c+4|0,da((da((da(d|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)+6|0,2,0,0)|0|0|0,2,0);ea(c+7>>0|0,0|0,1,0);f=4}}else f=4;if((f|0)==4){k=pg(256,0)|0;if(!k)c=7;else{ew(k|0,0,256)|0;c=da(b|0,4,0,0)|0|0;ea(l|0,c|0,4,0);if(c){h=b+4|0;while(1){d=da(h|0,4,0,0)|0|0;if(d)if((c|0)==(d|0))g=0;else g=d+(da(c+4|0,4,0,0)|0|0)|0;else g=da(c+4|0,4,0,0)|0|0;ea(c+4|0,0|0,4,0);f=da(k|0,4,0,0)|0|0;e=da(l|0,4,0,0)|0|0;if(!f)f=k;else{d=k;c=0;do{Mp(a,e,f,l);ea(d|0,0|0,4,0);c=c+1|0;d=k+(c<<2)|0;f=da(d|0,4,0,0)|0|0;e=da(l|0,4,0,0)|0|0}while((f|0)!=0);f=d}ea(f|0,e|0,4,0);ea(l|0,g|0,4,0);if(!g)break;else c=g}}ea(l|0,0|0,4,0);c=0;d=0;do{Mp(a,c,da(k+(d<<2)|0,4,0,0)|0|0,l);d=d+1|0;c=da(l|0,4,0,0)|0|0}while((d|0)!=64);ea(b|0,c|0,4,0);Vc(k);c=da((da(m|0,4,0,0)|0|0)+7>>0|0,1,0,1)|0|0}}i=n;return c|0}function Nm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+64|0;if((i|0)>=(j|0))ba();k=m+40|0;l=m;ea(a+56>>0|0,1|0,1,0);e=a+64|0;h=a+36|0;g=a+72|0;f=da((da(g|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;d=l+0|0;c=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(c|0));d=a+96|0;if(!((da(d|0,4,0,0)|0|0)==0?(b=Np(f,d)|0,(b|0)!=0):0)){b=Mm(e,h)|0;if(!b){e=a+104|0;b=e;Op(da(d|0,4,0,0)|0|0,l,da((da(g|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0);b=a+92|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=da(a+44|0,4,0,0)|0|0;Pp(l,k,om(k,b,((b|0)<0)<<31>>31)|0);b=da(h|0,4,0,0)|0|0;if(b){d=a+40|0;do{c=b;b=da(b+4|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;Pp(l,k,om(k,a,((a|0)<0)<<31>>31)|0);Pp(l,c+8|0,da(c|0,4,0,0)|0|0);if(!(da(d|0,4,0,0)|0))Vc(c)}while((b|0)!=0)}ea(h|0,0|0,4,0);b=Qp(l,e)|0}}i=m;return b|0}function Om(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();o=q;f=c;h=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;p=Pm(b)|0;ea(d|0,p|0,4,0);g=(p|0)==0;e=g?7:0;g=g^1;if((b|0)>0&g){n=p+12|0;m=a+32|0;l=0;do{g=da(n|0,4,0,0)|0|0;k=g+(l*56|0)|0;e=Rp(a,k,m,h,f)|0;if(!e){e=Sp(k,o)|0;f=k;h=o;f=iw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0)|0;h=g+(l*56|0)+8|0;g=h;ea(g|0,f|0,4,0);ea(g+4|0,C|0,4,0);if(!e)e=Tp(k)|0}else h=g+(l*56|0)+8|0;f=h;h=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;l=l+1|0;g=(e|0)==0}while((l|0)<(b|0)&g)}if(!g){Sm(p);ea(d|0,0|0,4,0)}b=c;ea(b|0,h|0,4,0);ea(b+4|0,f|0,4,0);i=q;return e|0}function Pm(a){a=a|0;var b=0,c=0;b=2;while(1)if((b|0)<(a|0))b=b<<1;else{c=b;break}b=da(2252*4|0,4,0,0)|0|0;if((b|0)!=0?(kc[(fa(b|0,127|0)|0)&127](100)|0)!=0:0)b=0;else{a=(c*60|0)+16|0;b=pg(a,((a|0)<0)<<31>>31)|0;if(!b)b=0;else{ew(b|0,0,a|0)|0;ea(b|0,c|0,4,0);ea(b+4|0,0|0,4,0);a=b+16|0;ea(b+12|0,a|0,4,0);ea(b+8|0,a+(c*56|0)|0,4,0)}}return b|0}function Qm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=da(2252*4|0,4,0,0)|0|0;if((d|0)!=0?(kc[(fa(d|0,127|0)|0)&127](100)|0)!=0:0){d=0;g=6}else g=3;do if((g|0)==3){d=pg(64,0)|0;if(!d){g=6;break}else{e=d+0|0;f=e+64|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(c|0,d|0,4,0);ea(d+4|0,b|0,4,0);ea(d|0,a|0,4,0);f=da(a+8|0,4,0,0)|0|0;e=(da(f+8|0,4,0,0)|0|0)+9|0;f=(da(f+4|0,4,0,0)|0|0)/2|0;f=(e|0)>(f|0)?e:f;ea(d+16|0,f|0,4,0);d=a+56|0;e=d;e=iw(f|0,((f|0)<0)<<31>>31|0,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0)|0;ea(d|0,e|0,4,0);ea(d+4|0,C|0,4,0);d=0;break}}while(0);if((g|0)==6){ea(c|0,d|0,4,0);Sm(b);d=7}return d|0}function Rm(a){a=a|0;if(a){Sm(da(a+4|0,4,0,0)|0|0);Vc(a)}return}function Sm(a){a=a|0;var b=0,c=0;if((a|0)!=0?(da(a|0,4,0,0)|0|0)>0:0){b=a+12|0;c=0;do{Up((da(b|0,4,0,0)|0|0)+(c*56|0)|0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}Vc(a);return}function Tm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=da(b|0,4,0,0)|0|0;p=b+4|0;ea(p|0,a|0,4,0);a:do if((l|0)>0){m=b+12|0;n=0;do{j=da(m|0,4,0,0)|0|0;h=j+(n*56|0)|0;j=da(j+(n*56|0)+48|0,4,0,0)|0|0;if(j){k=da(j|0,4,0,0)|0|0;g=da((da(k+8|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;c=Tm(k,da(j+4|0,4,0,0)|0|0)|0;if(c)break a;i=da(j+16|0,4,0,0)|0|0;e=k+48|0;f=da(e|0,4,0,0)|0|0;d=k+56|0;if(!f){c=Np(g,e)|0;g=d;ea(g|0,0|0,4,0);ea(g+4|0,0|0,4,0);if(c)break a;f=da(e|0,4,0,0)|0|0;e=0;d=0}else{e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0}ea(j+48|0,f|0,4,0);j=j+8|0;ea(j|0,e|0,4,0);ea(j+4|0,d|0,4,0);j=iw(e|0,d|0,i|0,((i|0)<0)<<31>>31|0)|0;c=k+56|0;ea(c|0,j|0,4,0);ea(c+4|0,C|0,4,0);c=Tp(h)|0;if(c)break a}n=n+1|0}while((n|0)<(l|0));c=da(b|0,4,0,0)|0|0;o=12}else{c=l;o=12}while(0);if((o|0)==12){d=c+-1|0;b:do if((d|0)>0){h=b+12|0;i=b+8|0;f=c;e=c;g=d;while(1){c=(f|0)/2|0;if((e|0)>(c|0)){e=g-c<<1;c=e;e=e|1}else{e=g<<1;l=da(i|0,4,0,0)|0|0;c=da(l+(e<<2)|0,4,0,0)|0|0;e=da(l+((e|1)<<2)|0,4,0,0)|0|0}d=da(h|0,4,0,0)|0|0;if(da(d+(c*56|0)+24|0,4,0,0)|0){if(da(d+(e*56|0)+24|0,4,0,0)|0){l=(Vp(da(p|0,4,0,0)|0|0,da(d+(c*56|0)+32|0,4,0,0)|0|0,da(d+(c*56|0)+20|0,4,0,0)|0|0,da(d+(e*56|0)+32|0,4,0,0)|0|0,da(d+(e*56|0)+20|0,4,0,0)|0|0)|0)<1;c=l?c:e}}else c=e;ea((da(i|0,4,0,0)|0|0)+(g<<2)|0,c|0,4,0);c=g+-1|0;if((c|0)<=0)break b;e=g;f=da(b|0,4,0,0)|0|0;g=c}}while(0);c=da((da(a+12|0,4,0,0)|0|0)+7>>0|0,1,0,1)|0|0}return c|0}function Um(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=a+76|0;do{b=da(d|0,2,0,0)|0|0;c=da(a+(b<<2)+120|0,4,0,0)|0|0;if(da(c+5>>0|0,1,0,0)|0){b=0;break}e=da(c+56|0,4,0,0)|0|0;b=(da(a+(b<<1)+78|0,2,0,1)|0)<<1;f=da(c+64|0,4,0,0)|0|0;b=((da(f+b>>0|0,1,0,1)|0)<<8|(da(f+(b|1)>>0|0,1,0,1)|0))&(da(c+20|0,2,0,1)|0);b=qm(a,(da(e+(b+1)>>0|0,1,0,1)|0)<<16|(da(e+b>>0|0,1,0,1)|0)<<24|(da(e+(b+2)>>0|0,1,0,1)|0)<<8|(da(e+(b+3)>>0|0,1,0,1)|0))|0}while((b|0)==0);return b|0}function Vm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=a+8|0;e=da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(a+4|0,4,0,0)|0|0;q=a+12|0;c=Tp((da(q|0,4,0,0)|0|0)+(e*56|0)|0)|0;if(!c){c=da(q|0,4,0,0)|0|0;d=e|1;a=(da(a|0,4,0,0)|0|0)+e|0;a:do if((a|0)>1){h=c;l=a;g=da(c+(d*56|0)+32|0,4,0,0)|0|0;m=c+((e&65534)*56|0)|0;e=c+(d*56|0)|0;while(1){n=m+24|0;i=m;j=m+32|0;k=m+20|0;f=l;a=g;while(1){d=f;f=(f|0)/2|0;if(!(da(n|0,4,0,0)|0)){c=h;g=a;break}if(((da(e+24|0,4,0,0)|0|0)!=0?(p=Vp(s,da(j|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,a,da(e+20|0,4,0,0)|0|0)|0,(p|0)>=0):0)?!((p|0)==0&m>>>0<e>>>0):0){r=10;break}c=da(q|0,4,0,0)|0|0;a=da(o|0,4,0,0)|0|0;ea(a+(f<<2)|0,(i-c|0)/56|0|0,4,0);e=da(a+((f^1)<<2)|0,4,0,0)|0|0;if((d|0)<=3)break a;else{h=c;a=da(c+(e*56|0)+32|0,4,0,0)|0|0;e=c+(e*56|0)|0}}if((r|0)==10){r=0;c=da(q|0,4,0,0)|0|0;g=(da(n|0,4,0,0)|0|0)==0?a:0}a=da(o|0,4,0,0)|0|0;ea(a+(f<<2)|0,(e-c|0)/56|0|0,4,0);if((d|0)>3){h=c;l=f;m=c+((da(a+((f^1)<<2)|0,4,0,0)|0|0)*56|0)|0}else break}}else a=da(o|0,4,0,0)|0|0;while(0);ea(b|0,(da(c+((da(a+4|0,4,0,0)|0|0)*56|0)+24|0,4,0,0)|0|0)==0&1|0,4,0);c=da((da(s+12|0,4,0,0)|0|0)+7>>0|0,1,0,1)|0|0}return c|0}function Wm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+4|0;e=da(d|0,4,0,0)|0|0;ea(e+4|0,da(a|0,4,0,0)|0|0,4,0);a=Kn(e,b,0)|0;if(!a){a=da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(a)do{if((da(a+72>>0|0,1,0,0)|0)&16)ea(a+73>>0|0,0|0,1,0);a=da(a+8|0,4,0,0)|0|0}while((a|0)!=0);a=Wp(e,b,0,c)|0}return a|0}function Xm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+32|0;if((i|0)>=(j|0))ba();l=u;t=u+16|0;s=u+12|0;r=u+8|0;ea(t|0,0|0,4,0);e=da(a+12|0,4,0,0)|0|0;if(!b){b=Xp(a,c)|0;ea(s|0,b|0,4,0)}else{ea(s|0,b|0,4,0);m=(da(b+68|0,4,0,0)|0|0)+26|0;ea(m|0,(da(m|0,2,0,0)|0|0)+1<<16>>16|0,2,0)}d=Fg(da(e+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);do if(!d){m=e+56|0;f=da(m|0,4,0,0)|0|0;v=f+36|0;d=f+37|0;e=f+38|0;f=f+39|0;g=(da(d>>0|0,1,0,1)|0)<<16|(da(v>>0|0,1,0,1)|0)<<24|(da(e>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0);k=g+1|0;ea(v>>0|0,k>>>24|0,1,0);ea(d>>0|0,k>>>16|0,1,0);ea(e>>0|0,k>>>8|0,1,0);ea(f>>0|0,k|0,1,0);k=a+22|0;if((da(k|0,2,0,0)|0)&4){if(!b){d=cl(a,c,s,0)|0;ea(r|0,d|0,4,0);if(d)break;b=da(s|0,4,0,0)|0|0}d=Fg(da(b+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(d)break;ew(da(b+56|0,4,0,0)|0|0,0,da((da(b+52|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)|0}if((da(a+17>>0|0,1,0,0)|0|0)!=0?(yp(a,c,2,0,r),h=da(r|0,4,0,0)|0|0,(h|0)!=0):0){d=h;break}if(g){e=da(m|0,4,0,0)|0|0;e=(da(e+33>>0|0,1,0,1)|0)<<16|(da(e+32>>0|0,1,0,1)|0)<<24|(da(e+34>>0|0,1,0,1)|0)<<8|(da(e+35>>0|0,1,0,1)|0);d=cl(a,e,t,0)|0;ea(r|0,d|0,4,0);if(d)break;f=da(t|0,4,0,0)|0|0;h=f+56|0;g=da(h|0,4,0,0)|0|0;g=(da(g+5>>0|0,1,0,1)|0)<<16|(da(g+4>>0|0,1,0,1)|0)<<24|(da(g+6>>0|0,1,0,1)|0)<<8|(da(g+7>>0|0,1,0,1)|0);d=(da(a+36|0,4,0,0)|0|0)>>>2;if(g>>>0>(d+-2|0)>>>0){ea(l|0,58627|0,4,0);ea(l+4|0,10788|0,4,0);ad(11,13600,l);ea(r|0,11|0,4,0);d=11;break}if(g>>>0<(d+-8|0)>>>0){d=Fg(da(f+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(d)break;l=da(h|0,4,0,0)|0|0;m=g+1|0;ea(l+4>>0|0,m>>>24|0,1,0);ea(l+5>>0|0,m>>>16|0,1,0);ea(l+6>>0|0,m>>>8|0,1,0);ea(l+7>>0|0,m|0,1,0);m=g<<2;l=da(h|0,4,0,0)|0|0;ea(l+(m+8)>>0|0,c>>>24|0,1,0);ea(l+(m+9)>>0|0,c>>>16|0,1,0);ea(l+(m+10)>>0|0,c>>>8|0,1,0);ea(l+(m+11)>>0|0,c|0,1,0);if((((b|0)!=0?((da(k|0,2,0,0)|0)&4)==0:0)?(n=da(b+68|0,4,0,0)|0|0,o=n+24|0,p=da(o|0,2,0,1)|0|0,(p&2|0)!=0):0)?(da((da(n+16|0,4,0,0)|0|0)+96|0,4,0,0)|0|0)==0:0)ea(o|0,p|32|0,2,0);e=a+60|0;d=da(e|0,4,0,0)|0|0;do if(!d){b=da(a+44|0,4,0,0)|0|0;d=pg(512,0)|0;if(!d){ea(e|0,0|0,4,0);d=7;break}else{ew(d|0,0,512)|0;ea(d|0,b|0,4,0);ea(e|0,d|0,4,0);q=28;break}}else q=28;while(0);if((q|0)==28)if((da(d|0,4,0,0)|0|0)>>>0<c>>>0)d=0;else d=ai(d,c)|0;ea(r|0,d|0,4,0);break}}else e=0;if(!b){d=cl(a,c,s,0)|0;ea(r|0,d|0,4,0);if(d)break;b=da(s|0,4,0,0)|0|0}d=Fg(da(b+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(!d){d=b+56|0;n=da(d|0,4,0,0)|0|0;ea(n>>0|0,e>>>24|0,1,0);ea(n+1>>0|0,e>>>16|0,1,0);ea(n+2>>0|0,e>>>8|0,1,0);ea(n+3>>0|0,e|0,1,0);d=(da(d|0,4,0,0)|0|0)+4|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);d=da(m|0,4,0,0)|0|0;ea(d+32>>0|0,c>>>24|0,1,0);ea(d+33>>0|0,c>>>16|0,1,0);ea(d+34>>0|0,c>>>8|0,1,0);ea(d+35>>0|0,c|0,1,0);d=0}}while(0);b=da(s|0,4,0,0)|0|0;if(b){ea(b>>0|0,0|0,1,0);Ag(da(b+68|0,4,0,0)|0|0)}b=da(t|0,4,0,0)|0|0;if(b)Ag(da(b+68|0,4,0,0)|0|0);i=u;return d|0}function Ym(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+48|0;if((i|0)>=(j|0))ba();H=K+24|0;y=K;r=K+36|0;I=K+32|0;o=b+72|0;G=da(o|0,4,0,0)|0|0;p=da(a|0,4,0,0)|0|0;m=da(b+68|0,4,0,0)|0|0;n=p+15|0;if((da(n>>0|0,1,0,0)|0|0)!=0?(g=Fg(m)|0,(g|0)!=0):0)J=20;else J=3;a:do if((J|0)==3){h=m+24|0;l=da(h|0,2,0,0)|0|0;if((l&2)!=0?(To(m)|0)!=0:0){g=Uo(m)|0;if(g){J=20;break}l=da(h|0,2,0,0)|0|0}if((l&4)==0|(f|0)!=0)k=0;else k=da(m+20|0,4,0,0)|0|0;ea(h|0,l&65531|0,2,0);v=p+204|0;f=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(v|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,e,0)|0;f=hl(da(v|0,4,0,0)|0|0,e,f)|0;do if(f){ea(h|0,da(h|0,2,0,1)|0|(da(f+24|0,2,0,1)|0)&4|0,2,0);if(!(da(n>>0|0,1,0,0)|0)){ll(f);break}else{Yp(f,(da(p+24|0,4,0,0)|0|0)+1|0);break}}while(0);l=da(m+20|0,4,0,0)|0|0;Yp(m,e);So(m);if(da(n>>0|0,1,0,0)|0){Yp(f,l);Ag(f)}do if(k){g=yg(p,k,H,0)|0;if(!g){v=da(H|0,4,0,0)|0|0;u=v+24|0;ea(u|0,da(u|0,2,0,1)|0|4|0,2,0);So(v);Ag(v);break}if(k>>>0>(da(p+28|0,4,0,0)|0|0)>>>0){J=20;break a}bi(da(p+56|0,4,0,0)|0|0,k,da(p+200|0,4,0,0)|0|0);J=20;break a}while(0);ea(I|0,0|0,4,0);ea(o|0,e|0,4,0);if(c<<24>>24==1|c<<24>>24==5){g=Zp(b)|0;ea(I|0,g|0,4,0);if(!g)J=25;else break}else{f=da(b+56|0,4,0,0)|0|0;f=(da(f+1>>0|0,1,0,1)|0)<<16|(da(f>>0|0,1,0,1)|0)<<24|(da(f+2>>0|0,1,0,1)|0)<<8|(da(f+3>>0|0,1,0,1)|0);if(f){yp(a,f,4,e,I);g=da(I|0,4,0,0)|0|0;if(!g)J=25;else break}}if((J|0)==25?c<<24>>24==1:0){g=0;break}g=cl(a,d,r,0)|0;ea(I|0,g|0,4,0);if(!g){u=da(r|0,4,0,0)|0|0;v=u+68|0;g=Fg(da(v|0,4,0,0)|0|0)|0;ea(I|0,g|0,4,0);if(g){if(!u)break;Ag(da(v|0,4,0,0)|0|0);break}b:do if(c<<24>>24==4){g=da(u+56|0,4,0,0)|0|0;h=g+1|0;k=g+2|0;f=g+3|0;if(((da(h>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(k>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0)|0)==(G|0)){ea(g>>0|0,e>>>24|0,1,0);ea(h>>0|0,e>>>16|0,1,0);ea(k>>0|0,e>>>8|0,1,0);ea(f>>0|0,e|0,1,0);g=0;break}else{ea(H|0,56060|0,4,0);ea(H+4|0,10788|0,4,0);ad(11,13600,H);g=11;break}}else{s=da(u>>0|0,1,0,0)|0|0;_p(u)|0;r=da(u+18|0,2,0,0)|0|0;t=r&65535;c:do if(r<<16>>16){b=u+56|0;p=u+20|0;m=u+64|0;q=c<<24>>24==3;r=y+18|0;f=0;while(1){o=da(b|0,4,0,0)|0|0;n=f<<1;l=da(m|0,4,0,0)|0|0;n=((da(l+n>>0|0,1,0,1)|0)<<8|(da(l+(n|1)>>0|0,1,0,1)|0))&(da(p|0,2,0,1)|0);l=o+n|0;if(q){qp(u,l,y);l=da(r|0,2,0,0)|0|0;if((l<<16>>16!=0?(w=(l&65535)+n|0,x=o+(w+3)|0,x>>>0<=((da(b|0,4,0,0)|0|0)+(da(p|0,2,0,1)|0|0)|0)>>>0):0)?(z=o+w|0,A=o+(w+1)|0,B=o+(w+2)|0,((da(A>>0|0,1,0,1)|0)<<16|(da(z>>0|0,1,0,1)|0)<<24|(da(B>>0|0,1,0,1)|0)<<8|(da(x>>0|0,1,0,1)|0)|0)==(G|0)):0){l=x;g=z;h=A;k=B;J=40;break}}else{g=o+(n+1)|0;h=o+(n+2)|0;k=o+(n+3)|0;if(((da(g>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(h>>0|0,1,0,1)|0)<<8|(da(k>>0|0,1,0,1)|0)|0)==(G|0)){J=42;break}}f=f+1|0;if((f|0)>=(t|0))break c}if((J|0)==40){ea(g>>0|0,e>>>24|0,1,0);ea(h>>0|0,e>>>16|0,1,0);ea(k>>0|0,e>>>8|0,1,0);ea(l>>0|0,e|0,1,0);break}else if((J|0)==42){ea(l>>0|0,e>>>24|0,1,0);ea(g>>0|0,e>>>16|0,1,0);ea(h>>0|0,e>>>8|0,1,0);ea(k>>0|0,e|0,1,0);break}}else f=0;while(0);do if((f|0)==(t|0)){if(c<<24>>24==5?(F=da(u+6>>0|0,1,0,1)|0|0,B=da(u+56|0,4,0,0)|0|0,C=B+(F+8)|0,D=B+(F+9)|0,E=B+(F+10)|0,F=B+(F+11)|0,((da(D>>0|0,1,0,1)|0)<<16|(da(C>>0|0,1,0,1)|0)<<24|(da(E>>0|0,1,0,1)|0)<<8|(da(F>>0|0,1,0,1)|0)|0)==(G|0)):0){ea(C>>0|0,e>>>24|0,1,0);ea(D>>0|0,e>>>16|0,1,0);ea(E>>0|0,e>>>8|0,1,0);ea(F>>0|0,e|0,1,0);break}ea(H|0,56094|0,4,0);ea(H+4|0,10788|0,4,0);ad(11,13600,H);g=11;break b}while(0);ea(u>>0|0,s|0,1,0);g=0}while(0);ea(I|0,g|0,4,0);if(u)Ag(da(v|0,4,0,0)|0|0);if(!g){yp(a,e,c,d,I);g=da(I|0,4,0,0)|0|0}}}while(0);if((J|0)==20)ea(I|0,g|0,4,0);i=K;return g|0}function Zm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=b+20|0;Sm(da(g|0,4,0,0)|0|0);ea(g|0,0|0,4,0);g=b+59|0;if(da(g>>0|0,1,0,0)|0){h=0;do{d=b+(h<<6)+76|0;lg(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=b+(h<<6)+80|0;e=da(d|0,4,0,0)|0|0;if(e)do{f=e;e=da(e+4|0,4,0,0)|0|0;if(f)Vc(f)}while((e|0)!=0);ea(d|0,0|0,4,0);e=b+(h<<6)+96|0;d=da(e|0,4,0,0)|0|0;if(d){f=da(d|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](d)|0;ea(d|0,0|0,4,0)}Vc(d);ea(e|0,0|0,4,0);d=b+(h<<6)+104|0;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0)}f=b+(h<<6)+112|0;e=da(f|0,4,0,0)|0|0;if(e){d=da(e|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0)}Vc(e);ea(f|0,0|0,4,0);d=b+(h<<6)+120|0;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0)}h=h+1|0}while((h|0)<(da(g>>0|0,1,0,1)|0|0))}e=b+36|0;if((da(b+40|0,4,0,0)|0|0)==0?(c=da(e|0,4,0,0)|0|0,(c|0)!=0):0)do{d=c;c=da(c+4|0,4,0,0)|0|0;if(d)Vc(d)}while((c|0)!=0);ea(e|0,0|0,4,0);ea(b+44|0,0|0,4,0);ea(b+56>>0|0,0|0,1,0);ea(b+48|0,0|0,4,0);ea(b+8|0,0|0,4,0);c=b+32|0;lg(a,da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);return}function _m(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();f=o+4|0;m=o;n=da(a|0,4,0,0)|0|0;g=da(a+8|0,4,0,0)|0|0;h=da(n+16|0,4,0,0)|0|0;k=(da(h+(g<<4)+12|0,4,0,0)|0|0)+78|0;ea(k|0,(da(k|0,2,0,1)|0)&65531|0,2,0);k=n+65|0;do if(!(da(k>>0|0,1,0,0)|0))if(c){l=c+4|0;b=da(l|0,4,0,0)|0|0;if(!b){$p(a,da(c|0,4,0,0)|0|0,0);d=0;break}d=c+8|0;e=da(d|0,4,0,0)|0|0;if((e|0)!=0?(da(e>>0|0,1,0,0)|0|0)!=0:0){l=n+144|0;ea(l>>0|0,g|0,1,0);ea(f|0,0|0,4,0);Cn(b,f)|0;d=da(d|0,4,0,0)|0|0;ea(n+140|0,da(f|0,4,0,0)|0|0,4,0);b=n+146|0;ea(b>>0|0,0|0,1,0);hh(n,d,-1,0,0,m,0)|0;d=da(n+52|0,4,0,0)|0|0;ea(l>>0|0,0|0,1,0);do if((d|0)!=0?(da(b>>0|0,1,0,0)|0|0)==0:0){ea(a+12|0,d|0,4,0);if((d|0)==9)break;else if((d|0)==7){ea(k>>0|0,1|0,1,0);break}if((d&255|0)!=6){l=da(c|0,4,0,0)|0|0;$p(a,l,Re(n)|0)}}while(0);ld(da(m|0,4,0,0)|0|0)|0;d=0;break}b=da(c|0,4,0,0)|0|0;if(!b){$p(a,0,0);d=0;break}b=aq(n,b,da(h+(g<<4)|0,4,0,0)|0|0)|0;if((b|0)!=0?(Cn(da(l|0,4,0,0)|0|0,b+40|0)|0)==0:0){$p(a,da(c|0,4,0,0)|0|0,13528);d=0}else d=0}else d=0;else{$p(a,da(c|0,4,0,0)|0|0,0);d=1}while(0);i=o;return d|0}function $m(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;h=k+8|0;f=a+16|0;d=da(f|0,4,0,0)|0|0;e=da((da(d+(b<<4)+12|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;if(e){d=e;do{bq(da(d+8|0,4,0,0)|0|0);d=da(d|0,4,0,0)|0|0}while((d|0)!=0);d=da(f|0,4,0,0)|0|0}ea(h|0,a|0,4,0);d=da(d+(b<<4)|0,4,0,0)|0|0;ea(h+4|0,d|0,4,0);do if(!(Zh(a,13384,d)|0))c=1;else{ea(g|0,d|0,4,0);d=th(a,13400,g)|0;if((d|0)!=0?(c=Pe(a,d,23,h,0)|0,lg(a,d),(c|0)!=7):0)break;ea(a+65>>0|0,1|0,1,0);c=7}while(0);i=k;return c|0}function an(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=da(a+12|0,4,0,0)|0|0;if(!g){e=a+4|0;d=a+8|0;f=0}else{e=da(b>>0|0,1,0,0)|0|0;if(!(e<<24>>24))e=0;else{d=b;f=e;e=0;do{d=d+1|0;e=e<<3^e^(da(9328+(f&255)>>0|0,1,0,1)|0|0);f=da(d>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}f=(e>>>0)%((da(a|0,4,0,0)|0|0)>>>0)|0;e=g+(f<<3)|0;d=g+(f<<3)+4|0}e=da(e|0,4,0,0)|0|0;d=da(d|0,4,0,0)|0|0;ea(c|0,f|0,4,0);a:do if(!e)d=0;else while(1){e=e+-1|0;if(!(cd(da(d+12|0,4,0,0)|0|0,b)|0))break a;if(!e){d=0;break}else d=da(d|0,4,0,0)|0|0}while(0);return d|0}function bn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r;p=r+12|0;a:do if((d|0)>0){n=a+16|0;o=a+4|0;m=(b|0)==0;e=c;b=d;while(1){h=b+-1|0;if(!(da(n|0,4,0,0)|0))break a;if((e|0)<1){e=b;b=5;break}if(dq(a,e)|0)break a;if(yg(da(o|0,4,0,0)|0|0,e,p,0)|0){b=8;break}k=da(p|0,4,0,0)|0|0;l=da(k+4|0,4,0,0)|0|0;do if(m)if((h|0)>0?(da((da(a|0,4,0,0)|0|0)+17>>0|0,1,0,0)|0|0)!=0:0){cn(a,(da(l+1>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(l+2>>0|0,1,0,1)|0)<<8|(da(l+3>>0|0,1,0,1)|0),4,e);b=h}else b=h;else{g=(da(l+5>>0|0,1,0,1)|0)<<16|(da(l+4>>0|0,1,0,1)|0)<<24|(da(l+6>>0|0,1,0,1)|0)<<8|(da(l+7>>0|0,1,0,1)|0);f=da(a|0,4,0,0)|0|0;if(da(f+17>>0|0,1,0,0)|0){cn(a,e,2,0);f=da(a|0,4,0,0)|0|0}if((g|0)>(((da(f+36|0,4,0,0)|0|0)/4|0)+-2|0)){ea(q|0,e|0,4,0);en(a,44640,q);b=b+-2|0;break}b:do if((g|0)>0){b=0;while(1){e=b<<2;e=(da(l+(e+9)>>0|0,1,0,1)|0)<<16|(da(l+(e+8)>>0|0,1,0,1)|0)<<24|(da(l+(e+10)>>0|0,1,0,1)|0)<<8|(da(l+(e+11)>>0|0,1,0,1)|0);if(da(f+17>>0|0,1,0,0)|0)cn(a,e,2,0);dq(a,e)|0;b=b+1|0;if((b|0)==(g|0))break b;f=da(a|0,4,0,0)|0|0}}while(0);b=h-g|0}while(0);e=(da(l+1>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(l+2>>0|0,1,0,1)|0)<<8|(da(l+3>>0|0,1,0,1)|0);if(k)Ag(k);if((b|0)<=0)break a}if((b|0)==5){ea(q|0,e|0,4,0);ea(q+4|0,d|0,4,0);ea(q+8|0,c|0,4,0);en(a,44552,q);break}else if((b|0)==8){ea(q|0,e|0,4,0);en(a,44616,q);break}}while(0);i=r;return}function cn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();h=l;f=l+24|0;g=l+20|0;e=gp(da(a|0,4,0,0)|0|0,b,f,g)|0;if((e|0)==7|(e|0)==3082){ea(a+24|0,1|0,4,0);k=3}else if(!e){f=da(f>>0|0,1,0,0)|0|0;e=da(g|0,4,0,0)|0|0;if(!((e|0)==(d|0)?f<<24>>24==c<<24>>24:0)){ea(h|0,b|0,4,0);ea(h+4|0,c&255|0,4,0);ea(h+8|0,d|0,4,0);ea(h+12|0,f&255|0,4,0);ea(h+16|0,e|0,4,0);en(a,44496,h)}}else k=3;if((k|0)==3){ea(h|0,b|0,4,0);en(a,44464,h)}i=l;return}function dn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=i;i=i+64|0;if((i|0)>=(j|0))ba();N=U+40|0;h=U+56|0;I=U+32|0;J=U+24|0;F=U;S=I;ea(S|0,0|0,4,0);ea(S+4|0,0|0,4,0);S=J;ea(S|0,0|0,4,0);ea(S+4|0,0|0,4,0);S=a+28|0;T=da(S|0,4,0,0)|0|0;O=a+32|0;P=da(O|0,4,0,0)|0|0;Q=a+36|0;R=da(Q|0,4,0,0)|0|0;K=da(a|0,4,0,0)|0|0;E=K+36|0;L=da(E|0,4,0,0)|0|0;if((b|0)!=0?(dq(a,b)|0)==0:0){ea(S|0,43768|0,4,0);ea(O|0,b|0,4,0);k=cl(K,b,h,0)|0;do if(!k){M=da(h|0,4,0,0)|0|0;ea(M>>0|0,0|0,1,0);k=_p(M)|0;if(k){ea(N|0,k|0,4,0);en(a,43824,N);if(!M){e=-1;break}Ag(da(M+68|0,4,0,0)|0|0);e=-1;break}r=a+16|0;G=M+18|0;k=da(G|0,2,0,0)|0|0;a:do if(!(k<<16>>16)){l=M+5|0;k=0;e=0}else{s=M+56|0;t=M+20|0;u=M+64|0;v=F+12|0;w=M+2|0;x=F+16|0;y=L+-5|0;z=L+-4|0;A=K+17|0;B=M+5|0;o=0;p=0;while(1){if(!(da(r|0,4,0,0)|0)){l=B;e=o;break a}ea(S|0,43864|0,4,0);ea(O|0,b|0,4,0);ea(Q|0,p|0,4,0);h=da(s|0,4,0,0)|0|0;k=p<<1;l=da(u|0,4,0,0)|0|0;k=((da(l+k>>0|0,1,0,1)|0)<<8|(da(l+(k|1)>>0|0,1,0,1)|0))&(da(t|0,2,0,1)|0);l=h+k|0;qp(M,l,F);m=da(v|0,4,0,0)|0|0;if(da(w>>0|0,1,0,0)|0){e=F;q=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if(p){g=J;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if(!((e|0)>(g|0)|(e|0)==(g|0)&q>>>0>f>>>0)){n=N;ea(n|0,q|0,4,0);ea(n+4|0,e|0,4,0);n=N+8|0;ea(n|0,f|0,4,0);ea(n+4|0,g|0,4,0);en(a,43896,N)}}else{f=J;ea(f|0,q|0,4,0);ea(f+4|0,e|0,4,0);f=I;ea(f|0,q|0,4,0);ea(f+4|0,e|0,4,0)}f=J;ea(f|0,q|0,4,0);ea(f+4|0,e|0,4,0)}q=da(x|0,4,0,0)|0|0;e=q&65535;if(m>>>0>e>>>0?(C=(q>>>16)+k|0,D=h+C|0,D>>>0<=((da(s|0,4,0,0)|0|0)+(da(E|0,4,0,0)|0|0)|0)>>>0):0){q=(da(h+(C+1)>>0|0,1,0,1)|0)<<16|(da(D>>0|0,1,0,1)|0)<<24|(da(h+(C+2)>>0|0,1,0,1)|0)<<8|(da(h+(C+3)>>0|0,1,0,1)|0);if(da(A>>0|0,1,0,0)|0)cn(a,q,3,b);bn(a,0,q,((y+m-e|0)>>>0)/(z>>>0)|0)}if(!(da(B>>0|0,1,0,0)|0)){n=(da(h+(k+1)>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(h+(k+2)>>0|0,1,0,1)|0)<<8|(da(h+(k+3)>>0|0,1,0,1)|0);if(da(A>>0|0,1,0,0)|0)cn(a,n,5,b);e=dn(a,n,I,(p|0)==0?0:J)|0;if(!((p|0)<1|(e|0)==(o|0)))en(a,43944,N)}else e=o;p=p+1|0;k=da(G|0,2,0,0)|0|0;if((p|0)>=(k&65535|0)){l=B;break}else o=e}}while(0);if(!(da(l>>0|0,1,0,0)|0)){h=da(M+6>>0|0,1,0,1)|0|0;B=da(M+56|0,4,0,0)|0|0;h=(da(B+(h+9)>>0|0,1,0,1)|0)<<16|(da(B+(h+8)>>0|0,1,0,1)|0)<<24|(da(B+(h+10)>>0|0,1,0,1)|0)<<8|(da(B+(h+11)>>0|0,1,0,1)|0);ea(S|0,43976|0,4,0);ea(O|0,b|0,4,0);if(da(K+17>>0|0,1,0,0)|0){cn(a,h,5,b);k=da(G|0,2,0,0)|0|0}dn(a,h,0,k<<16>>16!=0?J:0)|0;B=da(l>>0|0,1,0,0)|0|0;ea(S|0,43768|0,4,0);ea(O|0,b|0,4,0);if(B<<24>>24)H=34}else{ea(S|0,43768|0,4,0);ea(O|0,b|0,4,0);H=34}do if((H|0)==34?(da(M+2>>0|0,1,0,0)|0|0)!=0:0){h=(d|0)!=0;if(!c){if(!h)break;h=I;k=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;f=d;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((h|0)>(f|0)|(h|0)==(f|0)&k>>>0>g>>>0)break;B=N;ea(B|0,k|0,4,0);ea(B+4|0,h|0,4,0);B=N+8|0;ea(B|0,g|0,4,0);ea(B+4|0,f|0,4,0);en(a,44200,N);break}if(!h){k=J;h=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;f=c;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if(!((k|0)>(f|0)|(k|0)==(f|0)&h>>>0>g>>>0))break;B=N;ea(B|0,h|0,4,0);ea(B+4|0,k|0,4,0);B=N+8|0;ea(B|0,g|0,4,0);ea(B+4|0,f|0,4,0);en(a,44008,N);break}h=I;k=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;f=c;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if(!((h|0)>(f|0)|(h|0)==(f|0)&k>>>0>g>>>0)){B=N;ea(B|0,k|0,4,0);ea(B+4|0,h|0,4,0);B=N+8|0;ea(B|0,g|0,4,0);ea(B+4|0,f|0,4,0);en(a,44072,N)}g=J;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;h=d;k=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;if((g|0)>(h|0)|(g|0)==(h|0)&f>>>0>k>>>0){B=N;ea(B|0,f|0,4,0);ea(B+4|0,g|0,4,0);g=N+8|0;ea(g|0,k|0,4,0);ea(g+4|0,h|0,4,0);en(a,44136,N);g=J;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0}B=c;ea(B|0,f|0,4,0);ea(B+4|0,g|0,4,0)}while(0);o=da(M+56|0,4,0,0)|0|0;p=da(M+6>>0|0,1,0,1)|0|0;q=Fo(da(K+32|0,4,0,0)|0|0)|0;ea(S|0,0|0,4,0);if(q){n=(((da(o+(p+5)>>0|0,1,0,1)|0)<<8|(da(o+(p+6)>>0|0,1,0,1)|0))+65535&65535)+1|0;ew(q+n|0,0,L-n|0)|0;ew(q|0,1,n|0)|0;n=(da(o+(p+3)>>0|0,1,0,1)|0)<<8|(da(o+(p+4)>>0|0,1,0,1)|0);g=p+12-((da(l>>0|0,1,0,1)|0)<<2)|0;if(n){f=L+-4|0;m=0;do{l=g+(m<<1)|0;l=(da(o+l>>0|0,1,0,1)|0)<<8|(da(o+(l+1)>>0|0,1,0,1)|0);if((l|0)>(f|0))h=65536;else h=(Kp(M,o+l|0)|0)&65535;k=h+l|0;if((k|0)<=(L|0)){if(h)do{k=k+-1|0;B=q+k|0;ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0)}while((k|0)>(l|0))}else{ea(S|0,0|0,4,0);ea(N|0,m|0,4,0);ea(N+4|0,b|0,4,0);en(a,44264,N)}m=m+1|0}while((m|0)<(n|0))}f=(da(o+(p+1)>>0|0,1,0,1)|0)<<8|(da(o+(p+2)>>0|0,1,0,1)|0);if(f)do{g=(da(o+(f+2)>>0|0,1,0,1)|0)<<8|(da(o+(f+3)>>0|0,1,0,1)|0);if(g){g=g+f|0;do{g=g+-1|0;B=q+g|0;ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0)}while((g|0)>(f|0))}f=(da(o+f>>0|0,1,0,1)|0)<<8|(da(o+(f+1)>>0|0,1,0,1)|0)}while((f|0)!=0);b:do if((L|0)>0){g=0;f=0;while(1){h=da(q+f>>0|0,1,0,0)|0|0;if(h<<24>>24){if(h<<24>>24>1)break}else g=g+1|0;f=f+1|0;if((f|0)>=(L|0))break b}ea(N|0,f|0,4,0);ea(N+4|0,b|0,4,0);en(a,44312,N)}else g=0;while(0);f=da(o+(p+7)>>0|0,1,0,1)|0|0;if((g|0)!=(f|0)){ea(N|0,g|0,4,0);ea(N+4|0,f|0,4,0);ea(N+8|0,b|0,4,0);en(a,44352,N)}}else ea(a+24|0,1|0,4,0);_k(q);if(M)Ag(da(M+68|0,4,0,0)|0|0)}else{ea(N|0,k|0,4,0);en(a,43784,N);e=-1}while(0);ea(S|0,T|0,4,0);ea(O|0,P|0,4,0);ea(Q|0,R|0,4,0);e=e+1|0}else e=0;i=U;return e|0}function en(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+224|0;if((i|0)>=(j|0))ba();f=k;g=k+8|0;h=k+24|0;d=a+16|0;e=da(d|0,4,0,0)|0|0;if(e){ea(d|0,e+-1|0,4,0);d=a+20|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(g|0,c|0,4,0);c=a+40|0;if(da(a+52|0,4,0,0)|0)Rk(c,43760,1);d=da(a+28|0,4,0,0)|0|0;if(d){e=da(a+36|0,4,0,0)|0|0;ea(f|0,da(a+32|0,4,0,0)|0|0,4,0);ea(f+4|0,e|0,4,0);$c(200,h,d,f)|0;d=h;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;Rk(c,h,d-h&1073741823)}rg(c,1,b,g);if((da(a+65>>0|0,1,0,0)|0|0)==1)ea(a+24|0,1|0,4,0)}i=k;return}function fn(a){a=a|0;var b=0,c=0;b=a+8|0;c=da(b|0,4,0,0)|0|0;do if((c|0)!=(da(a+4|0,4,0,0)|0|0))if((da(a+24>>0|0,1,0,0)|0|0)==1){lg(da(a|0,4,0,0)|0|0,c);break}else{Vc(c);break}while(0);ea(b|0,0|0,4,0);return}function gn(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a+32|0,4,0,0)|0|0;e=a+8|0;if(!(((da(e|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);b=lh(c,64,0)|0;d=a+20|0;ea(d|0,b|0,4,0);if(!(da(c+65>>0|0,1,0,0)|0)){do if(!c)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;else{if((da(c+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(c+280|0,4,0,0)|0|0)>>>0>b>>>0:0){b=da(c+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0}while(0);ea(a+24|0,b|0,4,0);d=da(d|0,4,0,0)|0|0;ea(d|0,0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+20|0,0|0,4,0);ea(d+16|0,d+32|0,4,0);ea(d+24|0,(b+1048544|0)>>>4|0,2,0);ea(d+26|0,1|0,2,0);ea(d+28|0,0|0,4,0);ea(a|0,d|0,4,0);ea(e|0,32|0,2,0)}else{ea(e|0,1|0,2,0);ea(a+24|0,0|0,4,0)}return}function hn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=nn(a)|0;if(g){h=g;ea(h|0,b|0,4,0);ea(h+4|0,c|0,4,0);ea(g+8|0,0|0,4,0);h=a+12|0;f=da(h|0,4,0,0)|0|0;if(!f)ea(a+8|0,g|0,4,0);else{a=a+26|0;d=da(a|0,2,0,1)|0|0;if((d&1|0)!=0?(e=f,i=da(e+4|0,4,0,0)|0|0,!((i|0)<(c|0)|((i|0)==(c|0)?(da(e|0,4,0,0)|0|0)>>>0<b>>>0:0))):0)ea(a|0,d&65534|0,2,0);ea(f+8|0,g|0,4,0)}ea(h|0,g|0,4,0)}return}function jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();f=g;ew(f|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(!b)b=f;else{c=b;b=f;d=0;do{a=ln(c,a)|0;ea(b|0,0|0,4,0);d=d+1|0;b=f+(d<<2)|0;c=da(b|0,4,0,0)|0|0}while((c|0)!=0)}ea(b|0,a|0,4,0);if(!e){a=0;b=0;break a}a=e;b=da(f|0,4,0,0)|0|0}}while(0);do{a=ln(a,da(f+(b<<2)|0,4,0,0)|0|0)|0;b=b+1|0}while((b|0)!=40);i=g;return a|0}function kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;e=da(a+12|0,4,0,0)|0|0;if(!e)ea(b|0,a|0,4,0);else{kn(e,b,d);ea((da(d|0,4,0,0)|0|0)+8|0,a|0,4,0)}d=a+8|0;e=da(d|0,4,0,0)|0|0;if(!e)ea(c|0,a|0,4,0);else kn(e,d,c);i=f;return}function ln(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;c=(a|0)!=0;a:do if(c&(b|0)!=0){d=a;a=k;while(1){g=d;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;while(1){e=b;c=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if((g|0)<(e|0)|(g|0)==(e|0)&f>>>0<c>>>0){h=4;break}if(!((e|0)<(g|0)|(e|0)==(g|0)&c>>>0<f>>>0))break;ea(a+8|0,b|0,4,0);c=da(b+8|0,4,0,0)|0|0;if(!c){e=0;c=1;break a}else{a=b;b=c}}if((h|0)==4){h=0;ea(a+8|0,d|0,4,0);a=d}d=da(d+8|0,4,0,0)|0|0;c=(d|0)!=0;if(!(c&(b|0)!=0)){e=b;b=a;break}}}else{e=b;d=a;b=k}while(0);ea(b+8|0,(c?d:e)|0,4,0);i=l;return da(k+8|0,4,0,0)|0|0}function mn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=a+8|0;b=da(c|0,4,0,0)|0|0;ea(d|0,b|0,4,0);ea(c|0,0|0,4,0);ea(a+12|0,0|0,4,0);if(!b)b=a;else{c=1;while(1){f=b+8|0;ea(d|0,da(f|0,4,0,0)|0|0,4,0);ea(b+12|0,a|0,4,0);ea(f|0,eq(d,c)|0|0,4,0);a=da(d|0,4,0,0)|0|0;if(!a)break;else{f=b;b=a;c=c+1|0;a=f}}}i=e;return b|0}function nn(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+24|0;b=da(d|0,2,0,0)|0|0;if(!(b<<16>>16)){b=lh(da(a+4|0,4,0,0)|0|0,1016,0)|0;if(!b)b=0;else{ea(b|0,da(a|0,4,0,0)|0|0,4,0);ea(a|0,b|0,4,0);b=b+8|0;ea(a+16|0,b|0,4,0);ea(d|0,63|0,2,0);c=62;e=5}}else{c=b+-1<<16>>16;b=da(a+16|0,4,0,0)|0|0;e=5}if((e|0)==5){ea(d|0,c|0,2,0);ea(a+16|0,b+16|0,4,0)}return b|0}function on(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;d=a+4|0;if(da(d>>0|0,1,0,0)|0){b=pn(a)|0;if(!b){h=da(d>>0|0,1,0,0)|0|0;c=4}}else{h=0;c=4}do if((c|0)==4){e=da(a|0,4,0,0)|0|0;k=da(a+60|0,4,0,0)|0|0;f=da(a+212|0,4,0,0)|0|0;b=a+160|0;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;g=a+208|0;ea(g|0,0|0,4,0);d=(da(e+4|0,4,0,0)|0|0)+112|0;l=pg(d,0)|0;if(!l)b=7;else{ew(l|0,0,d|0)|0;ea(l|0,e|0,4,0);o=l+112|0;d=l+8|0;ea(d|0,o|0,4,0);ea(l+4|0,k|0,4,0);ea(l+40|0,-1|0,2,0);a=l+16|0;ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(l+100|0,f|0,4,0);a=l+48|0;ea(a>>0|0,1|0,1,0);c=l+49|0;ea(c>>0|0,1|0,1,0);ea(l+43>>0|0,(h<<24>>24!=0?2:0)|0,1,0);ea(m|0,524294|0,4,0);b=sc[(fa(da(e+24|0,4,0,0)|0|0,31|0)|0)&31](e,f,o,524294,m)|0;if(b){fq(l,0);c=da(d|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}Vc(l);break}if((da(m|0,4,0,0)|0)&1)ea(l+46>>0|0,1|0,1,0);d=kc[(fa(da((da(k|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](k)|0;if(d&1024)ea(a>>0|0,0|0,1,0);if(d&4096)ea(c>>0|0,0|0,1,0);ea(g|0,l|0,4,0);b=0}}while(0);i=n;return b|0}function pn(a){a=a|0;var b=0,c=0,d=0;d=el(a,4)|0;if((d|0)!=0?(b=da(a+60|0,4,0,0)|0|0,c=da(b|0,4,0,0)|0|0,(c|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](b,1)|0;b=a+17|0;if((da(b>>0|0,1,0,0)|0|0)!=5)ea(b>>0|0,1|0,1,0)}return d|0}function qn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!a)e=0;else{g=a+4|0;e=da(g|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,127|0)|0)&127](e,4)|0;if(!e){f=a+43|0;if(!(da(f>>0|0,1,0,0)|0))ea(f>>0|0,1|0,1,0);e=Sn(a,0,0,0,b,c,d,0,0)|0;if(!e){ea(h|0,-1|0,4,0);e=da(g|0,4,0,0)|0|0;$b[(fa(da((da(e|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](e,10,h)|0;if((da(h|0,4,0,0)|0|0)==1){e=a+16|0;b=da(e+4|0,4,0,0)|0|0;if((b|0)>-1|(b|0)==-1&(da(e|0,4,0,0)|0|0)>>>0>4294967295){Yo(a,0,0);c=0;e=0}else{c=0;e=0}}else{c=1;e=0}}else c=0}else c=0;fq(a,c);b=da(a+8|0,4,0,0)|0|0;f=da(b|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}if(c){b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();b=da(a|0,4,0,0)|0|0;$b[(fa(da(b+28|0,4,0,0)|0|0,63|0)|0)&63](b,da(a+100|0,4,0,0)|0|0,0)|0;b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]()}Vc(da(a+32|0,4,0,0)|0|0);Vc(a)}i=k;return e|0}function rn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=a+5|0;d=da(h>>0|0,1,0,0)|0|0;if(!((da(a+15>>0|0,1,0,0)|0|0)!=0?!((b|0)==2|(b|0)==4):0))e=3;do if(((e|0)==3?(c=d&255,(c|0)!=(b|0)):0)?(ea(h>>0|0,b|0,1,0),(da(a+4>>0|0,1,0,0)|0|0)==0&(c&5|0)==1&(b&1|0)==0):0){c=da(a+64|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}g=a+17|0;if((da(g>>0|0,1,0,1)|0|0)>1){c=da(a|0,4,0,0)|0|0;$b[(fa(da(c+28|0,4,0,0)|0|0,63|0)|0)&63](c,da(a+172|0,4,0,0)|0|0,0)|0;break}d=a+16|0;c=da(d>>0|0,1,0,0)|0|0;f=c<<24>>24==0;if(f){b=bl(a)|0;e=da(d>>0|0,1,0,0)|0|0}else{e=c;b=0}if(e<<24>>24==1)b=el(a,2)|0;if((b|0)==0?(d=da(a|0,4,0,0)|0|0,$b[(fa(da(d+28|0,4,0,0)|0|0,63|0)|0)&63](d,da(a+172|0,4,0,0)|0|0,0)|0,c<<24>>24==1):0){d=da(a+60|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(!c)break;if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](d,1)|0;if((da(g>>0|0,1,0,0)|0|0)==5)break;ea(g>>0|0,1|0,1,0);break}if(f)Mo(a)}while(0);return da(h>>0|0,1,0,1)|0|0}function sn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=f+4|0;do if(c)if(!(hh(a,c,-1,0,0,d,0)|0)){d=da(d|0,4,0,0)|0|0;Rd(d)|0;a=gq(a,d,b)|0;break}else{ch(b,a,Re(a)|0,e);a=Mf(a)|0;break}else a=7;while(0);i=f;return a|0}function tn(a){a=a|0;var b=0;ea((da(a+4|0,4,0,0)|0|0)+4|0,da(a|0,4,0,0)|0|0,4,0);b=Jg(a,0)|0;if(!b)b=Ig(a,0)|0;return b|0}function un(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+4|0,4,0,0)|0|0;ea(c+4|0,da(a|0,4,0,0)|0|0,4,0);a=b&255;if((da(c+22|0,2,0,0)|0)&2){b=c+17|0;if(((a|0)!=0|0)==(da(b>>0|0,1,0,1)|0|0|0))d=4;else b=8}else{b=c+17|0;d=4}if((d|0)==4){ea(b>>0|0,(a|0)!=0&1|0,1,0);ea(c+18>>0|0,(a|0)==2&1|0,1,0);b=0}return b|0}function vn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;c=hh(a,c,-1,0,0,d,0)|0;do if(!c){d=da(d|0,4,0,0)|0|0;while(1){if((Rd(d)|0)!=100){e=6;break}c=sn(a,b,ee(d,0)|0)|0;if(c){e=5;break}}if((e|0)==5){gq(a,d,b)|0;break}else if((e|0)==6){c=gq(a,d,b)|0;break}}while(0);i=f;return c|0}function wn(a){a=a|0;var b=0;b=a+100|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=da(a+88|0,4,0,0)|0|0;if(b)do{ea(b+16|0,1|0,4,0);b=da(b+44|0,4,0,0)|0|0}while((b|0)!=0);cp(da(a+204|0,4,0,0)|0|0,0);return}function xn(a){a=a|0;var b=0,c=0,d=0;d=a+304|0;b=da(d|0,4,0,0)|0|0;if(!((b|0)%5|0)){b=(b<<2)+20|0;c=a+328|0;b=qo(a,da(c|0,4,0,0)|0|0,b,((b|0)<0)<<31>>31)|0;if(!b)b=7;else{a=b+((da(d|0,4,0,0)|0)<<2)|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+16|0,0|0,4,0);ea(c|0,b|0,4,0);b=0}}else b=0;return b|0}function yn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;n=v+8|0;q=v+4|0;f=b+56|0;o=da(f|0,4,0,0)|0|0;p=da(b+52|0,4,0,0)|0|0;ea(q|0,0|0,4,0);ea(s|0,da(b|0,4,0,0)|0|0,4,0);u=th(a,10344,s)|0;do if(!u)f=7;else{r=lh(a,28,0)|0;if(!r){lg(a,u);f=7;break}l=r+0|0;k=l+28|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(r|0,a|0,4,0);ea(r+4|0,c|0,4,0);m=da(b+68|0,4,0,0)|0|0;a:do if(m){l=da(a+20|0,4,0,0)|0|0;if((l|0)>0){h=da(a+16|0,4,0,0)|0|0;g=0;while(1){k=g+1|0;if((da(h+(g<<4)+12|0,4,0,0)|0|0)==(m|0)){k=g;break a}if((k|0)<(l|0))g=k;else break}}else k=0}else k=-1e6;while(0);ea((da(f|0,4,0,0)|0|0)+4|0,da((da(a+16|0,4,0,0)|0|0)+(k<<4)|0,4,0,0)|0|0,4,0);l=n+4|0;ea(l|0,b|0,4,0);ea(n|0,r|0,4,0);h=a+324|0;m=da(h|0,4,0,0)|0|0;ea(h|0,n|0,4,0);k=r+8|0;f=jc[(fa(d|0,7|0)|0)&7](a,da(c+8|0,4,0,0)|0|0,p,o,k,q)|0;ea(h|0,m|0,4,0);do if(!f){h=da(k|0,4,0,0)|0|0;if(h){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(da(k|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,4,0);ea(r+12|0,1|0,4,0);if(da(l|0,4,0,0)|0){ea(s|0,da(b|0,4,0,0)|0|0,4,0);ea(e|0,th(a,28376,s)|0|0,4,0);zn(r);f=1;break}q=b+60|0;ea(r+24|0,da(q|0,4,0,0)|0|0,4,0);ea(q|0,r|0,4,0);q=b+38|0;f=da(q|0,2,0,0)|0|0;if(f<<16>>16>0){p=b+4|0;g=da(p|0,4,0,0)|0|0;d=0;while(1){n=da(g+(d*24|0)+12|0,4,0,0)|0|0;if(n){h=n;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;k=h-n|0;m=k&1073741823;if((Ec(28424,n,6)|0)==0?(o=da(n+6>>0|0,1,0,0)|0|0,o<<24>>24==32|o<<24>>24==0):0)h=0;else t=24;b:do if((t|0)==24){t=0;if(!m)h=0;else{h=0;while(1){if((Ec(28432,n+h|0,7)|0)==0?(o=da(n+(h+7)>>0|0,1,0,0)|0|0,o<<24>>24==32|o<<24>>24==0):0)break;h=h+1|0;if((h|0)>=(m|0))break b}h=h+1|0}}while(0);if((h|0)<(m|0)){l=(da(n+(h+6)>>0|0,1,0,0)|0|0)!=0|6;g=h+l|0;if((g|0)<=(m|0)){k=(k&1073741823)+1-l|0;f=g;g=h;while(1){ea(n+g>>0|0,da(n+f>>0|0,1,0,0)|0|0|0,1,0);g=g+1|0;if((g|0)==(k|0))break;else f=g+l|0}}if((da(n+h>>0|0,1,0,0)|0|0)==0&(h|0)>0)ea(n+(h+-1)>>0|0,0|0,1,0);g=da(p|0,4,0,0)|0|0;f=g+(d*24|0)+23|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|2|0,1,0);f=da(q|0,2,0,0)|0|0}}d=d+1|0;if((d|0)>=(f<<16>>16|0)){f=0;break}}}else f=0}else f=0}else if((f|0)==7){ea(a+65>>0|0,1|0,1,0);t=11}else t=11;while(0);if((t|0)==11){g=da(q|0,4,0,0)|0|0;if(!g){ea(s|0,u|0,4,0);ea(e|0,th(a,28344,s)|0|0,4,0)}else{ea(s|0,g|0,4,0);ea(e|0,th(a,10344,s)|0|0,4,0);Vc(da(q|0,4,0,0)|0|0)}lg(a,r)}lg(a,u)}while(0);i=v;return f|0}function zn(a){a=a|0;var b=0,c=0,d=0;b=da(a|0,4,0,0)|0|0;d=a+12|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);if(!c){c=da(a+8|0,4,0,0)|0|0;if(c)kc[(fa(da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,127|0)|0)&127](c)|0;lg(b,a)}return}function An(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=a+10|0;d=b<<24>>24==1;if((da(n>>0|0,1,0,0)|0|0)==1|d){j=a+12|0;c=da(j|0,4,0,0)|0|0;if(d){d=c&-2;ea(j|0,d|0,4,0);g=d;d=d<<1|1}else{g=c;d=(c<<1)+2|0}k=a+16|0;c=da(k|0,4,0,0)|0|0;i=c+g|0;l=a+32|0;m=lh(da(l|0,4,0,0)|0|0,d,((d|0)<0)<<31>>31)|0;if(!m)c=7;else{d=da(n>>0|0,1,0,0)|0|0;if(d<<24>>24==2)if((g|0)>0){d=m;do{e=da(c>>0|0,1,0,1)|0|0;g=c+2|0;h=(da(c+1>>0|0,1,0,1)|0)<<8;f=h|e;if((h&63488|0)==55296&g>>>0<i>>>0){f=(f<<10&983040)+65536|e<<10&64512|(da(g>>0|0,1,0,1)|0)|(da(c+3>>0|0,1,0,1)|0)<<8&768;c=c+4|0}else c=g;do if(f>>>0>=128){if(f>>>0<2048){ea(d>>0|0,f>>>6&31|192|0,1,0);ea(d+1>>0|0,f&63|128|0,1,0);d=d+2|0;break}if(f>>>0<65536){ea(d>>0|0,f>>>12&15|224|0,1,0);ea(d+1>>0|0,f>>>6&63|128|0,1,0);ea(d+2>>0|0,f&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,f>>>18&7|240|0,1,0);ea(d+1>>0|0,f>>>12&63|128|0,1,0);ea(d+2>>0|0,f>>>6&63|128|0,1,0);ea(d+3>>0|0,f&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,f|0,1,0);d=d+1|0}while(0)}while(c>>>0<i>>>0);h=55}else{d=m;h=55}else if(d<<24>>24!=1)if((g|0)>0){d=m;do{h=(da(c>>0|0,1,0,1)|0)<<8;g=c+2|0;f=da(c+1>>0|0,1,0,1)|0|0;e=h|f;if((h&63488|0)==55296&g>>>0<i>>>0){e=(e<<10&983040)+65536|f<<10&64512|(da(c+3>>0|0,1,0,1)|0)|(da(g>>0|0,1,0,1)|0)<<8&768;c=c+4|0}else c=g;do if(e>>>0>=128){if(e>>>0<2048){ea(d>>0|0,e>>>6&31|192|0,1,0);ea(d+1>>0|0,e&63|128|0,1,0);d=d+2|0;break}if(e>>>0<65536){ea(d>>0|0,e>>>12&15|224|0,1,0);ea(d+1>>0|0,e>>>6&63|128|0,1,0);ea(d+2>>0|0,e&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,e>>>18&7|240|0,1,0);ea(d+1>>0|0,e>>>12&63|128|0,1,0);ea(d+2>>0|0,e>>>6&63|128|0,1,0);ea(d+3>>0|0,e&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,e|0,1,0);d=d+1|0}while(0)}while(c>>>0<i>>>0);h=55}else{d=m;h=55}else{d=(g|0)>0;if(b<<24>>24==2)if(d){d=m;g=c;while(1){c=g+1|0;e=da(g>>0|0,1,0,0)|0|0;f=e&255;if((e&255)>191){f=da(15360+(f+-192)>>0|0,1,0,1)|0|0;a:do if((c|0)==(i|0))c=i;else while(1){e=da(c>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24!=-128)break a;g=g+2|0;f=e&63|f<<6;if((g|0)==(i|0)){c=i;break}else{e=c;c=g;g=e}}while(0);if(!(f>>>0<128|(f&-2048|0)==55296|(f&-2|0)==65534))if(f>>>0<65536)h=22;else{g=f+-65536|0;ea(d>>0|0,g>>>10&192|f>>>10&63|0,1,0);ea(d+1>>0|0,g>>>18&3|216|0,1,0);ea(d+2>>0|0,f|0,1,0);ea(d+3>>0|0,f>>>8&3|220|0,1,0);d=d+4|0}else{f=65533;h=22}}else h=22;if((h|0)==22){h=0;ea(d>>0|0,f|0,1,0);ea(d+1>>0|0,f>>>8|0,1,0);d=d+2|0}if(c>>>0<i>>>0)g=c;else break}}else d=m;else if(d){d=m;do{g=c+1|0;f=da(c>>0|0,1,0,0)|0|0;e=f&255;if((f&255)>191){e=da(15360+(e+-192)>>0|0,1,0,1)|0|0;b:do if((g|0)==(i|0))c=i;else{f=c;c=g;while(1){g=da(c>>0|0,1,0,0)|0|0;if((g&-64)<<24>>24!=-128)break b;f=f+2|0;e=g&63|e<<6;if((f|0)==(i|0)){c=i;break}else{g=c;c=f;f=g}}}while(0);if(!(e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534))if(e>>>0<65536)h=31;else{g=e+-65536|0;ea(d>>0|0,g>>>18&3|216|0,1,0);ea(d+1>>0|0,g>>>10&192|e>>>10&63|0,1,0);ea(d+2>>0|0,e>>>8&3|220|0,1,0);ea(d+3>>0|0,e|0,1,0);d=d+4|0}else{e=65533;h=31}}else{c=g;h=31}if((h|0)==31){h=0;ea(d>>0|0,e>>>8|0,1,0);ea(d+1>>0|0,e|0,1,0);d=d+2|0}}while(c>>>0<i>>>0)}else d=m;ea(j|0,d-m|0,4,0);ea(d>>0|0,0|0,1,0);d=d+1|0}if((h|0)==55)ea(j|0,d-m|0,4,0);ea(d>>0|0,0|0,1,0);d=a+8|0;j=da(d|0,2,0,0)|0|0;c=j&65535;if(!((j&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);ea(d|0,c&29|514|0,2,0);ea(n>>0|0,b|0,1,0);ea(k|0,m|0,4,0);ea(a+20|0,m|0,4,0);c=da(l|0,4,0,0)|0|0;do if(!c)c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](m)|0;else{if((da(c+276|0,4,0,0)|0|0)>>>0<=m>>>0?(da(c+280|0,4,0,0)|0|0)>>>0>m>>>0:0){c=da(c+248|0,2,0,1)|0|0;break}c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](m)|0}while(0);ea(a+24|0,c|0,4,0);c=0}}else if(!(Ul(a)|0)){c=da(a+16|0,4,0,0)|0|0;l=(da(a+12|0,4,0,0)|0)&-2;d=c+l|0;if((l|0)>0)do{l=da(c>>0|0,1,0,0)|0|0;k=c+1|0;ea(c>>0|0,da(k>>0|0,1,0,0)|0|0|0,1,0);c=c+2|0;ea(k>>0|0,l|0,1,0)}while(c>>>0<d>>>0);ea(n>>0|0,b|0,1,0);c=0}else c=7;return c|0}function Bn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=da(a>>0|0,1,0,0)|0|0;d=f&255;a:do switch(d|0){case 45:{if((da(a+1>>0|0,1,0,0)|0|0)==45)c=2;else{ea(b|0,90|0,4,0);c=1;break a}while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(d<<24>>24==0|d<<24>>24==10)break;c=c+1|0}ea(b|0,151|0,4,0);break}case 46:{if(((da(a+1>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)g=51;else{ea(b|0,122|0,4,0);c=1}break}case 62:{c=da(a+1>>0|0,1,0,0)|0|0;if(c<<24>>24==61){ea(b|0,83|0,4,0);c=2;break a}else if(c<<24>>24==62){ea(b|0,88|0,4,0);c=2;break a}else{ea(b|0,80|0,4,0);c=1;break a}}case 33:if((da(a+1>>0|0,1,0,0)|0|0)==61){ea(b|0,78|0,4,0);c=2;break a}else{ea(b|0,150|0,4,0);c=2;break a}case 38:{ea(b|0,85|0,4,0);c=1;break}case 126:{ea(b|0,96|0,4,0);c=1;break}case 34:case 39:case 96:{d=da(a+1>>0|0,1,0,0)|0|0;b:do if(d<<24>>24){c=1;while(1){if(d<<24>>24==f<<24>>24){c=c+1|0;if((da(a+c>>0|0,1,0,0)|0|0)!=f<<24>>24)break}c=c+1|0;d=da(a+c>>0|0,1,0,0)|0|0;if(!(d<<24>>24))break b}if(f<<24>>24==39){ea(b|0,97|0,4,0);break a}else{ea(b|0,27|0,4,0);break a}}else c=1;while(0);ea(b|0,150|0,4,0);break}case 42:{ea(b|0,91|0,4,0);c=1;break}case 47:{if((da(a+1>>0|0,1,0,0)|0|0)==42?(c=da(a+2>>0|0,1,0,0)|0|0,c<<24>>24!=0):0){c=c&255;d=3;while(1){f=da(a+d>>0|0,1,0,0)|0|0;if((c|0)==42&f<<24>>24==47){c=42;break}c=f&255;if(!(f<<24>>24))break;else d=d+1|0}ea(b|0,151|0,4,0);c=((c|0)!=0&1)+d|0;break a}ea(b|0,92|0,4,0);c=1;break}case 37:{ea(b|0,93|0,4,0);c=1;break}case 61:{ea(b|0,79|0,4,0);c=(da(a+1>>0|0,1,0,0)|0|0)==61?2:1;break}case 60:{c=da(a+1>>0|0,1,0,0)|0|0;if(c<<24>>24==61){ea(b|0,81|0,4,0);c=2;break a}else if(c<<24>>24==62){ea(b|0,78|0,4,0);c=2;break a}else if(c<<24>>24==60){ea(b|0,87|0,4,0);c=2;break a}else{ea(b|0,82|0,4,0);c=1;break a}}case 44:{ea(b|0,26|0,4,0);c=1;break}case 124:if((da(a+1>>0|0,1,0,0)|0|0)==124){ea(b|0,94|0,4,0);c=2;break a}else{ea(b|0,86|0,4,0);c=1;break a}case 91:{c=1;while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=d&255;break}c=c+1|0;if(d<<24>>24==93){d=93;break}}ea(b|0,((d|0)==93?27:150)|0,4,0);break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{g=51;break}case 59:{ea(b|0,1|0,4,0);c=1;break}case 43:{ea(b|0,89|0,4,0);c=1;break}case 13:case 12:case 10:case 9:case 32:{c=1;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1))break;else c=c+1|0;ea(b|0,151|0,4,0);break}case 88:case 120:{if((da(a+1>>0|0,1,0,0)|0|0)==39){ea(b|0,134|0,4,0);c=2;while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(!((da(10368+(d&255)>>0|0,1,0,0)|0)&8))break;else c=c+1|0}if(d<<24>>24==39&(c&1|0)==0)d=1;else{ea(b|0,150|0,4,0);while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(d<<24>>24==39|d<<24>>24==0)break;c=c+1|0}d=d<<24>>24!=0}c=(d&1)+c|0}else g=98;break}case 63:{ea(b|0,135|0,4,0);c=1;while(1)if(((da(a+c>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)c=c+1|0;else break;break}case 58:case 35:case 64:case 36:{ea(b|0,135|0,4,0);d=da(a+1>>0|0,1,0,0)|0|0;if(d<<24>>24){c=1;f=0;while(1){if(!((da(10368+(d&255)>>0|0,1,0,0)|0)&70)){if(d<<24>>24==40&(f|0)>0){d=f;g=78;break}if(d<<24>>24!=58){d=f;break}d=c+1|0;if((da(a+d>>0|0,1,0,0)|0|0)==58)c=d;else{d=f;break}}else f=f+1|0;c=c+1|0;d=da(a+c>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=f;break}}do if((g|0)==78){e=c;while(1){c=e+1|0;f=da(a+c>>0|0,1,0,0)|0|0;if(!(f<<24>>24))break;if(f<<24>>24!=41?((da(10368+(f&255)>>0|0,1,0,0)|0)&1)==0:0)e=c;else{g=81;break}}if((g|0)==81)if(f<<24>>24==41){c=e+2|0;break}ea(b|0,150|0,4,0)}while(0);if(d)break a}else c=1;ea(b|0,150|0,4,0);break}case 40:{ea(b|0,22|0,4,0);c=1;break}case 41:{ea(b|0,23|0,4,0);c=1;break}default:g=98}while(0);c:do if((g|0)==51){ea(b|0,132|0,4,0);c=da(a>>0|0,1,0,0)|0|0;if(c<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(d<<24>>24==88|d<<24>>24==120)if(!((da(10368+(da(a+2>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&8))e=0;else{c=3;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&8))break c;else c=c+1|0}else{c=48;e=0}}else e=0;while(1){d=e+1|0;if(((c&255)+-48|0)>>>0>=10){d=e;break}c=da(a+d>>0|0,1,0,0)|0|0;e=d}if(c<<24>>24==46){c=d;do{c=c+1|0;d=a+c|0}while(((da(d>>0|0,1,0,1)|0|0)+-48|0)>>>0<10);ea(b|0,133|0,4,0);e=da(d>>0|0,1,0,0)|0|0;f=c}else{e=c;f=d}do if(e<<24>>24==69|e<<24>>24==101){d=da(a+(f+1)>>0|0,1,0,0)|0|0;if(((d&255)+-48|0)>>>0>=10){if(!(d<<24>>24==45|d<<24>>24==43)){d=e;c=f;break}c=f+2|0;if(((da(a+c>>0|0,1,0,1)|0|0)+-48|0)>>>0>=10){d=e;c=f;break}}else c=f+2|0;while(1){d=a+c|0;if(((da(d>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)c=c+1|0;else break}ea(b|0,133|0,4,0);d=da(d>>0|0,1,0,0)|0|0}else{d=e;c=f}while(0);if((da(10368+(d&255)>>0|0,1,0,0)|0)&70)do{ea(b|0,150|0,4,0);c=c+1|0}while(((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70)!=0)}else if((g|0)==98){if(!((da(10368+d>>0|0,1,0,0)|0)&70)){ea(b|0,150|0,4,0);c=1;break}else c=1;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70))break;else c=c+1|0;ea(b|0,ei(a,c)|0|0,4,0)}while(0);return c|0}function Cn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=da(a>>0|0,1,0,0)|0|0;if(d<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(d<<24>>24==88|d<<24>>24==120?(e=a+2|0,c=da(e>>0|0,1,0,0)|0|0,((da(10368+(c&255)>>0|0,1,0,0)|0)&8)!=0):0){while(1){d=e+1|0;if(c<<24>>24!=48)break;e=d;c=da(d>>0|0,1,0,0)|0|0}if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){c=0;d=0}else{f=c;a=0;d=0;do{c=f<<24>>24;d=(0-(c>>>6&1)&9)+c&15|d<<4;a=a+1|0;f=da(e+a>>0|0,1,0,0)|0|0;c=((da(10368+(f&255)>>0|0,1,0,0)|0)&8)==0}while((a|0)<8&(c^1));c=c^1}if((d|0)<0|c)c=0;else{ea(b|0,d|0,4,0);c=1}}else{g=0;h=13}}else if(d<<24>>24==43){a=a+1|0;g=0;h=13}else if(d<<24>>24==45){a=a+1|0;g=1;h=13}else{g=0;h=13}a:do if((h|0)==13){c=0;d=0;f=0;while(1){e=(da(a+f>>0|0,1,0,0)|0|0)+-48|0;if(e>>>0>=10)break;d=rw(c|0,d|0,10,0)|0;c=iw(e|0,((e|0)<0)<<31>>31|0,d|0,C|0)|0;f=f+1|0;if((f|0)>=11){c=0;break a}else d=C}e=cw(c|0,d|0,g|0,0)|0;a=C;if((a|0)>0|(a|0)==0&e>>>0>2147483647)c=0;else{if(g)c=cw(0,0,c|0,d|0)|0;ea(b|0,c|0,4,0);c=1}}while(0);return c|0}function Dn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;ea(f|0,d|0,4,0);rg(a,b,c,f);i=e;return}function En(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+16|0;if((i|0)>=(j|0))ba();y=A;w=A+4|0;ea(w|0,0|0,4,0);z=lh(a,536,0)|0;a:do if(z){ew(z|0,0,536)|0;ea(z+476|0,e|0,4,0);n=a+20|0;e=da(n|0,4,0,0)|0|0;b:do if((e|0)>0){o=a+16|0;l=0;while(1){m=da((da(o|0,4,0,0)|0|0)+(l<<4)+4|0,4,0,0)|0|0;if(m){ea((da(m+4|0,4,0,0)|0|0)+4|0,da(m|0,4,0,0)|0|0,4,0);h=al(m,1,1)|0;if(h)break;e=da(n|0,4,0,0)|0|0}l=l+1|0;if((l|0)>=(e|0))break b}ea(y|0,da((da(o|0,4,0,0)|0|0)+(l<<4)|0,4,0,0)|0|0,4,0);tg(a,h,40984,y);l=z;break a}while(0);ql(a);ea(z|0,a|0,4,0);ea(z+424|0,0|0,4,0);do if((c|0)>-1){if((c|0)!=0?(da(b+(c+-1)>>0|0,1,0,0)|0|0)==0:0){x=21;break}if((da(a+92|0,4,0,0)|0|0)<(c|0)){tg(a,18,41016,y);if(!a){l=z;h=18;break a}if(!(da(a+65>>0|0,1,0,0)|0)){l=z;h=(da(a+56|0,4,0,0)|0)&18;break a}else{Pl(a);l=z;h=7;break a}}else{if((b|0)!=0?(k=iw(c|0,((c|0)<0)<<31>>31|0,1,0)|0,k=lh(a,k,C)|0,(k|0)!=0):0){jw(k|0,b|0,c|0)|0;ea(k+c>>0|0,0|0,1,0);Kh(z,k,w)|0;lg(a,k);h=z+480|0;ea(h|0,b+((da(h|0,4,0,0)|0|0)-k)|0,4,0);break}ea(z+480|0,b+c|0,4,0);break}}else x=21;while(0);if((x|0)==21)Kh(z,b,w)|0;o=a+65|0;e=z+12|0;if(!(da(o>>0|0,1,0,0)|0)){l=z+12|0;if((da(e|0,4,0,0)|0|0)==101)ea(l|0,0|0,4,0)}else{ea(e|0,7|0,4,0);l=z+12|0}c:do if((da(z+17>>0|0,1,0,0)|0|0)!=0?(p=da(z|0,4,0,0)|0|0,q=p+20|0,(da(q|0,4,0,0)|0|0)>0):0){k=p+16|0;n=0;while(1){e=da(k|0,4,0,0)|0|0;h=da(e+(n<<4)+4|0,4,0,0)|0|0;if(h){if(!(da(h+8>>0|0,1,0,0)|0)){e=xg(h,0)|0;if((e|0)==7|(e|0)==3082)break;else if(e)break c;e=da(k|0,4,0,0)|0|0;m=1}else m=0;c=da(h+4|0,4,0,0)|0|0;ea(c+4|0,da(h|0,4,0,0)|0|0,4,0);c=da((da(c+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if(((da(c+41>>0|0,1,0,1)|0)<<16|(da(c+40>>0|0,1,0,1)|0)<<24|(da(c+42>>0|0,1,0,1)|0)<<8|(da(c+43>>0|0,1,0,1)|0)|0)!=(da(da(e+(n<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)){um(p,n);ea(l|0,17|0,4,0)}if(m)tn(h)|0}n=n+1|0;if((n|0)>=(da(q|0,4,0,0)|0|0))break c}ea(p+65>>0|0,1|0,1,0)}while(0);if(da(o>>0|0,1,0,0)|0)ea(l|0,7|0,4,0);if(g)ea(g|0,da(z+480|0,4,0,0)|0|0,4,0);h=da(l|0,4,0,0)|0|0;m=(h|0)==0;do if(m?(s=z+8|0,r=da(s|0,4,0,0)|0|0,(r|0)!=0):0){l=da(z+450>>0|0,1,0,0)|0|0;if(l<<24>>24==2){hq(r,4);k=8;e=12}else if(!(l<<24>>24))break;else{hq(r,8);k=0;e=8}l=k;do{iq(da(s|0,4,0,0)|0|0,l-k|0,0,da(41040+(l<<2)|0,4,0,0)|0|0,0);l=l+1|0}while((l|0)<(e|0))}while(0);k=z+8|0;if((da(a+145>>0|0,1,0,0)|0|0)==0?(v=da(k|0,4,0,0)|0|0,t=(da(z+480|0,4,0,0)|0|0)-b|0,(v|0)!=0):0){if((b|0)!=0?(s=da(v|0,4,0,0)|0|0,u=iw(t|0,((t|0)<0)<<31>>31|0,1,0)|0,u=lh(s,u,C)|0,(u|0)!=0):0){jw(u|0,b|0,t|0)|0;ea(u+t>>0|0,0|0,1,0);l=u}else l=0;ea(v+168|0,l|0,4,0);v=v+88|0;ea(v|0,(da(v|0,2,0,0)|0)&-257|(d&65535)<<8&256|0,2,0)}l=da(k|0,4,0,0)|0|0;do if(!l)x=60;else{if(m?(da(o>>0|0,1,0,0)|0|0)==0:0){x=60;break}Mg(l)|0}while(0);if((x|0)==60)ea(f|0,l|0,4,0);k=da(w|0,4,0,0)|0|0;do if(!k){ea(a+52|0,h|0,4,0);k=da(a+236|0,4,0,0)|0|0;if(k){l=k+8|0;if(!((da(l|0,2,0,0)|0)&9312)){ea(l|0,1|0,2,0);break}else{ug(k);break}}}else{ea(y|0,k|0,4,0);tg(a,h,10344,y);lg(a,k)}while(0);k=z+528|0;l=da(k|0,4,0,0)|0|0;if(!l)l=z;else{do{ea(k|0,da(l+4|0,4,0,0)|0|0,4,0);lg(a,l);l=da(k|0,4,0,0)|0|0}while((l|0)!=0);l=z}}else{l=0;h=7}while(0);Bh(l);lg(a,z);y=Ng(a,h)|0;i=A;return y|0}function Fn(a){a=a|0;var b=0,c=0;c=da(a|0,4,0,0)|0|0;if((da(c+145>>0|0,1,0,0)|0|0)==0?(b=Yh(c,a+4|0)|0,(b|0)!=0):0){ea(a+12|0,b|0,4,0);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}else b=0;return b|0}function Gn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=da(a+24|0,4,0,0)|0|0;f=d+84|0;b=da(f|0,4,0,0)|0|0;if(!b){b=1020;c=0}else{b=b*40|0;c=0}e=a+4|0;a=qo(da(d|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,b,c)|0;c=(a|0)!=0;if(c){b=da(d|0,4,0,0)|0|0;do if(!b)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;else{if((da(b+276|0,4,0,0)|0|0)>>>0<=a>>>0?(da(b+280|0,4,0,0)|0|0)>>>0>a>>>0:0){b=da(b+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0}while(0);ea(f|0,(b>>>0)/20|0|0,4,0);ea(e|0,a|0,4,0)}return (c?0:7)|0}function Hn(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(c)switch(b|0){case -5:{if(!((da(c+2|0,2,0,0)|0)&16))break a;lg(a,c);break a}case -8:{if(!(da(a+520|0,4,0,0)|0)){Lh(c);break a}if(da(c+24|0,4,0,0)|0)lg(a,da(c+20|0,4,0,0)|0|0);lg(a,c);break a}case -15:case -1:case -13:case -12:{lg(a,c);break a}case -11:{if(da(a+520|0,4,0,0)|0)break a;Vc(c);break a}case -10:{if(da(a+520|0,4,0,0)|0)break a;zn(c);break a}case -6:{if(da(a+520|0,4,0,0)|0)break a;a=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,a|0,4,0);if(a)break a;Vc(c);break a}default:break a}while(0);return}function In(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=da(b|0,4,0,0)|0|0;l=da(a+24|0,4,0,0)|0|0;m=l+112|0;g=da(m|0,4,0,0)|0|0;j=a+88|0;ea(j|0,(da(j|0,2,0,0)|0)&-193|64|0,2,0);d=da(a+32|0,4,0,0)|0|0;a:do if((d|0)>0){f=da(a+4|0,4,0,0)|0|0;while(1){d=d+-1|0;e=da(f>>0|0,1,0,1)|0|0;switch(e|0){case 12:case 13:case 11:{ea(j|0,(da(j|0,2,0,0)|0)&-193|128|0,2,0);break}case 15:{n=da(f+8|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 4:{if(!(da(f+8|0,4,0,0)|0))k=7;else{ea(j|0,(da(j|0,2,0,0)|0)&-65|0,2,0);k=7}break}case 6:case 8:{ea(f+16|0,77|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}case 14:{n=da(f+-16|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 10:case 1:{n=da(f+3>>0|0,1,0,1)|0|0;c=(n|0)>(c|0)?n:c;break}case 2:case 3:{k=7;break}case 5:case 7:case 9:{ea(f+16|0,76|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}default:{}}if((k|0)==7){k=0;ea(j|0,da(j|0,2,0,0)|0|128|0,2,0)}e=da(34168+e>>0|0,1,0,0)|0|0;ea(f+2>>0|0,e|0,1,0);if((e&1)!=0?(h=f+8|0,i=da(h|0,4,0,0)|0|0,(i|0)<0):0)ea(h|0,da(g+(~i<<2)|0,4,0,0)|0|0,4,0);if((d|0)<=0)break a;else f=f+20|0}}while(0);lg(da(a|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);ea(l+108|0,0|0,4,0);ea(b|0,c|0,4,0);return}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)!=4){ea(c>>0|0,0|0,1,0);d=a+56|0;b=a+48|0;b=Fp(a,da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,e)|0;if(!b){Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=a+68|0;b=da(d|0,4,0,0)|0|(da(e|0,4,0,0)|0);ea(d|0,b|0,4,0);if((b|0)!=0?(da(c>>0|0,1,0,0)|0|0)==1:0){ea(c>>0|0,2|0,1,0);b=0}else b=0}}else b=da(a+68|0,4,0,0)|0|0;i=f;return b|0}function Kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a+8|0,4,0,0)|0|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((da(a+60|0,4,0,0)|0|0)==(b|0))break}a=da(a+8|0,4,0,0)|0|0;if(!a){a=0;break a}}a=El(a,b,c)|0}while(0);return a|0}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=c+1|0;ea(a|0,d|0,4,0);e=da(c>>0|0,1,0,0)|0|0;b=e&255;if((e&255)<=191)return b|0;b=da(15360+(b+-192)>>0|0,1,0,1)|0|0;if(((da(d>>0|0,1,0,0)|0)&-64)<<24>>24==-128)while(1){c=c+2|0;ea(a|0,c|0,4,0);b=(da(d>>0|0,1,0,1)|0|0)&63|b<<6;if(((da(c>>0|0,1,0,0)|0)&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=da(a>>0|0,1,0,0)|0|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=da(a>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=da(e>>0|0,1,0,0)|0|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();p=t+32|0;q=t+16|0;r=t;e=da(a|0,4,0,0)|0|0;if((e|0)<0){ea(a|0,0|0,4,0);ea(a+4|0,-1|0,4,0);ea(a+12|0,0|0,2,0);ea(a+14>>0|0,0|0,1,0);e=0}l=c;m=da(l+4|0,4,0,0)|0|0;k=r;ea(k|0,da(l|0,4,0,0)|0|0,4,0);ea(k+4|0,m|0,4,0);m=a+8|0;ea(m|0,d|0,4,0);k=b&255;l=(b|0)==254;do{h=da(a+(e<<4)+12|0,2,0,0)|0|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)s=6;else{h=k;while(1){g=da(c|0,2,0,0)|0|0;f=g<<16>>16;if(g<<16>>16==-86){s=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(da(39336+e>>0|0,1,0,0)|0|0)==h<<24>>24:0){s=16;break}if(!(h<<24>>24))break;if((h&255)>=70){n=f;s=12;break}h=da(40840+g>>0|0,1,0,0)|0|0;if(!(h<<24>>24)){n=f;s=12;break}}if((s|0)==16){s=0;e=da(22184+(e<<1)|0,2,0,1)|0|0;break}if(((s|0)==12?(s=0,o=n+70|0,(o|0)>-1):0)?(da(39336+o>>0|0,1,0,0)|0|0)==70:0){e=da(22184+(o<<1)|0,2,0,1)|0|0;break}e=da(38048+(d<<1)|0,2,0,1)|0|0}while(0);if((s|0)==6){s=0;e=da(38048+(d<<1)|0,2,0,1)|0|0}if(e>>>0<642){s=18;break}if(e>>>0>=969){s=20;break}lq(a,e+-642|0);if(l)break;e=da(a|0,4,0,0)|0|0}while((e|0)>-1);if((s|0)==18){jq(a,e,b,r);n=a+4|0;ea(n|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}else if((s|0)==20){ea(q+0|0,da(r+0|0,4,0,0)|0|0,4,0);ea(q+4|0,da(r+4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(r+8|0,4,0,0)|0|0,4,0);n=da(m|0,4,0,0)|0|0;ea(p|0,q|0,4,0);sh(n,20432,p);ea(m|0,n|0,4,0);kq(a,k,r)}i=t;return}function On(a){a=a|0;var b=0;b=da(a|0,4,0,0)|0|0;if((b|0)>=0){kq(a,da(a+(b<<4)+14>>0|0,1,0,0)|0|0,a+(b<<4)+16|0);ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0)}return}function Pn(a,b){a=a|0;b=b|0;var c=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;do{Mk(a,da(b+(c<<4)+12|0,4,0,0)|0|0);Lk(a,da(b+(c<<4)+16|0,4,0,0)|0|0,1);lg(a,da(b+(c<<4)+8|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(b|0,4,0,0)|0|0))}lg(a,b)}return}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=da(g|0,4,0,0)|0|0;if(c){h=a+304|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{d=da(c+(e<<2)|0,4,0,0)|0|0;c=da(d+8|0,4,0,0)|0|0;if((c|0)!=0?(f=da((da(c|0,4,0,0)|0|0)+b|0,4,0,0)|0|0,(f|0)!=0):0)kc[(fa(f|0,127|0)|0)&127](c)|0;ea(d+20|0,0|0,4,0);zn(d);e=e+1|0;c=da(g|0,4,0,0)|0|0}while((e|0)<(da(h|0,4,0,0)|0|0))}lg(a,c);ea(h|0,0|0,4,0);ea(g|0,0|0,4,0)}return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(da(a+12|0,4,0,0)|0))b=(da(a+16|0,4,0,0)|0|0)==0?0:6;else b=6;else{e=da(a|0,2,0,0)|0|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=da(a+2|0,2,0,1)|0|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0}
function St(a,b){a=a|0;b=b|0;var c=0;if(b&1)if(!(da(a+12|0,4,0,0)|0))b=(da(a+20|0,4,0,0)|0|0)==0?12:28;else b=28;else b=48;if(((da(a+4|0,4,0,0)|0)&1024|0)==0?(c=da(a+8|0,4,0,0)|0|0,(c|0)!=0):0){a=c;while(1)if(!(da(a>>0|0,1,0,0)|0))break;else a=a+1|0;b=(b|1)+(a-c&1073741823)|0}return b+7&-8|0}function Tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=da(a|0,4,0,0)|0|0;g=d+20|0;c=da(g|0,4,0,0)|0|0;if((c|0)>0){f=0;e=da(d+16|0,4,0,0)|0|0;while(1){d=da((da(e+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(d){c=d;do{Ut(a,da(c+8|0,4,0,0)|0|0,b);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);c=da(g|0,4,0,0)|0|0}f=f+1|0;if((f|0)>=(c|0))break;else e=e+16|0}}return}function Ut(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=da(b+8|0,4,0,0)|0|0;if(d){k=(c|0)==0;i=b+68|0;j=a+408|0;do{a:do if(!k){g=d+32|0;b=da(d+48|0,2,0,0)|0|0;if(b<<16>>16){f=da(d+4|0,4,0,0)|0|0;b=b&65535;e=0;do{if((da(f+(e<<1)|0,2,0,0)|0|0)>-1?(cd(da((da(g|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0,c)|0)==0:0){l=9;break a}e=e+1|0}while((e|0)<(b|0))}}else l=9;while(0);if((l|0)==9){l=0;b=da(a|0,4,0,0)|0|0;e=da(i|0,4,0,0)|0|0;b:do if(e){h=da(b+20|0,4,0,0)|0|0;if((h|0)>0){f=da(b+16|0,4,0,0)|0|0;g=0;while(1){b=g+1|0;if((da(f+(g<<4)+12|0,4,0,0)|0|0)==(e|0)){b=g;break b}if((b|0)<(h|0))g=b;else break}}else b=0}else b=-1e6;while(0);h=da(j|0,4,0,0)|0|0;zr(a,b);h=((h|0)==0?a:h)+328|0;ea(h|0,da(h|0,4,0,0)|0|1<<b|0,4,0);us(a,d,-1)}d=da(d+20|0,4,0,0)|0|0}while((d|0)!=0)}return}function Vt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0;f=da(a+408|0,4,0,0)|0|0;zr(a,b);f=((f|0)==0?a:f)+328|0;ea(f|0,da(f|0,4,0,0)|0|1<<b|0,4,0);f=a+68|0;d=da(f|0,4,0,0)|0|0;ea(f|0,d+3|0,4,0);gv(a,b,d,0,0);e=(da(a+72|0,4,0,0)|0|0)+1|0;f=da(f|0,4,0,0)|0|0;c=da(c+16|0,4,0,0)|0|0;if(c)do{hv(a,da(c+8|0,4,0,0)|0|0,0,d,e,f);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);iv(a,b);return}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=da(a|0,4,0,0)|0|0;g=da(b+68|0,4,0,0)|0|0;a:do if(g){h=da(d+20|0,4,0,0)|0|0;if((h|0)>0){e=da(d+16|0,4,0,0)|0|0;d=0;while(1){f=d+1|0;if((da(e+(d<<4)+12|0,4,0,0)|0|0)==(g|0)){f=d;break a}if((f|0)<(h|0))d=f;else break}}else f=0}else f=-1e6;while(0);d=da(a+408|0,4,0,0)|0|0;zr(a,f);d=((d|0)==0?a:d)+328|0;ea(d|0,da(d|0,4,0,0)|0|1<<f|0,4,0);d=a+68|0;e=da(d|0,4,0,0)|0|0;ea(d|0,e+3|0,4,0);if(!c)gv(a,f,e,da(b|0,4,0,0)|0|0,28544);else gv(a,f,e,da(c|0,4,0,0)|0|0,28536);hv(a,b,c,e,(da(a+72|0,4,0,0)|0|0)+1|0,da(d|0,4,0,0)|0|0);iv(a,f);return}function Xt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=((c|0)/2|0)+1|0;e=lh(a,e,((e|0)<0)<<31>>31)|0;a=c+-1|0;if(e){if((a|0)>0){d=0;do{f=da(b+d>>0|0,1,0,0)|0|0;g=da(b+(d|1)>>0|0,1,0,0)|0|0;ea(e+((d|0)/2|0)>>0|0,(0-(g>>>6&1)&9)+g&15|(0-(f>>>6&1)&9)+f<<4|0,1,0);d=d+2|0}while((d|0)<(a|0));a=(c&-2|0)/2|0}else a=0;ea(e+a>>0|0,0|0,1,0)}return e|0}function Yt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k+8|0;h=k;g=da(a+8|0,4,0,0)|0|0;e=b+8|0;do if(!((da(b+4|0,4,0,0)|0)&1024)){e=da(e|0,4,0,0)|0|0;b=ii(e,h)|0;if((b|0)!=0?!((b|0)==2&(c|0)!=0):0)if(!(Ec(e,29144,2)|0)){ea(f|0,e|0,4,0);sh(a,29152,f);break}else{Zt(g,e,c,d);break}if(c){if((b|0)==2){b=0;e=-2147483648}else{b=h;b=cw(0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;e=C}c=h;ea(c|0,b|0,4,0);ea(c+4|0,e|0,4,0)}b=lh(da(g|0,4,0,0)|0|0,8,0)|0;if(b){e=h;a=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;c=b;f=c;ea(f>>0|0,a|0,1,0);ea(f+1>>0|0,a>>8|0,1,0);ea(f+2>>0|0,a>>16|0,1,0);ea(f+3>>0|0,a>>24|0,1,0);c=c+4|0;ea(c>>0|0,e|0,1,0);ea(c+1>>0|0,e>>8|0,1,0);ea(c+2>>0|0,e>>16|0,1,0);ea(c+3>>0|0,e>>24|0,1,0)}wh(g,vh(g,26,0,d,0)|0,b,-13)}else{b=da(e|0,4,0,0)|0|0;vh(g,25,(c|0)==0?b:0-b|0,d,0)|0}while(0);i=k;return}function Zt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(b){e=b;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;Sl(b,f,e-b&1073741823,1)|0;if(c)ea(f|0,+-+(+da(f|0,8,1,0)),8,1);e=lh(da(a|0,4,0,0)|0|0,8,0)|0;if(e){c=f;f=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;b=e;h=b;ea(h>>0|0,f|0,1,0);ea(h+1>>0|0,f>>8|0,1,0);ea(h+2>>0|0,f>>16|0,1,0);ea(h+3>>0|0,f>>24|0,1,0);b=b+4|0;ea(b>>0|0,c|0,1,0);ea(b+1>>0|0,c>>8|0,1,0);ea(b+2>>0|0,c>>16|0,1,0);ea(b+3>>0|0,c>>24|0,1,0)}wh(a,vh(a,133,0,d,0)|0,e,-12)}i=g;return}function _t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+32|0;if((i|0)>=(j|0))ba();e=k;a:do if(!b)g=0;else while(1){d=da(b+4|0,4,0,0)|0|0;if(!(d&4096)){g=b;break a}if(!(d&262144))b=b+12|0;else b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0;if(!b){g=0;break}}while(0);b:do if(((da(a+23>>0|0,1,0,0)|0|0)!=0?(da(g>>0|0,1,0,0)|0|0)!=-97:0)?(ea(e+0|0,0|0,4,0),ea(e+4|0,0|0,4,0),ea(e+8|0,0|0,4,0),ea(e+12|0,0|0,4,0),ea(e+16|0,0|0,4,0),ea(e+20|0,0|0,4,0),d=e+20|0,ea(d>>0|0,2|0,1,0),ea(e|0,78|0,4,0),ea(e+4|0,79|0,4,0),ea(e+24|0,0|0,4,0),qs(e,g)|0,(da(d>>0|0,1,0,0)|0|0)!=0):0){d=da(a+316|0,4,0,0)|0|0;ea(c|0,0|0,4,0);c:do if((d|0)!=0?(f=da(d|0,4,0,0)|0|0,(f|0)>0):0){b=f;d=da(d+4|0,4,0,0)|0|0;while(1){if(((da(d+13>>0|0,1,0,0)|0)&4)!=0?(Bu(da(d|0,4,0,0)|0|0,g,-1)|0)==0:0)break;b=b+-1|0;if((b|0)<=0)break c;else d=d+20|0}d=da(d+16|0,4,0,0)|0|0;break b}while(0);b=a+72|0;d=(da(b|0,4,0,0)|0|0)+1|0;ea(b|0,d|0,4,0);Ft(a,g,d,1)}else h=18;while(0);do if((h|0)==18){b=a+19|0;d=da(b>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){b=a+72|0;d=(da(b|0,4,0,0)|0|0)+1|0;ea(b|0,d|0,4,0)}else{d=d+-1<<24>>24;ea(b>>0|0,d|0,1,0);d=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}b=hs(a,g,d)|0;if((b|0)==(d|0)){ea(c|0,d|0,4,0);break}else{Zr(a,d);ea(c|0,0|0,4,0);d=b;break}}while(0);i=k;return d|0}function $t(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=Nu(a,b,c)|0;i=Au(b,jv(c)|0)|0;c=a+8|0;b=da(c|0,4,0,0)|0|0;wh(b,vh(b,d,f,g,e)|0,j,-4);c=da(c|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;if(b)ea(b+(((da(c+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,i&255|h|0,1,0);return}function au(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+100|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);e=a+19|0;h=0;i=a+116|0;while(1){f=i+12|0;g=da(f|0,4,0,0)|0|0;if((g|0)!=0?(da(i+8|0,4,0,0)|0|0)>(da(b|0,4,0,0)|0|0):0){c=i+6|0;if(da(c>>0|0,1,0,0)|0){d=da(e>>0|0,1,0,0)|0|0;if((d&255)<8){ea(e>>0|0,d+1<<24>>24|0,1,0);ea(a+((d&255)<<2)+24|0,g|0,4,0)}ea(c>>0|0,0|0,1,0)}ea(f|0,0|0,4,0)}h=h+1|0;if((h|0)==10)break;else i=i+20|0}return}function bu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=da(a|0,4,0,0)|0|0;a:do if(b){b:while(1){d=da(b+4|0,4,0,0)|0|0;if(d&512){b=0;h=21;break a}switch(da(b>>0|0,1,0,0)|0|0){case 62:case -102:case -100:{h=8;break}case -97:{if((da(b+38>>0|0,1,0,0)|0|0)==95){h=7;break b}else h=8;break}case 95:{h=7;break b}case 38:case -98:{b=da(b+12|0,4,0,0)|0|0;break}default:h=11}if((h|0)==8){c=da(b+44|0,4,0,0)|0|0;if(!c)h=11;else{h=9;break}}c:do if((h|0)==11){h=0;if(!(d&256)){b=0;h=21;break a}c=da(b+12|0,4,0,0)|0|0;if((c|0)!=0?((da(c+4|0,4,0,0)|0)&256|0)!=0:0){b=c;continue b}e=da(b+16|0,4,0,0)|0|0;c=da(b+20|0,4,0,0)|0|0;if((c|0)!=0&(d&2048|0)==0?(f=da(c|0,4,0,0)|0|0,(f|0)>0):0){c=da(c+4|0,4,0,0)|0|0;d=0;while(1){b=da(c+(d*20|0)|0,4,0,0)|0|0;d=d+1|0;if((da(b+4|0,4,0,0)|0)&256)break c;if((d|0)>=(f|0)){b=e;break}}}else b=e}while(0);if(!b){b=0;h=21;break a}}if((h|0)==7)b=vs(a,da(g+62>>0|0,1,0,0)|0|0,0,da(b+8|0,4,0,0)|0|0)|0;else if((h|0)==9){b=da(b+32|0,2,0,0)|0|0;if(b<<16>>16<=-1){b=0;h=21;break}b=Xn(g,da(g+62>>0|0,1,0,0)|0|0,da((da(c+4|0,4,0,0)|0|0)+((b<<16>>16)*24|0)+16|0,4,0,0)|0|0,0)|0}if(b)if(!(vs(a,da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,0)|0|0,b,da(b|0,4,0,0)|0|0)|0))b=0;else h=21;else{b=0;h=21}}else{b=0;h=21}while(0);return b|0}function cu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n+4|0;l=n;ea(m|0,0|0,4,0);ea(l|0,0|0,4,0);if((((d|0)!=0?(da(d>>0|0,1,0,0)|0|0)==-102:0)?(g=da(d+44|0,4,0,0)|0|0,(g|0)!=0):0)?((da(g+44>>0|0,1,0,0)|0)&16)!=0:0){d=g+60|0;while(1){d=da(d|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(a|0))break;else d=d+24|0}f=da(d+8|0,4,0,0)|0|0;e=(da(f|0,4,0,0)|0|0)+72|0;if((da(e|0,4,0,0)|0|0)!=0?(k=b+24|0,h=jh(a,da(k|0,4,0,0)|0|0)|0,(h|0)!=0):0){g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24){d=h;do{ea(d>>0|0,da(9328+(g&255)>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;g=da(d>>0|0,1,0,0)|0|0}while(g<<24>>24!=0)}c=sc[(fa(da(e|0,4,0,0)|0|0,31|0)|0)&31](f,c,h,m,l)|0;lg(a,h);if(c){d=da(k|0,4,0,0)|0|0;if(!d){d=37;f=0}else{f=d;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;d=(f-d&1073741823)+37|0;f=0}e=lh(a,d,f)|0;if(e){ew(e|0,0,d|0)|0;g=e+0|0;f=b+0|0;d=g+36|0;do{ea(g|0,da(f|0,4,0,0)|0|0,4,0);g=g+4|0;f=f+4|0}while((g|0)<(d|0));g=e+36|0;ea(e+24|0,g|0,4,0);d=da(k|0,4,0,0)|0|0;if(!d)f=1;else{f=d;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-d&1073741823)+1|0}jw(g|0,d|0,f|0)|0;ea(e+12|0,da(m|0,4,0,0)|0|0,4,0);ea(e+4|0,da(l|0,4,0,0)|0|0,4,0);l=e+2|0;ea(l|0,da(l|0,2,0,1)|0|16|0,2,0)}else e=b}else e=b}else e=b}else e=b;i=n;return e|0}function du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+80|0;if((i|0)>=(j|0))ba();w=y;u=y+72|0;m=y+52|0;v=y+48|0;l=y+28|0;x=Nq(a)|0;a:do if(!x)e=0;else{e=a+100|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);e=b+4|0;if(!((da(e|0,4,0,0)|0)&32)){t=Nq(a)|0;s=a+80|0;f=da(s|0,4,0,0)|0|0;ea(s|0,f+1|0,4,0);f=vh(t,44,f,0,0)|0}else f=-1;if((da(a+450>>0|0,1,0,0)|0|0)==2){h=da(a|0,4,0,0)|0|0;s=(da(b>>0|0,1,0,0)|0|0)==75?29104:29112;t=da(a+468|0,4,0,0)|0|0;ea(w|0,((f|0)>-1?10360:29088)|0,4,0);ea(w+4|0,s|0,4,0);ea(w+8|0,t|0,4,0);h=th(h,29056,w)|0;wh(x,vh(x,157,da(a+464|0,4,0,0)|0|0,0,0)|0,h,-1);h=b}else h=b;k=da(h>>0|0,1,0,0)|0|0;b:do if(k<<24>>24==75){l=b+12|0;g=jv(da(l|0,4,0,0)|0|0)|0;ea(u>>0|0,g|0,1,0);r=a+68|0;s=da(r|0,4,0,0)|0|0;ea(r|0,s+1|0,4,0);r=b+28|0;ea(r|0,s|0,4,0);q=(d|0)!=0;s=vh(x,57,s,q&1^1,0)|0;if(q)t=0;else t=Qs(da(a|0,4,0,0)|0|0,1,1)|0;k=b+20|0;do if(!((da(e|0,4,0,0)|0)&2048)){p=da(k|0,4,0,0)|0|0;if(p){if(!(g<<24>>24))ea(u>>0|0,65|0,1,0);if(t)ea(t+20|0,bu(a,da(l|0,4,0,0)|0|0)|0|0,4,0);d=a+19|0;g=da(d>>0|0,1,0,0)|0|0;if(g<<24>>24){e=g+-1<<24>>24;ea(d>>0|0,e|0,1,0);h=da(a+((e&255)<<2)+24|0,4,0,0)|0|0;if(!(e<<24>>24))n=24;else{o=g+-2<<24>>24;ea(d>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}}else{n=a+72|0;h=(da(n|0,4,0,0)|0|0)+1|0;ea(n|0,h|0,4,0);n=24}if((n|0)==24){e=a+72|0;o=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,o|0,4,0)}if(q)vh(x,28,0,o,0)|0;k=da(p|0,4,0,0)|0|0;if((k|0)>0){g=w+20|0;e=w+4|0;n=w+24|0;m=x+32|0;d=da(p+4|0,4,0,0)|0|0;while(1){l=da(d|0,4,0,0)|0|0;do if((f|0)>-1){ea(w+0|0,0|0,4,0);ea(w+4|0,0|0,4,0);ea(w+8|0,0|0,4,0);ea(w+12|0,0|0,4,0);ea(w+16|0,0|0,4,0);ea(w+20|0,0|0,4,0);ea(g>>0|0,1|0,1,0);ea(w|0,78|0,4,0);ea(e|0,79|0,4,0);ea(n|0,0|0,4,0);qs(w,l)|0;if(da(g>>0|0,1,0,0)|0)break;yh(x,f);f=-1}while(0);do if(q)if(!(Ls(l,v)|0)){p=hs(a,l,h)|0;vh(x,38,p,(da(m|0,4,0,0)|0|0)+2|0,0)|0;vh(x,75,da(r|0,4,0,0)|0|0,o,p)|0;break}else{vh(x,84,da(r|0,4,0,0)|0|0,o,da(v|0,4,0,0)|0|0)|0;break}else{p=hs(a,l,h)|0;wh(x,vh(x,49,p,1,o)|0,u,1);ct(a,p,1);vh(x,110,da(r|0,4,0,0)|0|0,o,0)|0}while(0);k=k+-1|0;if((k|0)<=0)break;else d=d+20|0}}Zr(a,h);Zr(a,o)}if(!t){g=f;e=0;break b}}else{h=da(k|0,4,0,0)|0|0;w=da(r|0,4,0,0)|0|0;ea(m>>0|0,11|0,1,0);ea(m+4|0,w|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+1>>0|0,g|0,1,0);ea(h+8|0,0|0,4,0);if(!(hr(a,h,m)|0)){ea(t+20|0,Nu(a,da(l|0,4,0,0)|0|0,da(da((da(h|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0)|0|0,4,0);break}if(!t){e=0;break a}a=(da(t|0,4,0,0)|0|0)+-1|0;ea(t|0,a|0,4,0);if(a){e=0;break a}Vc(t);e=0;break a}while(0);wh(x,s,t,-6);g=f;e=0}else{g=da(b+20|0,4,0,0)|0|0;h=a+72|0;e=(da(h|0,4,0,0)|0|0)+1|0;ea(h|0,e|0,4,0);ea(l>>0|0,0|0,1,0);h=l+4|0;ea(h|0,e|0,4,0);ea(l+1>>0|0,0|0,1,0);d=l+8|0;ea(d|0,0|0,4,0);ea(l+12|0,0|0,4,0);if(k<<24>>24==119){ea(l>>0|0,10|0,1,0);ea(d|0,e|0,4,0);vh(x,28,0,e,0)|0}else{ea(l>>0|0,3|0,1,0);vh(x,25,0,e,0)|0}w=g+60|0;Fk(da(a|0,4,0,0)|0|0,da(w|0,4,0,0)|0|0);ea(w|0,Yq(a,132,0,0,20624)|0|0,4,0);ea(g+8|0,0|0,4,0);if(hr(a,g,l)|0){e=0;break a}g=f;e=da(h|0,4,0,0)|0|0}while(0);if(c)kv(x,da(b+28|0,4,0,0)|0|0,c);if((g|0)>-1){f=da(x+32|0,4,0,0)|0|0;if(f>>>0>g>>>0)ea((da(x+4|0,4,0,0)|0|0)+(g*20|0)+8|0,f|0,4,0);ea((da(x+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0)}au(a)}while(0);i=y;return e|0}function eu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();h=v+4|0;s=v+8|0;q=v;ea(h|0,0|0,4,0);u=da(a+8|0,4,0,0)|0|0;e=(c|0)==(d|0);g=lv(a,b,3,e?0:h)|0;ea(s>>0|0,mv(b)|0|0,1,0);k=a+100|0;ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);k=a+19|0;f=da(k>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){o=a+72|0;t=(da(o|0,4,0,0)|0|0)+1|0;ea(o|0,t|0,4,0)}else{t=f+-1<<24>>24;ea(k>>0|0,t|0,1,0);t=da(a+((t&255)<<2)+24|0,4,0,0)|0|0}f=b+12|0;Qq(a,da(f|0,4,0,0)|0|0,t);do if((g|0)==5){o=da(b+20|0,4,0,0)|0|0;m=bu(a,da(f|0,4,0,0)|0|0)|0;p=ws(u)|0;n=(d|0)!=(c|0);if(n){f=da(k>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){l=a+72|0;f=(da(l|0,4,0,0)|0|0)+1|0;ea(l|0,f|0,4,0)}else{f=f+-1<<24>>24;ea(k>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}vh(u,85,t,t,f)|0;l=f}else l=0;if((da(o|0,4,0,0)|0|0)>0){k=o+4|0;h=(l|0)==0;g=u+4|0;f=u+32|0;e=0;do{b=_t(a,da((da(k|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,q)|0;if(!h?(Tu(da((da(k|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0)|0)!=0:0)vh(u,85,l,b,l)|0;if((e|0)<((da(o|0,4,0,0)|0|0)+-1|0)|n){wh(u,vh(u,79,t,p,b)|0,m,-4);b=da(g|0,4,0,0)|0|0;if(b)ea(b+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(s>>0|0,1,0,0)|0|0|0,1,0)}else{wh(u,vh(u,78,t,c,b)|0,m,-4);b=da(g|0,4,0,0)|0|0;if(b)ea(b+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(s>>0|0,1,0,1)|0|0|16|0,1,0)}Zr(a,da(q|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(o|0,4,0,0)|0|0))}if(l){vh(u,76,l,d,0)|0;vh(u,16,0,c,0)|0}f=da(u+24|0,4,0,0)|0|0;e=~p;if((p|0)<0?(r=da(f+112|0,4,0,0)|0|0,(r|0)!=0):0)ea(r+(e<<2)|0,da(u+32|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(u+32|0,4,0,0)|0|0)+-1|0,4,0);Zr(a,l)}else{do if(Tu(da(f|0,4,0,0)|0|0)|0){if(e){vh(u,76,t,c,0)|0;break}f=vh(u,77,t,0,0)|0;vh(u,108,da(b+28|0,4,0,0)|0|0,c,0)|0;vh(u,16,0,d,0)|0;e=da(u+32|0,4,0,0)|0|0;if(e>>>0>f>>>0)ea((da(u+4|0,4,0,0)|0|0)+(f*20|0)+8|0,e|0,4,0);ea((da(u+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0)}while(0);if((g|0)==1){vh(u,38,t,c,0)|0;vh(u,70,da(b+28|0,4,0,0)|0|0,c,t)|0;break}wh(u,vh(u,48,t,1,0)|0,s,1);e=da(b+28|0,4,0,0)|0|0;if(!(da(h|0,4,0,0)|0)){wh(u,vh(u,68,e,c,t)|0,1,-14);break}f=vh(u,69,e,0,t)|0;wh(u,f,1,-14);vh(u,76,da(h|0,4,0,0)|0|0,d,0)|0;vh(u,16,0,c,0)|0;e=da(u+32|0,4,0,0)|0|0;if(e>>>0>f>>>0)ea((da(u+4|0,4,0,0)|0|0)+(f*20|0)+8|0,e|0,4,0);ea((da(u+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0)}while(0);Zr(a,t);au(a);i=v;return}function fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+48|0;if((i|0)>=(j|0))ba();v=w;t=w+28|0;c=da(a+24|0,4,0,0)|0|0;u=da(c|0,4,0,0)|0|0;r=b+4|0;f=da(r|0,4,0,0)|0|0;a:do if(!(f&4)){ea(r|0,f|4|0,4,0);switch(da(b>>0|0,1,0,1)|0|0){case 135:{d=c+28|0;c=da(d|0,2,0,0)|0|0;if(c&4){ea(v|0,27456|0,4,0);sh(u,27472,v);c=da(d|0,2,0,0)|0|0}if(c&16){ea(v|0,27456|0,4,0);sh(u,27512,v)}break}case 153:{q=b+20|0;n=da(q|0,4,0,0)|0|0;if(!n)e=0;else e=da(n|0,4,0,0)|0|0;f=da((da(u|0,4,0,0)|0|0)+62>>0|0,1,0,0)|0|0;s=c+28|0;if((da(s|0,2,0,0)|0)&16){ea(v|0,27200|0,4,0);sh(u,27512,v)}o=da(b+8|0,4,0,0)|0|0;if(!o)l=0;else{g=o;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;l=g-o&1073741823}d=Rh(da(u|0,4,0,0)|0|0,o,l,e,f,0)|0;do if(!d){if(Rh(da(u|0,4,0,0)|0|0,o,l,-2,f,0)|0){ea(v|0,l|0,4,0);ea(v+4|0,o|0,4,0);sh(u,27392,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);break}if(!(da((da(u|0,4,0,0)|0|0)+145>>0|0,1,0,0)|0)){ea(v|0,l|0,4,0);ea(v+4|0,o|0,4,0);sh(u,27368,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0)}}else{k=(da(d+12|0,4,0,0)|0|0)==0;p=d+2|0;do if((da(p|0,2,0,0)|0)&1024){ea(r|0,da(r|0,4,0,0)|0|266240|0,4,0);if((e|0)!=2){ea(b+28|0,((da((da(d+24|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==117?8388608:125829120)|0,4,0);break}g=da((da(n+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;ea(v|0,+(-1.0),8,1);if((da(g>>0|0,1,0,0)|0|0)==-123){f=da(g+8|0,4,0,0)|0|0;if(!f)g=0;else{g=f;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-f&1073741823}Sl(f,v,g,1)|0;h=+(+da(v|0,8,1,0));if(!(h>1.0)){g=~~(h*134217728.0);ea(b+28|0,g|0,4,0);if((g|0)>=0)break}else m=22}else m=22;if((m|0)==22)ea(b+28|0,-1|0,4,0);sh(u,27216,v);m=c+24|0;ea(m|0,(da(m|0,4,0,0)|0|0)+1|0,4,0)}while(0);g=d+24|0;f=Rq(u,31,0,da(g|0,4,0,0)|0|0,0)|0;if(!f){if((da(p|0,2,0,0)|0)&2048)ea(r|0,da(r|0,4,0,0)|0|524288|0,4,0);if(!k)break;g=da(s|0,2,0,0)|0|0;if(!(g&1)){ea(v|0,l|0,4,0);ea(v+4|0,o|0,4,0);sh(u,27328,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);break}ea(s|0,g&65534|0,2,0);ku(a,n)|0;ea(b>>0|0,-101|0,1,0);f=b+38|0;ea(f>>0|0,0|0,1,0);b:do if(c){e=v+24|0;d=t+4|0;g=t+8|0;while(1){o=da(c+4|0,4,0,0)|0|0;ea(v+0|0,0|0,4,0);ea(v+4|0,0|0,4,0);ea(v+8|0,0|0,4,0);ea(v+12|0,0|0,4,0);ea(v+16|0,0|0,4,0);ea(v+20|0,0|0,4,0);ea(v|0,87|0,4,0);ea(e|0,t|0,4,0);ea(t|0,o|0,4,0);ea(d|0,0|0,4,0);ea(g|0,0|0,4,0);ku(v,da(q|0,4,0,0)|0|0)|0;if((da(d|0,4,0,0)|0|0)>0)break;if(!(da(g|0,4,0,0)|0))break;ea(f>>0|0,(da(f>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);c=da(c+16|0,4,0,0)|0|0;if(!c)break b}o=c+28|0;ea(o|0,(da(p|0,2,0,1)|0)&4096|(da(o|0,2,0,1)|0)|2|0,2,0)}while(0);ea(s|0,da(s|0,2,0,1)|0|1|0,2,0);c=1;break a}else if((f|0)==1){ea(v|0,da(g|0,4,0,0)|0|0,4,0);sh(u,27288,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0)}ea(b>>0|0,101|0,1,0);c=1;break a}while(0);ku(a,n)|0;c=1;break a}case 27:{c=nv(u,0,0,da(b+8|0,4,0,0)|0|0,c,b)|0;break a}case 122:{d=da(b+16|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)==27){f=d;d=b;e=0}else{f=da(d+16|0,4,0,0)|0|0;e=da((da(b+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0}c=nv(u,e,da((da(d+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,da(f+8|0,4,0,0)|0|0,c,b)|0;break a}case 75:case 20:case 119:{if(f&2048){g=c+20|0;d=da(g|0,4,0,0)|0|0;e=c+28|0;f=da(e|0,2,0,0)|0|0;if(f&4){ea(v|0,27440|0,4,0);sh(u,27472,v);f=da(e|0,2,0,0)|0|0}if(f&16){ea(v|0,27440|0,4,0);sh(u,27512,v)}ju(a,da(b+20|0,4,0,0)|0|0)|0;if((d|0)!=(da(g|0,4,0,0)|0|0))ea(r|0,da(r|0,4,0,0)|0|32|0,4,0)}break}default:{}}if(!(da(u+64|0,4,0,0)|0))c=(da((da(u|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)!=0?2:0;else c=2}else c=1;while(0);i=w;return c|0}function gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+80|0;if((i|0)>=(j|0))ba();H=I;F=I+64|0;A=I+32|0;g=da(b+6|0,2,0,0)|0|0;d=g&65535;a:do if(!(d&2)){z=da(a+24|0,4,0,0)|0|0;G=da(a+12|0,4,0,0)|0|0;a=da(G|0,4,0,0)|0|0;if(!(d&16)){Cs(G,b,z);if(da(G+64|0,4,0,0)|0){c=2;break}c=(da(a+65>>0|0,1,0,0)|0|0)!=0?2:1;break}B=b+52|0;c=(da(B|0,4,0,0)|0|0)!=0;C=(b|0)==0;b:do if(!C){d=A+28|0;k=A+4|0;w=A+16|0;x=A+8|0;s=a+65|0;r=G+492|0;q=(z|0)==0;p=H+4|0;o=H+12|0;n=H+24|0;m=G+64|0;t=b;c:while(1){u=t+6|0;ea(u|0,g&65535|2|0,2,0);ea(A+0|0,0|0,4,0);ea(A+4|0,0|0,4,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(A+16|0,0|0,4,0);ea(A+20|0,0|0,4,0);ea(A+24|0,0|0,4,0);ea(A+28|0,0|0,4,0);ea(A|0,G|0,4,0);if(ks(A,da(t+60|0,4,0,0)|0|0)|0){c=2;break a}if(ks(A,da(t+64|0,4,0,0)|0|0)|0){c=2;break a}g=da(t+32|0,4,0,0)|0|0;if((da(u|0,2,0,0)|0)&8192){v=t+48|0;ea((da(g+28|0,4,0,0)|0|0)+48|0,da(v|0,4,0,0)|0|0,4,0);ea(v|0,0|0,4,0)}v=t+32|0;if((da(g|0,4,0,0)|0|0)>0){l=0;do{e=da(g+(l*72|0)+28|0,4,0,0)|0|0;if(e){a=da(r|0,4,0,0)|0|0;if(q)h=0;else{h=0;f=z;do{h=(da(f+20|0,4,0,0)|0|0)+h|0;f=da(f+16|0,4,0,0)|0|0}while((f|0)!=0)}f=da(g+(l*72|0)+16|0,4,0,0)|0|0;if(f)ea(r|0,f|0,4,0);ea(H+0|0,0|0,4,0);ea(H+4|0,0|0,4,0);ea(H+8|0,0|0,4,0);ea(H+12|0,0|0,4,0);ea(H+16|0,0|0,4,0);ea(H+20|0,0|0,4,0);ea(H|0,82|0,4,0);ea(p|0,83|0,4,0);ea(o|0,G|0,4,0);ea(n|0,z|0,4,0);ju(H,e)|0;ea(r|0,a|0,4,0);if(da(m|0,4,0,0)|0){c=2;break a}if(da(s>>0|0,1,0,0)|0){c=2;break a}if(!q){f=z;do{h=h-(da(f+20|0,4,0,0)|0|0)|0;f=da(f+16|0,4,0,0)|0|0}while((f|0)!=0)}g=g+(l*72|0)+45|0;ea(g>>0|0,(da(g>>0|0,1,0,0)|0)&-3|((h|0)!=0&1)<<1&255|0,1,0);g=da(v|0,4,0,0)|0|0}l=l+1|0}while((l|0)<(da(g|0,4,0,0)|0|0))}ea(d|0,1|0,2,0);ea(k|0,g|0,4,0);ea(w|0,z|0,4,0);h=da(t|0,4,0,0)|0|0;if((da(h|0,4,0,0)|0|0)>0){g=h+4|0;f=0;do{if(ks(A,da((da(g|0,4,0,0)|0|0)+(f*20|0)|0,4,0,0)|0|0)|0){c=2;break a}f=f+1|0}while((f|0)<(da(h|0,4,0,0)|0|0))}e=da(t+40|0,4,0,0)|0|0;g=(e|0)!=0;h=da(d|0,2,0,0)|0|0;if(!g?(y=h&65535,(y&2|0)==0):0)ea(d|0,y&65534|0,2,0);else ea(u|0,h&4096|(da(u|0,2,0,1)|0)|4|0,2,0);h=da(t+44|0,4,0,0)|0|0;if(!((h|0)==0|g)){D=32;break}ea(x|0,da(t|0,4,0,0)|0|0,4,0);if(ks(A,h)|0){c=2;break a}if(ks(A,da(t+36|0,4,0,0)|0|0)|0){c=2;break a}ea(w|0,0|0,4,0);ea(d|0,da(d|0,2,0,1)|0|1|0,2,0);if((da(u|0,2,0,0)|0)&8192){v=(da((da(v|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)+48|0;ea(t+48|0,da(v|0,4,0,0)|0|0,4,0);ea(v|0,0|0,4,0)}if(!c?(pv(A,t,da(t+48|0,4,0,0)|0|0,26880)|0)!=0:0){c=2;break a}if(da(s>>0|0,1,0,0)|0){c=2;break a}do if(g){if(pv(A,t,e,26888)|0){c=2;break a}if(da(s>>0|0,1,0,0)|0){c=2;break a}f=da(e|0,4,0,0)|0|0;if((f|0)<=0)break;h=0;g=da(e+4|0,4,0,0)|0|0;while(1){if((da((da(g|0,4,0,0)|0|0)+4|0,4,0,0)|0)&2){D=46;break c}h=h+1|0;if((h|0)>=(f|0))break;else g=g+20|0}}while(0);f=da(t+52|0,4,0,0)|0|0;if(!f)break b;t=f;g=da(f+6|0,2,0,0)|0|0}if((D|0)==32){sh(G,26832,H);c=2;break a}else if((D|0)==46){sh(G,26896,H);c=2;break a}}while(0);if(c?(E=da(b+48|0,4,0,0)|0|0,(E|0)!=0):0){y=da(G|0,4,0,0)|0|0;d=da(E|0,4,0,0)|0|0;if((d|0)>(da(y+96|0,4,0,0)|0|0)){sh(G,26960,H);c=2;break}if((d|0)>0){a=E+4|0;c=0;do{d=(da(a|0,4,0,0)|0|0)+(c*20|0)+13|0;ea(d>>0|0,(da(d>>0|0,1,0,0)|0)&-2|0,1,0);c=c+1|0;d=da(E|0,4,0,0)|0|0}while((c|0)<(d|0))}ea(b+56|0,0|0,4,0);c=da(B|0,4,0,0)|0|0;if(!c)if(C)a=E+4|0;else D=60;else while(1){ea(c+56|0,b|0,4,0);b=da(c+52|0,4,0,0)|0|0;if(!b){b=c;D=60;break}else{x=c;c=b;b=x}}d:do if((D|0)==60){a=E+4|0;q=y+65|0;r=H+4|0;s=H+8|0;t=H+28|0;u=H+24|0;v=H+4|0;p=b;e:while(1){o=da(p|0,4,0,0)|0|0;if((d|0)<=0)break d;m=p+32|0;c=0;l=0;n=da(a|0,4,0,0)|0|0;while(1){ea(F|0,-1|0,4,0);k=n+13|0;do if(!((da(k>>0|0,1,0,0)|0)&1)){d=da(n|0,4,0,0)|0|0;f:do if(!d)d=0;else while(1){b=da(d+4|0,4,0,0)|0|0;if(!(b&4096))break f;if(!(b&262144))d=d+12|0;else d=da((da(d+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;d=da(d|0,4,0,0)|0|0;if(!d){d=0;break}}while(0);if(!(Ls(d,F)|0)){b=qv(o,d)|0;ea(F|0,b|0,4,0);if(!b){h=Lr(y,d,0,0)|0;if(!(da(q>>0|0,1,0,0)|0)){e=da(p|0,4,0,0)|0|0;ea(H+0|0,0|0,4,0);ea(H+4|0,0|0,4,0);ea(H+8|0,0|0,4,0);ea(H+12|0,0|0,4,0);ea(H+16|0,0|0,4,0);ea(H+20|0,0|0,4,0);ea(H+24|0,0|0,4,0);ea(H+28|0,0|0,4,0);ea(H|0,G|0,4,0);ea(r|0,da(m|0,4,0,0)|0|0,4,0);ea(s|0,e|0,4,0);ea(t|0,1|0,2,0);ea(u|0,0|0,4,0);b=(da(G|0,4,0,0)|0|0)+68|0;w=da(b>>0|0,1,0,0)|0|0;ea(b>>0|0,1|0,1,0);x=ks(H,h)|0;ea(b>>0|0,w|0,1,0);g:do if(!x){g=e+4|0;f=da(e|0,4,0,0)|0|0;e=0;while(1){if((e|0)>=(f|0)){b=0;break g}b=e+1|0;if((Bu(da((da(g|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,h,-1)|0)<2)break;else e=b}}else b=0;while(0);ea(F|0,b|0,4,0)}else b=0;Fk(y,h)}if((b|0)<=0){b=1;break}}else{e=da(F|0,4,0,0)|0|0;b=da(o|0,4,0,0)|0|0;if((e|0)<1|(e|0)>(b|0))break e;else b=e}ea(H|0,0|0,4,0);ea(v|0,0|0,4,0);e=mr(y,132,H,0)|0;if(!e){c=2;break a}f=e+4|0;ea(f|0,da(f|0,4,0,0)|0|1024|0,4,0);ea(e+8|0,b|0,4,0);f=da(n|0,4,0,0)|0|0;if((f|0)==(d|0))ea(n|0,e|0,4,0);else ea(f+12|0,e|0,4,0);Fk(y,d);ea(n+16|0,b|0,2,0);ea(k>>0|0,da(k>>0|0,1,0,0)|0|1|0,1,0);b=l}else b=l;while(0);c=c+1|0;d=da(E|0,4,0,0)|0|0;if((c|0)>=(d|0))break;else{l=b;n=n+20|0}}p=da(p+56|0,4,0,0)|0|0;if(!((p|0)!=0&(b|0)!=0))break d}ea(H|0,c+1|0,4,0);ea(H+4|0,26880|0,4,0);ea(H+8|0,b|0,4,0);sh(G,27064,H);c=2;break a}while(0);b=0;while(1){if((b|0)>=(d|0)){c=1;break a}c=b+1|0;if(!((da((da(a|0,4,0,0)|0|0)+(b*20|0)+13>>0|0,1,0,0)|0)&1))break;else b=c}ea(H|0,c|0,4,0);sh(G,27e3,H);c=2}else c=1}else c=1;while(0);i=I;return c|0}function hu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;t=da(a|0,4,0,0)|0|0;a:do if(b){o=da(b|0,4,0,0)|0|0;a=o*24|0;e=lh(t,a,0)|0;if(e)ew(e|0,0,a|0)|0;ea(c|0,o|0,2,0);ea(d|0,e|0,4,0);if((o|0)>0){m=b+4|0;p=t+65|0;a=0;n=e;while(1){k=da(m|0,4,0,0)|0|0;b=da(k+(a*20|0)|0,4,0,0)|0|0;b:do if(!b)b=0;else while(1){f=da(b+4|0,4,0,0)|0|0;if(!(f&4096))break b;if(!(f&262144))b=b+12|0;else b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);f=da(k+(a*20|0)+4|0,4,0,0)|0|0;do if(!f){while(1){f=da(b>>0|0,1,0,0)|0|0;if(f<<24>>24==27){u=24;break}else if(f<<24>>24==-102){r=b;u=18;break}else if(f<<24>>24!=122)break;b=da(b+16|0,4,0,0)|0|0}if((u|0)==24){u=0;ea(s|0,da(b+8|0,4,0,0)|0|0,4,0);b=th(t,10344,s)|0;break}if((u|0)==18?(u=0,q=da(r+44|0,4,0,0)|0|0,(q|0)!=0):0){b=da(r+32|0,2,0,0)|0|0;if(b<<16>>16<0)b=da(q+36|0,2,0,0)|0|0;else b=b<<16>>16;if((b|0)>-1)b=da((da(q+4|0,4,0,0)|0|0)+(b*24|0)|0,4,0,0)|0|0;else b=20456;ea(s|0,b|0,4,0);b=th(t,10344,s)|0;break}ea(s|0,da(k+(a*20|0)+8|0,4,0,0)|0|0,4,0);b=th(t,10344,s)|0}else b=jh(t,f)|0;while(0);if(da(p>>0|0,1,0,0)|0)break;if(!b){h=0;b=0}else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;h=f-b&1073741823}c:do if((a|0)>0){f=0;k=0;l=h;while(1){if(!(cd(da(e+(k*24|0)|0,4,0,0)|0|0,b)|0)){g=l;while(1){h=g+-1|0;if((h|0)<=1)break;if(((da(b+h>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)g=h;else break}if((g|0)>0)g=(da(b+h>>0|0,1,0,0)|0|0)==58?h:l;else g=l;ea(b+g>>0|0,0|0,1,0);f=f+1|0;ea(s|0,b|0,4,0);ea(s+4|0,f|0,4,0);h=th(t,26824,s)|0;lg(t,b);if(!h){b=0;break c}else{k=-1;b=h}}else g=l;k=k+1|0;if((k|0)>=(a|0))break;else l=g}}while(0);ea(n|0,b|0,4,0);a=a+1|0;if((a|0)<(o|0))n=n+24|0;else{b=p;break a}}lg(t,b);b=p}else u=6}else{ea(c|0,0|0,2,0);ea(d|0,0|0,4,0);e=0;u=6}while(0);if((u|0)==6){b=t+65|0;a=0}if(da(b>>0|0,1,0,0)|0){if((a|0)>0){b=0;do{lg(t,da(e+(b*24|0)|0,4,0,0)|0|0);b=b+1|0}while((b|0)!=(a|0))}lg(t,e);ea(d|0,0|0,4,0);ea(c|0,0|0,2,0)}i=v;return}function iu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;l=da(a|0,4,0,0)|0|0;if(!(da(l+65>>0|0,1,0,0)|0)){ea(m+0|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+16|0,0|0,4,0);ea(m+20|0,0|0,4,0);ea(m+24|0,0|0,4,0);ea(m+28|0,0|0,4,0);ea(m+4|0,da(c+32|0,4,0,0)|0|0,4,0);g=da((da(c|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=b+38|0;if((da(f|0,2,0,0)|0|0)>0){c=0;d=0;h=0;k=da(b+4|0,4,0,0)|0|0;while(1){e=da(g+(h*20|0)|0,4,0,0)|0|0;o=k+22|0;ea(k+12|0,jh(l,xu(m,e,o)|0)|0|0,4,0);c=iw(da(o>>0|0,1,0,1)|0|0,0,c|0,d|0)|0;d=C;o=jv(e)|0;ea(k+21>>0|0,(o<<24>>24==0?65:o)|0,1,0);e=bu(a,e)|0;if(e)ea(k+16|0,jh(l,da(e|0,4,0,0)|0|0)|0|0,4,0);h=h+1|0;if((h|0)>=(da(f|0,2,0,0)|0|0))break;else k=k+24|0}d=hw(c|0,d|0,2)|0;c=C}else{d=0;c=0}ea(b+42|0,es(d,c)|0|0,2,0)}i=n;return}function ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;do if(!b)c=0;else{f=a+4|0;d=da(f|0,4,0,0)|0|0;if((d|0)==0?(da(a+8|0,4,0,0)|0|0)==0:0){c=0;break}i=a+16|0;ea(i|0,(da(i|0,4,0,0)|0|0)+1|0,4,0);g=a+8|0;a:while(1){if((d|0)!=0?(c=qc[(fa(d|0,127|0)|0)&127](a,b)|0,(c|0)!=0):0){j=24;break}if(ku(a,da(b|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+36|0,4,0,0)|0|0)|0){j=19;break}if(ku(a,da(b+40|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+44|0,4,0,0)|0|0)|0){j=19;break}if(ku(a,da(b+48|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+60|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+64|0,4,0,0)|0|0)|0){j=19;break}d=da(b+32|0,4,0,0)|0|0;if((d|0)!=0?(h=da(d|0,4,0,0)|0|0,(h|0)>0):0){e=h;d=d+8|0;while(1){if(ju(a,da(d+20|0,4,0,0)|0|0)|0){j=19;break a}e=e+-1|0;if((e|0)<=0)break;else d=d+72|0}}d=da(g|0,4,0,0)|0|0;if(d)ic[(fa(d|0,15|0)|0)&15](a,b);b=da(b+52|0,4,0,0)|0|0;if(!b){c=0;break}d=da(f|0,4,0,0)|0|0}if((j|0)==19){ea(i|0,(da(i|0,4,0,0)|0|0)+-1|0,4,0);c=2;break}else if((j|0)==24)c=c&2;ea(i|0,(da(i|0,4,0,0)|0|0)+-1|0,4,0)}while(0);return c|0}function ku(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)!=0?(c=da(b|0,4,0,0)|0|0,(c|0)>0):0){b=da(b+4|0,4,0,0)|0|0;while(1){if(qs(a,da(b|0,4,0,0)|0|0)|0){c=2;break a}c=c+-1|0;if((c|0)<=0){c=0;break}else b=b+20|0}}else c=0;while(0);return c|0}function lu(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;ea(b|0,0|0,4,0);if(((da(a+4|0,4,0,0)|0)&1|0)==0?(Ls(a,b)|0)!=0:0)a=(da(b|0,4,0,0)|0|0)==0&1;else a=0;i=c;return a|0}function mu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;f=da(c+12|0,4,0,0)|0|0;ea(m+0|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+16|0,0|0,4,0);ea(m+20|0,200|0,4,0);ea(m+24>>0|0,1|0,1,0);ea(m+25>>0|0,0|0,1,0);ea(m|0,da(a|0,4,0,0)|0|0,4,0);k=c+46|0;if(da(k|0,2,0,0)|0){l=c+4|0;g=f+4|0;n=0;do{h=da((da(g|0,4,0,0)|0|0)+((da((da(l|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0;if(n)Rk(m,28920,2);e=da(f|0,4,0,0)|0|0;if(!e)d=0;else{d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823}Rk(m,e,d);Rk(m,28928,1);if(!h)d=0;else{d=h;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-h&1073741823}Rk(m,h,d);n=n+1|0}while((n|0)<(da(k|0,2,0,1)|0|0))}d=sg(m)|0;ys(a,((da(c+51>>0|0,1,0,0)|0)&3)==2?1555:2067,b,d,-1,2);i=o;return}function nu(a,b){a=a|0;b=b|0;return 0}function ou(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n+8|0;k=n;l=b+52|0;a:do if((da(l|0,4,0,0)|0|0)!=0?(d=da(b+48|0,4,0,0)|0|0,!((d|0)==0|(b|0)==0)):0){c=b;while(1){h=da(c+4>>0|0,1,0,0)|0|0;if(!(h<<24>>24==119|h<<24>>24==116))break;c=da(c+52|0,4,0,0)|0|0;if(!c){c=0;break a}}e=da(d+4|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;while(1){d=c+-1|0;if((c|0)<=0){c=0;break a}if(!((da((da(e+(d*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0)&256))c=d;else break}if((c|0)>=1){c=da(a+12|0,4,0,0)|0|0;f=da(c|0,4,0,0)|0|0;a=lh(f,72,0)|0;if(a){g=a+0|0;h=g+72|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(h|0));e=k;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=ir(c,0,0,0,k,a,0,0)|0;if(e){g=a+0|0;d=b+0|0;h=g+72|0;do{ea(g|0,da(d|0,4,0,0)|0|0,4,0);g=g+4|0;d=d+4|0}while((g|0)<(h|0));ea(b+32|0,e|0,4,0);ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(b|0,kr(c,0,mr(f,116,m,0)|0)|0|0,4,0);ea(b+4>>0|0,119|0,1,0);ea(b+36|0,0|0,4,0);ea(a+40|0,0|0,4,0);ea(a+44|0,0|0,4,0);ea(a+48|0,0|0,4,0);ea(l|0,0|0,4,0);ea(b+56|0,0|0,4,0);c=b+6|0;ea(c|0,(da(c|0,2,0,1)|0|0)&57279|8192|0,2,0);ea((da(a+52|0,4,0,0)|0|0)+56|0,a|0,4,0);ea(a+60|0,0|0,4,0);ea(a+64|0,0|0,4,0);c=0}else c=2}else c=2}else c=0}else c=0;while(0);i=n;return c|0}function pu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=i;i=i+32|0;if((i|0)>=(j|0))ba();R=S;O=S+16|0;B=a+12|0;Q=da(B|0,4,0,0)|0|0;P=da(Q|0,4,0,0)|0|0;M=b+6|0;g=da(M|0,2,0,1)|0|0;ea(M|0,g|16|0,2,0);N=P+65|0;a:do if(!(da(N>>0|0,1,0,0)|0)){A=b+32|0;K=da(A|0,4,0,0)|0|0;if((K|0)!=0&(g&16|0)==0){L=da(b|0,4,0,0)|0|0;if((da(a+8|0,4,0,0)|0|0)==9){g=b;while(1){f=da(g+56|0,4,0,0)|0|0;if(!f)break;else g=f}g=da(g+68|0,4,0,0)|0|0;if(g){x=Q+532|0;ea(g+4|0,da(x|0,4,0,0)|0|0,4,0);ea(x|0,g|0,4,0);ea(Q+449>>0|0,0|0,1,0)}}Bs(Q,K);J=K+8|0;g=da(K|0,4,0,0)|0|0;b:do if((g|0)>0){w=0;q=J;c:while(1){if(!((da(q+37>>0|0,1,0,0)|0)&8)){x=q+16|0;c=da(B|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){d=c;I=10;break}n=da(c|0,4,0,0)|0|0;f=c+532|0;h=da(f|0,4,0,0)|0|0;d:do if((da(q+4|0,4,0,0)|0|0)==0?(z=da(q+8|0,4,0,0)|0|0,!((z|0)==0|(h|0)==0)):0){e:while(1){k=da(h|0,4,0,0)|0|0;if((k|0)>0){e=0;do{g=h+(e<<4)+8|0;d=da(g|0,4,0,0)|0|0;if(!(cd(z,d)|0)){u=e;break e}e=e+1|0}while((e|0)<(k|0))}h=da(h+4|0,4,0,0)|0|0;if(!h){I=46;break d}}r=h+(u<<4)+20|0;k=da(r|0,4,0,0)|0|0;if(k){b=k;I=21;break c}t=lh(n,76,0)|0;if(!t){b=x;I=23;break c}l=t+0|0;k=l+76|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(x|0,t|0,4,0);o=t+40|0;ea(o|0,1|0,2,0);ea(t|0,jh(n,da(g|0,4,0,0)|0|0)|0|0,4,0);ea(t+36|0,-1|0,2,0);ea(t+28|0,200|0,2,0);v=t+44|0;ea(v>>0|0,da(v>>0|0,1,0,1)|0|2|0,1,0);v=fr(n,da(h+(u<<4)+16|0,4,0,0)|0|0,0)|0;ea(q+20|0,v|0,4,0);if(da(n+65>>0|0,1,0,0)|0){b=2;break a}s=((da(v+4>>0|0,1,0,0)|0|0)+-115&255)<2;if(s?(p=da(v+32|0,4,0,0)|0|0,y=da(p|0,4,0,0)|0|0,(y|0)>0):0){k=v+6|0;l=y;n=0;do{do if(!(da(p+(n*72|0)+12|0,4,0,0)|0)){m=da(p+(n*72|0)+16|0,4,0,0)|0|0;if(!m)break;if(cd(m,da(g|0,4,0,0)|0|0)|0)break;ea(p+(n*72|0)+24|0,t|0,4,0);l=p+(n*72|0)+45|0;ea(l>>0|0,da(l>>0|0,1,0,0)|0|8|0,1,0);ea(o|0,(da(o|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(k|0,da(k|0,2,0,1)|0|2048|0,2,0);l=da(p|0,4,0,0)|0|0}while(0);n=n+1|0}while((n|0)<(l|0))}if((da(o|0,2,0,1)|0|0)>2){b=g;I=34;break c}ea(r|0,28176|0,4,0);e=da(f|0,4,0,0)|0|0;ea(f|0,h|0,4,0);if(s)k=da(v+52|0,4,0,0)|0|0;else k=v;ju(a,k)|0;k=v;while(1){d=da(k+52|0,4,0,0)|0|0;if(!d)break;else k=d}d=da(k|0,4,0,0)|0|0;k=da(h+(u<<4)+12|0,4,0,0)|0|0;do if(k){if(!d)break;m=da(d|0,4,0,0)|0|0;d=da(k|0,4,0,0)|0|0;if((m|0)!=(d|0)){b=m;I=42;break c}}else k=d;while(0);hu(c,k,t+38|0,t+4|0);if(s){ea(r|0,(((da(v+6|0,2,0,0)|0)&2048)==0?28280:28240)|0,4,0);ju(a,v)|0}ea(r|0,0|0,4,0);ea(f|0,e|0,4,0);if(!(da(x|0,4,0,0)|0))I=46}else I=46;while(0);do if((I|0)==46){I=0;if(!(da(q+8|0,4,0,0)|0)){h=da(q+20|0,4,0,0)|0|0;if(ju(a,h)|0){b=2;break a}f=lh(P,76,0)|0;if(!f){b=x;I=49;break c}l=f+0|0;k=l+76|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(x|0,f|0,4,0);ea(f+40|0,1|0,2,0);ea(R|0,f|0,4,0);ea(f|0,th(P,27760,R)|0|0,4,0);while(1){g=da(h+52|0,4,0,0)|0|0;if(!g)break;else h=g}hu(Q,da(h|0,4,0,0)|0|0,f+38|0,f+4|0);ea(f+36|0,-1|0,2,0);ea(f+28|0,200|0,2,0);x=f+44|0;ea(x>>0|0,da(x>>0|0,1,0,1)|0|2|0,1,0);break}c=Tr(Q,0,q)|0;ea(x|0,c|0,4,0);if(!c){b=2;break a}h=c+40|0;g=da(h|0,2,0,0)|0|0;if(g<<16>>16==-1){b=x;I=55;break c}ea(h|0,g+1<<16>>16|0,2,0);h=c+12|0;if((da(h|0,4,0,0)|0|0)==0?((da(c+44>>0|0,1,0,0)|0)&16)==0:0)break;if(gr(Q,c)|0){b=2;break a}x=fr(P,da(h|0,4,0,0)|0|0,0)|0;ea(q+20|0,x|0,4,0);ju(a,x)|0}while(0);if(Qt(Q,q)|0){b=2;break a}g=da(K|0,4,0,0)|0|0}w=w+1|0;if((w|0)>=(g|0))break b;else q=q+72|0}if((I|0)==10){while(1){c=da(b+56|0,4,0,0)|0|0;if(!c)break;else b=c}b=da(b+68|0,4,0,0)|0|0;if(!b){b=1;break a}ea(d+532|0,da(b+4|0,4,0,0)|0|0,4,0);b=1;break a}else if((I|0)==21){ea(R|0,d|0,4,0);sh(c,b,R);b=2;break a}else if((I|0)==23){ea(b|0,0|0,4,0);b=2;break a}else if((I|0)==34){ea(R|0,da(b|0,4,0,0)|0|0,4,0);sh(c,28128,R);b=2;break a}else if((I|0)==42){ea(R|0,da(g|0,4,0,0)|0|0,4,0);ea(R+4|0,b|0,4,0);ea(R+8|0,d|0,4,0);sh(c,28200,R);ea(f|0,e|0,4,0);b=2;break a}else if((I|0)==49){ea(b|0,0|0,4,0);b=2;break a}else if((I|0)==55){ea(R|0,da(c|0,4,0,0)|0|0,4,0);sh(Q,27776,R);ea(b|0,0|0,4,0);b=2;break a}}while(0);if(!(da(N>>0|0,1,0,0)|0)){q=da(A|0,4,0,0)|0|0;f:do if(((da(q|0,4,0,0)|0|0)+-1|0)>0){r=b+36|0;t=0;u=q+8|0;v=q+80|0;g:while(1){s=da(v+16|0,4,0,0)|0|0;if(!((da(u+16|0,4,0,0)|0|0)==0|(s|0)==0)){y=da(v+36>>0|0,1,0,1)|0|0;p=y&32;n=(p|0)==0;p=p>>>5;o=v+44|0;if(y&4){if(da(o|0,4,0,0)|0){I=73;break}g=v+48|0;if(da(g|0,4,0,0)|0){I=73;break}d=s+38|0;h=da(d|0,2,0,0)|0|0;if(h<<16>>16>0){c=s+4|0;m=t+1|0;l=0;do{f=da((da(c|0,4,0,0)|0|0)+(l*24|0)|0,4,0,0)|0|0;e=0;do{k=rv(da(q+(e*72|0)+24|0,4,0,0)|0|0,f)|0;if((k|0)>-1){h=e;I=77;break}e=e+1|0}while((e|0)<(m|0));if((I|0)==77){I=0;sv(Q,q,h,k,m,l,p,r);h=da(d|0,2,0,0)|0|0}l=l+1|0}while((l|0)<(h<<16>>16|0))}}else g=v+48|0;h=da(o|0,4,0,0)|0|0;if(h){if(da(g|0,4,0,0)|0){I=81;break}if(!n){tv(h,da(v+40|0,4,0,0)|0|0);h=da(o|0,4,0,0)|0|0}ea(r|0,rs(da(Q|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0,h)|0|0,4,0);ea(o|0,0|0,4,0)}f=da(g|0,4,0,0)|0|0;if((f|0)!=0?(H=f+4|0,(da(H|0,4,0,0)|0|0)>0):0){e=t+1|0;k=0;do{c=da((da(f|0,4,0,0)|0|0)+(k<<3)|0,4,0,0)|0|0;d=rv(s,c)|0;if((d|0)<0){I=91;break g}else h=0;while(1){g=rv(da(q+(h*72|0)+24|0,4,0,0)|0|0,c)|0;if((g|0)>-1)break;h=h+1|0;if((h|0)>=(e|0)){I=91;break g}}sv(Q,q,h,g,e,d,p,r);k=k+1|0}while((k|0)<(da(H|0,4,0,0)|0|0))}}t=t+1|0;if((t|0)>=((da(q|0,4,0,0)|0|0)+-1|0))break f;else{u=u+72|0;v=v+72|0}}if((I|0)==73){ea(R|0,0|0,4,0);sh(Q,27928,R);b=2;break a}else if((I|0)==81){sh(Q,27984,R);b=2;break a}else if((I|0)==91){ea(R|0,c|0,4,0);sh(Q,28040,R);b=2;break a}}while(0);c=da(L|0,4,0,0)|0|0;h=(c|0)>0;h:do if(h){d=da(L+4|0,4,0,0)|0|0;g=0;do{f=da(d+(g*20|0)|0,4,0,0)|0|0;e=da(f>>0|0,1,0,0)|0|0;if(e<<24>>24==122){if((da((da(f+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==116)break h}else if(e<<24>>24==116)break h;g=g+1|0}while((g|0)<(c|0))}else g=0;while(0);if((g|0)<(c|0)){H=da(L+4|0,4,0,0)|0|0;g=da((da(Q|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;if(!(g&32))G=0;else G=(g&64|0)==0;if(h){C=P+20|0;D=P+16|0;E=O+4|0;F=0;c=0;do{f=H+(F*20|0)|0;h=da(f|0,4,0,0)|0|0;g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24==116){a=0;I=110}else if(g<<24>>24==122?(da((da(h+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==116:0){a=da((da(h+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;I=110}else I=106;do if((I|0)==106){c=kr(Q,c,h)|0;if(c){x=H+(F*20|0)+4|0;w=(da(c|0,4,0,0)|0|0)+-1|0;v=da(c+4|0,4,0,0)|0|0;ea(v+(w*20|0)+4|0,da(x|0,4,0,0)|0|0,4,0);y=H+(F*20|0)+8|0;ea(v+(w*20|0)+8|0,da(y|0,4,0,0)|0|0,4,0);ea(x|0,0|0,4,0);ea(y|0,0|0,4,0)}ea(f|0,0|0,4,0)}else if((I|0)==110){if((da(K|0,4,0,0)|0|0)>0){y=(a|0)==0;z=(a|0)!=0;A=0;B=J;g=0;while(1){n=da(B+16|0,4,0,0)|0|0;f=da(B+20|0,4,0,0)|0|0;h=da(B+12|0,4,0,0)|0|0;if(!h)h=da(n|0,4,0,0)|0|0;if(da(N>>0|0,1,0,0)|0)break;if((f|0)!=0?((da(f+6|0,2,0,0)|0)&512)!=0:0){x=0;I=125}else I=117;do if((I|0)==117){I=0;if(!y?(cd(a,h)|0)!=0:0)break;k=da(n+68|0,4,0,0)|0|0;if(!k){f=0;x=27816;I=125;break}e=da(C|0,4,0,0)|0|0;l=da(D|0,4,0,0)|0|0;if((e|0)>0){d=0;while(1){f=d+1|0;if((da(l+(d<<4)+12|0,4,0,0)|0|0)==(k|0)){f=d;break}if((f|0)<(e|0))d=f;else break}if((f|0)>-1)e=f;else{f=0;x=27816;I=125;break}}else e=0;f=0;x=da(l+(e<<4)|0,4,0,0)|0|0;I=125}while(0);do if((I|0)==125){I=0;w=n+38|0;o=da(w|0,2,0,0)|0|0;if(o<<16>>16<=0)break;s=n+4|0;r=(f|0)!=0;l=z&r;t=(A|0)>0;m=t&y;q=B+36|0;t=t^1;p=B+48|0;k=(x|0)==0;u=0;do{n=da(s|0,4,0,0)|0|0;d=da(n+(u*24|0)|0,4,0,0)|0|0;if(!(l?(uv(da((da((da(f|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(u*20|0)+8|0,4,0,0)|0|0,0,a,0)|0)==0:0))I=129;i:do if((I|0)==129){I=0;if((da(n+(u*24|0)+23>>0|0,1,0,0)|0)&2)break;if(m){if(!(((da(q>>0|0,1,0,0)|0)&4)==0|t)){n=0;do{if((rv(da(K+(n*72|0)+24|0,4,0,0)|0|0,d)|0)>-1){g=1;break i}n=n+1|0}while((n|0)<(A|0))}if((vv(da(p|0,4,0,0)|0|0,d)|0)>-1){g=1;break}}o=st(P,27,d)|0;if(!G?(da(K|0,4,0,0)|0|0)<=1:0){e=d;v=0}else I=137;do if((I|0)==137){I=0;o=Yq(Q,122,st(P,27,h)|0,o,0)|0;if(!k)o=Yq(Q,122,st(P,27,x)|0,o,0)|0;if(!G){e=d;v=0;break}ea(R|0,h|0,4,0);ea(R+4|0,d|0,4,0);v=th(P,27824,R)|0;e=v}while(0);c=kr(Q,c,o)|0;ea(O|0,e|0,4,0);if(!e)o=0;else{o=e;while(1)if(!(da(o>>0|0,1,0,0)|0))break;else o=o+1|0;o=o-e&1073741823}ea(E|0,o|0,4,0);lr(Q,c,O,0);do if(c){if(!((da(M|0,2,0,0)|0)&512))break;n=(da(c|0,4,0,0)|0|0)+-1|0;d=da(c+4|0,4,0,0)|0|0;if(r)o=jh(P,da((da((da(f|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(u*20|0)+8|0,4,0,0)|0|0)|0;else{ea(R|0,x|0,4,0);ea(R+4|0,h|0,4,0);ea(R+8|0,e|0,4,0);o=th(P,27832,R)|0}ea(d+(n*20|0)+8|0,o|0,4,0);o=d+(n*20|0)+13|0;ea(o>>0|0,da(o>>0|0,1,0,0)|0|2|0,1,0)}while(0);lg(P,v);o=da(w|0,2,0,0)|0|0;g=1}while(0);u=u+1|0}while((u|0)<(o<<16>>16|0))}while(0);A=A+1|0;if((A|0)>=(da(K|0,4,0,0)|0|0))break;else B=B+72|0}if(g)break}if(!a){sh(Q,27872,R);break}else{ea(R|0,a|0,4,0);sh(Q,27848,R);break}}while(0);F=F+1|0}while((F|0)<(da(L|0,4,0,0)|0|0))}else c=0;Mk(P,L);ea(b|0,c|0,4,0)}else c=da(b|0,4,0,0)|0|0;if((c|0)!=0?(da(c|0,4,0,0)|0|0)>(da(P+96|0,4,0,0)|0|0):0){sh(Q,27896,R);b=0}else b=0}else b=2}else b=1}else b=2;while(0);i=S;return b|0}function qu(a,b){a=a|0;b=b|0;var c=0;c=da(a+12|0,4,0,0)|0|0;while(1){a=da(b+56|0,4,0,0)|0|0;if(!a)break;else b=a}b=da(b+68|0,4,0,0)|0|0;if(b)ea(c+532|0,da(b+4|0,4,0,0)|0|0,4,0);return}function ru(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=b+6|0;e=da(d|0,2,0,1)|0|0;if((e&32|0)==0?(ea(d|0,e|32|0,2,0),h=da(a+12|0,4,0,0)|0|0,f=da(b+32|0,4,0,0)|0|0,c=da(f|0,4,0,0)|0|0,(c|0)>0):0){b=0;d=f+8|0;while(1){a=da(d+16|0,4,0,0)|0|0;if(((a|0)!=0?((da(a+44>>0|0,1,0,0)|0)&2)!=0:0)?(g=da(d+20|0,4,0,0)|0|0,(g|0)!=0):0){c=g;while(1){e=da(c+52|0,4,0,0)|0|0;if(!e)break;else c=e}iu(h,a,c);c=da(f|0,4,0,0)|0|0}b=b+1|0;if((b|0)>=(c|0))break;else d=d+72|0}}return}function su(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if((a|0)!=0?(c=da(a|0,4,0,0)|0|0,(c|0)>0):0){f=da(a+4|0,4,0,0)|0|0;e=0;do{d=da(f+(e*20|0)|0,4,0,0)|0|0;if((d|0)!=0?(g=da(d+24|0,4,0,0)|0|0,(g|0)>(da(b|0,4,0,0)|0|0)):0){ea(b|0,g|0,4,0);c=da(a|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}return}function tu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(((b|0)!=0?(Fs(a,da(b|0,4,0,0)|0|0,c,d),Fs(a,da(b+40|0,4,0,0)|0|0,c,d),Fs(a,da(b+48|0,4,0,0)|0|0,c,d),f=b+44|0,ea(f|0,Gs(a,da(f|0,4,0,0)|0|0,c,d)|0|0,4,0),f=b+36|0,ea(f|0,Gs(a,da(f|0,4,0,0)|0|0,c,d)|0|0,4,0),tu(a,da(b+52|0,4,0,0)|0|0,c,d),f=da(b+32|0,4,0,0)|0|0,(f|0)!=0):0)?(e=da(f|0,4,0,0)|0|0,(e|0)>0):0){b=e;e=f+8|0;while(1){tu(a,da(e+20|0,4,0,0)|0|0,c,d);b=b+-1|0;if((b|0)<=0)break;else e=e+72|0}}return}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(b+48|0,4,0,0)|0|0;i=da(c|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;j=Qs(d,i+1|0,1)|0;if((j|0)!=0&(i|0)>0){h=c+4|0;f=d+8|0;e=j+16|0;g=0;do{d=da(h|0,4,0,0)|0|0;c=da(d+(g*20|0)|0,4,0,0)|0|0;if(!((da(c+4|0,4,0,0)|0)&256)){d=Rs(a,b,(da(d+(g*20|0)+16|0,2,0,1)|0|0)+-1|0)|0;if(!d)d=da(f|0,4,0,0)|0|0;c=wv(a,c,da(d|0,4,0,0)|0|0)|0;ea((da(h|0,4,0,0)|0|0)+(g*20|0)|0,c|0,4,0)}else d=bu(a,c)|0;ea(j+(g<<2)+20|0,d|0,4,0);ea((da(e|0,4,0,0)|0|0)+g>>0|0,da((da(h|0,4,0,0)|0|0)+(g*20|0)+12>>0|0,1,0,0)|0|0|0,1,0);g=g+1|0}while((g|0)!=(i|0))}return j|0}function vu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;e=da(a|0,4,0,0)|0|0;a:do if((c|0)!=0?(da(e+65>>0|0,1,0,0)|0|0)==0:0){f=da(c|0,4,0,0)|0|0;if((f|0)>(da(e+96|0,4,0,0)|0|0)){ea(k|0,d|0,4,0);sh(a,27120,k);b=1;break}h=da(b|0,4,0,0)|0|0;if((f|0)>0){e=f;b=0;g=da(c+4|0,4,0,0)|0|0;while(1){f=da(g+16|0,2,0,0)|0|0;if(f<<16>>16){f=f&65535;e=da(h|0,4,0,0)|0|0;if((f|0)>(e|0))break;xv(a,h,f+-1|0,da(g|0,4,0,0)|0|0,d,0);e=da(c|0,4,0,0)|0|0}b=b+1|0;if((b|0)>=(e|0)){b=0;break a}else g=g+20|0}ea(k|0,b+1|0,4,0);ea(k+4|0,d|0,4,0);ea(k+8|0,e|0,4,0);sh(a,27064,k);b=1}else b=0}else b=0;while(0);i=l;return b|0}function wu(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=a+8|0;r=da(q|0,4,0,0)|0|0;t=r+32|0;i=da(t|0,4,0,0)|0|0;u=ws(r)|0;if(f){k=vh(r,46,f,0,0)|0;j=c+8|0;m=da(j|0,4,0,0)|0|0;o=f+1|0;l=c+12|0;n=da(l|0,4,0,0)|0|0;if(g)ea(g|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);m=vh(r,42,m,o,n)|0;wh(r,m,g,-6);m=m+2|0;vh(r,43,m,u,m)|0;m=da(t|0,4,0,0)|0|0;if(m>>>0>k>>>0)ea((da(r+4|0,4,0,0)|0|0)+(k*20|0)+8|0,m|0,4,0);ea((da(r+24|0,4,0,0)|0|0)+88|0,m+-1|0,4,0);vh(r,33,da(j|0,4,0,0)|0|0,o,(da(l|0,4,0,0)|0|0)+-1|0)|0;vh(r,25,1,f,0)|0}if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){ht(r,da(b+12|0,4,0,0)|0|0,u);switch(da(d>>0|0,1,0,1)|0|0){case 12:case 14:{j=a+19|0;l=da(j>>0|0,1,0,0)|0|0;if(l<<24>>24){f=l+-1<<24>>24;ea(j>>0|0,f|0,1,0);k=da(a+((f&255)<<2)+24|0,4,0,0)|0|0;if(!(f<<24>>24))p=12;else{l=l+-2<<24>>24;ea(j>>0|0,l|0,1,0);l=da(a+((l&255)<<2)+24|0,4,0,0)|0|0;j=k}}else{p=a+72|0;k=(da(p|0,4,0,0)|0|0)+1|0;ea(p|0,k|0,4,0);p=12}if((p|0)==12){j=a+72|0;l=(da(j|0,4,0,0)|0|0)+1|0;ea(j|0,l|0,4,0);j=k}vh(r,49,da(c+8|0,4,0,0)|0|0,da(c+12|0,4,0,0)|0|0,j)|0;k=d+4|0;vh(r,74,da(k|0,4,0,0)|0|0,l,0)|0;vh(r,75,da(k|0,4,0,0)|0|0,j,l)|0;k=da(r+4|0,4,0,0)|0|0;if(k)ea(k+(((da(t|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);Zr(a,l);Zr(a,j);break}case 11:{l=d+1|0;ea(l>>0|0,Au(da(da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0,da(l>>0|0,1,0,0)|0|0)|0|0,1,0);k=a+19|0;j=da(k>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){p=a+72|0;k=(da(p|0,4,0,0)|0|0)+1|0;ea(p|0,k|0,4,0)}else{p=j+-1<<24>>24;ea(k>>0|0,p|0,1,0);k=da(a+((p&255)<<2)+24|0,4,0,0)|0|0}p=c+8|0;wh(r,vh(r,49,da(p|0,4,0,0)|0|0,1,k)|0,l,1);ct(a,da(p|0,4,0,0)|0|0,1);vh(r,110,da(d+4|0,4,0,0)|0|0,k,0)|0;Zr(a,k);break}case 10:{p=da(c+8|0,4,0,0)|0|0;vh(da(q|0,4,0,0)|0|0,32,p,da(d+4|0,4,0,0)|0|0,1)|0;ct(a,p,1);break}case 13:{n=d+8|0;k=da(n|0,4,0,0)|0|0;if(!k){k=da(c+12|0,4,0,0)|0|0;l=a+60|0;j=da(l|0,4,0,0)|0|0;g=a+56|0;m=da(g|0,4,0,0)|0|0;if((m|0)<(k|0)){p=a+72|0;j=da(p|0,4,0,0)|0|0;ea(p|0,j+k|0,4,0);j=j+1|0}else{ea(l|0,j+k|0,4,0);ea(g|0,m-k|0,4,0)}ea(n|0,j|0,4,0);ea(d+12|0,k|0,4,0)}else{j=k;k=da(d+12|0,4,0,0)|0|0}p=da(c+8|0,4,0,0)|0|0;vh(da(q|0,4,0,0)|0|0,32,p,j,k)|0;ct(a,p,k);vh(r,22,da(d+4|0,4,0,0)|0|0,0,0)|0;break}default:{f=c+8|0;p=c+12|0;vh(r,35,da(f|0,4,0,0)|0|0,da(p|0,4,0,0)|0|0,0)|0;ct(a,da(f|0,4,0,0)|0|0,da(p|0,4,0,0)|0|0)}}j=da(b+8|0,4,0,0)|0|0;if(j)vh(r,140,j,h,0)|0;j=da(r+24|0,4,0,0)|0|0;k=~u;if((u|0)<0?(s=da(j+112|0,4,0,0)|0|0,(s|0)!=0):0)ea(s+(k<<2)|0,da(t|0,4,0,0)|0|0,4,0);ea(j+88|0,(da(t|0,4,0,0)|0|0)+-1|0,4,0);vh(r,18,e,0,0)|0}else i=0;return i|0}function xu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+80|0;if((i|0)>=(j|0))ba();n=o+64|0;m=o+32|0;d=o;ea(n>>0|0,1|0,1,0);if((b|0)!=0?(da(a+4|0,4,0,0)|0|0)!=0:0){e=da(b>>0|0,1,0,1)|0|0;a:do if((e|0)==154|(e|0)==156){l=da(b+32|0,2,0,0)|0|0;d=l<<16>>16;if(a){k=b+28|0;b:while(1){while(1){h=da(a+4|0,4,0,0)|0|0;g=da(h|0,4,0,0)|0|0;c:do if((g|0)>0){b=da(k|0,4,0,0)|0|0;e=0;while(1){f=e+1|0;if((da(h+(e*72|0)+48|0,4,0,0)|0|0)==(b|0)){f=e;break c}if((f|0)<(g|0))e=f;else break}}else f=0;while(0);if((f|0)>=(g|0))break;g=da(h+(f*72|0)+24|0,4,0,0)|0|0;f=da(h+(f*72|0)+28|0,4,0,0)|0|0;b=(g|0)==0;if(!((a|0)!=0&b))break b}a=da(a+16|0,4,0,0)|0|0;if(!a){d=0;break a}}if(!b){if(f){if(l<<16>>16<=-1){d=0;break}e=da(f|0,4,0,0)|0|0;if((d|0)>=(da(e|0,4,0,0)|0|0)){d=0;break}d=da((da(e+4|0,4,0,0)|0|0)+(d*20|0)|0,4,0,0)|0|0;ea(m+4|0,da(f+32|0,4,0,0)|0|0,4,0);ea(m+16|0,a|0,4,0);ea(m|0,da(a|0,4,0,0)|0|0,4,0);d=xu(m,d,n)|0;break}if(da(g+68|0,4,0,0)|0){if(l<<16>>16<0)d=da(g+36|0,2,0,0)|0|0;if((d|0)<0)d=11144;else{l=da(g+4|0,4,0,0)|0|0;m=da(l+(d*24|0)+12|0,4,0,0)|0|0;ea(n>>0|0,da(l+(d*24|0)+22>>0|0,1,0,0)|0|0|0,1,0);d=m}}else d=0}else d=0}else d=0}else if((e|0)==119){l=da(b+20|0,4,0,0)|0|0;m=da(da((da(l|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;ea(d+4|0,da(l+32|0,4,0,0)|0|0,4,0);ea(d+16|0,a|0,4,0);ea(d|0,da(a|0,4,0,0)|0|0,4,0);d=xu(d,m,n)|0}else d=0;while(0);if(c)ea(c>>0|0,da(n>>0|0,1,0,0)|0|0|0,1,0)}else d=0;i=o;return d|0}function yu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=da(a+8|0,4,0,0)|0|0;f=a+19|0;g=da(f>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){g=a+72|0;f=(da(g|0,4,0,0)|0|0)+1|0;ea(g|0,f|0,4,0)}else{g=g+-1<<24>>24;ea(f>>0|0,g|0,1,0);f=da(a+((g&255)<<2)+24|0,4,0,0)|0|0}wh(h,vh(h,69,b,c,e)|0,d,-14);vh(h,49,e,d,f)|0;vh(h,110,b,f,0)|0;Zr(a,f);return}function zu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=a+8|0;w=da(r|0,4,0,0)|0|0;v=b+24|0;h=(da(v>>0|0,1,0,0)|0)&1;k=h<<24>>24==0;h=(h^1)&255;g=da(b|0,4,0,0)|0|0;l=da(g|0,4,0,0)|0|0;m=l+e+h|0;p=a+72|0;j=da(p|0,4,0,0)|0|0;u=j+1|0;ea(p|0,u|0,4,0);s=b+4|0;n=da(s|0,4,0,0)|0|0;f=(f|0)==0;if(f){ea(p|0,u+m|0,4,0);q=j+2|0}else q=d-l-h|0;at(a,g,q,1);if(k)vh(w,73,da(b+8|0,4,0,0)|0|0,q+l|0,0)|0;if(f){vh(da(r|0,4,0,0)|0|0,32,d,h+l+q|0,e)|0;ct(a,d,e)}vh(w,49,q+n|0,m-n|0,u)|0;if((n|0)>0){g=da(p|0,4,0,0)|0|0;e=g+1|0;f=da(s|0,4,0,0)|0|0;ea(p|0,f+g|0,4,0);if(k)d=vh(w,46,q+l|0,0,0)|0;else d=vh(w,59,da(b+8|0,4,0,0)|0|0,0,0)|0;vh(w,42,e,q,da(s|0,4,0,0)|0|0)|0;j=da(b+20|0,4,0,0)|0|0;if((j|0)<0)j=(da(w+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(w|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))j=(da(w+4|0,4,0,0)|0|0)+(j*20|0)|0;else j=29120;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){ea(j+8|0,m-f|0,4,0);f=j+16|0;j=da(f|0,4,0,0)|0|0;ew(da(j+16|0,4,0,0)|0|0,0,da(j+6|0,2,0,1)|0|0)|0;wh(w,-1,j,-6);ea(f|0,Ts(a,da(b|0,4,0,0)|0|0,n,(da(j+8|0,2,0,1)|0|0)+-1|0)|0|0,4,0);j=w+32|0;f=da(j|0,4,0,0)|0|0;i=f+1|0;vh(w,43,i,0,i)|0;i=ws(w)|0;ea(b+16|0,i|0,4,0);h=(da(p|0,4,0,0)|0|0)+1|0;ea(p|0,h|0,4,0);ea(b+12|0,h|0,4,0);vh(w,17,h,i,0)|0;i=b+8|0;vh(w,119,da(i|0,4,0,0)|0|0,0,0)|0;h=da(j|0,4,0,0)|0|0;if(h>>>0>d>>>0)ea((da(w+4|0,4,0,0)|0|0)+(d*20|0)+8|0,h|0,4,0);g=w+24|0;ea((da(g|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);h=da(s|0,4,0,0)|0|0;vh(da(r|0,4,0,0)|0|0,32,q,e,h)|0;ct(a,q,h);h=da(j|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(w+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(g|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);o=23}}else{i=b+8|0;o=23}if((o|0)==23?(vh(w,110-((da(v>>0|0,1,0,0)|0)&1)|0,da(i|0,4,0,0)|0|0,u,0)|0,t=da(c+8|0,4,0,0)|0|0,(t|0)!=0):0){h=da(c+12|0,4,0,0)|0|0;h=vh(w,139,(h|0)==0?t:h+1|0,0,-1)|0;vh(w,105,da(i|0,4,0,0)|0|0,0,0)|0;vh(w,95,da(i|0,4,0,0)|0|0,0,0)|0;g=da(w+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(w+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}return}function Au(a,b){a=a|0;b=b|0;a=jv(a)|0;if(!(a<<24>>24==0|b<<24>>24==0))return (a<<24>>24>66|b<<24>>24>66?67:65)|0;if(!((a|b)<<24>>24))a=65;else a=(b&255)+(a&255)&255;return a|0}function Bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if(!((a|0)==0|(b|0)==0)){g=da(a+4|0,4,0,0)|0|0;h=da(b+4|0,4,0,0)|0|0;i=h|g;if(i&1024){if((g&1024&h|0)!=0?(da(a+8|0,4,0,0)|0|0)==(da(b+8|0,4,0,0)|0|0):0){d=0;break}d=2;break}d=da(a>>0|0,1,0,0)|0|0;e=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24!=e<<24>>24){if(d<<24>>24==95?(Bu(da(a+12|0,4,0,0)|0|0,b,c)|0)<2:0){d=1;break}if(e<<24>>24==95?(Bu(a,da(b+12|0,4,0,0)|0|0,c)|0)<2:0){d=1;break}d=2;break}if((!(d<<24>>24==-100|d<<24>>24==-102)?(f=da(a+8|0,4,0,0)|0|0,(f|0)!=0):0)?(Zv(f,da(b+8|0,4,0,0)|0|0)|0)!=0:0){d=d<<24>>24==95?1:2;break}if(!((h^g)&16)){if(!(i&16384)){if(i&2048){d=2;break}if(Bu(da(a+12|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,c)|0){d=2;break}if(Bu(da(a+16|0,4,0,0)|0|0,da(b+16|0,4,0,0)|0|0,c)|0){d=2;break}if(Ss(da(a+20|0,4,0,0)|0|0,da(b+20|0,4,0,0)|0|0,c)|0){d=2;break}if(!(i&8192)){if((da(a+32|0,2,0,0)|0|0)!=(da(b+32|0,2,0,0)|0|0)){d=2;break}e=da(a+28|0,4,0,0)|0|0;d=da(b+28|0,4,0,0)|0|0;if((e|0)!=(d|0)?(e|0)!=(c|0)|(d|0)>-1:0){d=2;break}}}d=0}else d=2}else d=(b|0)==(a|0)?0:2;while(0);return d|0}function Cu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;ea(d>>0|0,c|0,1,0);a:do if(b){while(1){if((da(b>>0|0,1,0,0)|0|0)!=c<<24>>24)break;Cu(a,da(b+12|0,4,0,0)|0|0,c);b=da(b+16|0,4,0,0)|0|0;ea(d>>0|0,c|0,1,0);if(!b)break a}yv(a,b,0)|0}while(0);return}function Du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;x=da(a|0,4,0,0)|0|0;L=da(x|0,4,0,0)|0|0;N=da(L|0,4,0,0)|0|0;G=N+65|0;do if(!(da(G>>0|0,1,0,0)|0)){O=a+20|0;f=da(O|0,4,0,0)|0|0;c=f+(b*48|0)|0;V=x+68|0;M=da(c|0,4,0,0)|0|0;n=M+12|0;g=da(n|0,4,0,0)|0|0;s=zv(V,g)|0;r=C;e=da(M>>0|0,1,0,0)|0|0;p=e&255;do if(e<<24>>24==76){d=f+(b*48|0)+32|0;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0);d=0;o=0}else if(e<<24>>24==75){h=M+20|0;if(!((da(M+4|0,4,0,0)|0)&2048)){d=Ku(V,da(h|0,4,0,0)|0|0)|0;o=C;K=f+(b*48|0)+32|0;ea(K|0,d|0,4,0);ea(K+4|0,o|0,4,0);break}else{d=Av(V,da(h|0,4,0,0)|0|0)|0;o=C;K=f+(b*48|0)+32|0;ea(K|0,d|0,4,0);ea(K+4|0,o|0,4,0);break}}else{d=zv(V,da(M+16|0,4,0,0)|0|0)|0;o=C;K=f+(b*48|0)+32|0;ea(K|0,d|0,4,0);ea(K+4|0,o|0,4,0)}while(0);l=zv(V,M)|0;h=C;I=M+4|0;if(!((da(I|0,4,0,0)|0)&1)){J=0;K=0;q=h}else{j=da(M+36|0,2,0,0)|0|0;i=da(V|0,4,0,0)|0|0;a:do if((i|0)>0){k=0;while(1){if((da(x+(k<<2)+72|0,4,0,0)|0|0)==(j|0))break;k=k+1|0;if((k|0)>=(i|0)){k=0;j=0;break a}}k=hw(1,0,k|0)|0;j=C}else{k=0;j=0}while(0);J=iw(k|0,j|0,-1,-1)|0;K=C;l=k|l;q=j|h}m=f+(b*48|0)+40|0;ea(m|0,l|0,4,0);ea(m+4|0,q|0,4,0);m=f+(b*48|0)+8|0;ea(m|0,-1|0,4,0);ea(f+(b*48|0)+4|0,-1|0,4,0);u=f+(b*48|0)+18|0;ea(u|0,0|0,2,0);k=p+-75|0;if(k>>>0<9?(499>>>(k&511)&1)!=0:0){b:do if(!g)g=0;else while(1){k=da(g+4|0,4,0,0)|0|0;if(!(k&4096))break b;if(!(k&262144))i=g+12|0;else i=da((da(g+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;g=da(i|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);k=da(M+16|0,4,0,0)|0|0;c:do if(!k)k=0;else while(1){j=da(k+4|0,4,0,0)|0|0;if(!(j&4096))break c;if(!(j&262144))k=k+12|0;else k=da((da(k+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;k=da(k|0,4,0,0)|0|0;if(!k){k=0;break}}while(0);o=(d&s|0)==0&(o&r|0)==0?4095:1024;if((da(g>>0|0,1,0,0)|0|0)==-102){h=da(g+28|0,4,0,0)|0|0;ea(m|0,h|0,4,0);ea(f+(b*48|0)+12|0,da(g+32|0,2,0,0)|0|0,4,0);if((p|0)==75)i=1;else if((p|0)==76)i=128;else i=2<<p+-79&65535;ea(u|0,i&o|0,2,0)}else h=-1;if((k|0)!=0?(da(k>>0|0,1,0,0)|0|0)==-102:0){if((h|0)>-1){g=Lr(N,M,0,0)|0;if(da(G>>0|0,1,0,0)|0){Fk(N,g);break}h=yv(a,g,3)|0;if(!h)break;i=da(O|0,4,0,0)|0|0;f=i+(h*48|0)|0;ea(i+(h*48|0)+4|0,b|0,4,0);ea(i+(h*48|0)+16|0,da(i+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);c=i+(b*48|0)+22|0;ea(c>>0|0,(da(c>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);c=i+(b*48|0)|0;k=i+(b*48|0)+20|0;ea(k|0,da(k|0,2,0,1)|0|8|0,2,0);if(((da(M>>0|0,1,0,0)|0|0)==79?((da(I|0,4,0,0)|0)&1|0)==0:0)?((da(N+60|0,2,0,0)|0)&512)==0:0){n=i+(b*48|0)+18|0;ea(n|0,da(n|0,2,0,1)|0|1024|0,2,0);n=1024}else n=0}else{n=0;g=M;f=c}e=g+16|0;j=(da(e|0,4,0,0)|0|0)+4|0;i=da(j|0,4,0,0)|0|0;h=i&256;d=g+12|0;k=da(d|0,4,0,0)|0|0;do if((h|0)==((da(k+4|0,4,0,0)|0)&256|0)){if(h){ea(j|0,i&-257|0,4,0);break}k=(bu(L,k)|0)==0;i=da(d|0,4,0,0)|0|0;if(k)k=i;else{k=i+4|0;ea(k|0,da(k|0,4,0,0)|0|256|0,4,0);k=i}}while(0);i=da(e|0,4,0,0)|0|0;ea(e|0,k|0,4,0);ea(d|0,i|0,4,0);h=da(g>>0|0,1,0,0)|0|0;if((h&255)>79){h=((h&255)+176^2)+80&255;ea(g>>0|0,h|0,1,0)}g=da(i+4|0,4,0,0)|0|0;if(g&4096)do{if(!(g&262144))i=i+12|0;else i=da((da(i+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;i=da(i|0,4,0,0)|0|0;g=da(i+4|0,4,0,0)|0|0}while((g&4096|0)!=0);ea(f+8|0,da(i+28|0,4,0,0)|0|0,4,0);ea(f+12|0,da(i+32|0,2,0,0)|0|0,4,0);g=f+32|0;ea(g|0,J|s|0,4,0);ea(g+4|0,K|r|0,4,0);g=f+40|0;ea(g|0,l|0,4,0);ea(g+4|0,q|0,4,0);g=h&255;if((g|0)==75)g=1;else if((g|0)==76)g=128;else g=2<<g+-79&65535;ea(f+18|0,g+n&(o&65535)|0,2,0)}}else B=59;do if((B|0)==59){if(e<<24>>24==74){if((da(a+8>>0|0,1,0,0)|0|0)!=72)break;h=(da(M+20|0,4,0,0)|0|0)+4|0;d=M+36|0;e=0;while(1){l=da(34144+e>>0|0,1,0,1)|0|0;g=Lr(N,g,0,0)|0;g=Yq(L,l,g,Lr(N,da((da(h|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,0,0)|0,0)|0;if(g){l=g+4|0;ea(l|0,da(l|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(g+36|0,da(d|0,2,0,0)|0|0|0,2,0)}l=yv(a,g,3)|0;Du(a,l);f=da(O|0,4,0,0)|0|0;ea(f+(l*48|0)+4|0,b|0,4,0);ea(f+(l*48|0)+16|0,da(f+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);l=f+(b*48|0)+22|0;ea(l>>0|0,(da(l>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);e=e+1|0;if((e|0)==2)break;g=da(n|0,4,0,0)|0|0}c=f+(b*48|0)|0;break}else if(e<<24>>24!=71)break;s=lh(N,416,0)|0;d:do if(s){ew(s|0,0,416)|0;ea(f+(b*48|0)+12|0,s|0,4,0);v=f+(b*48|0)+20|0;ea(v|0,da(v|0,2,0,1)|0|16|0,2,0);ea(s|0,x|0,4,0);ea(s+4|0,0|0,4,0);v=s+12|0;ea(v|0,0|0,4,0);ea(s+16|0,8|0,4,0);w=s+20|0;ea(w|0,s+24|0,4,0);Cu(s,M,71);h=da(v|0,4,0,0)|0|0;if((h|0)>0)do{h=h+-1|0;Du(s,h)}while((h|0)>0);if(!(da(G>>0|0,1,0,0)|0)){k=da(v|0,4,0,0)|0|0;if((k|0)>0){r=x+68|0;q=-1;p=-1;d=-1;c=-1;o=da(w|0,4,0,0)|0|0;while(1){k=k+-1|0;j=o+18|0;n=da(j|0,2,0,0)|0|0;if(!(n&255)){g=lh(N,408,0)|0;if(!g){h=q;i=p;d=0;c=0}else{ea(o+12|0,g|0,4,0);i=o+20|0;ea(i|0,da(i|0,2,0,1)|0|32|0,2,0);ea(j|0,512|0,2,0);ea(g|0,da(a|0,4,0,0)|0|0,4,0);i=g+4|0;ea(i|0,0|0,4,0);h=g+12|0;ea(h|0,0|0,4,0);ea(g+16|0,8|0,4,0);l=g+20|0;ea(l|0,g+24|0,4,0);Cu(g,da(o|0,4,0,0)|0|0,72);j=da(h|0,4,0,0)|0|0;if((j|0)>0)do{j=j+-1|0;Du(g,j)}while((j|0)>0);ea(i|0,a|0,4,0);if((da(G>>0|0,1,0,0)|0|0)==0?(t=da(h|0,4,0,0)|0|0,(t|0)>0):0){j=0;i=0;c=0;m=da(l|0,4,0,0)|0|0;while(1){h=(da((da(m|0,4,0,0)|0)>>0|0,1,0,1)|0|0)+-75|0;do if(h>>>0<9){if(!(499>>>(h&511)&1))break;g=da(m+8|0,4,0,0)|0|0;e=da(r|0,4,0,0)|0|0;e:do if((e|0)>0){h=0;while(1){if((da(x+(h<<2)+72|0,4,0,0)|0|0)==(g|0))break;h=h+1|0;if((h|0)>=(e|0)){h=0;g=0;break e}}h=hw(1,0,h|0)|0;g=C}else{h=0;g=0}while(0);j=h|j;i=g|i}while(0);c=c+1|0;if((c|0)>=(t|0))break;else m=m+48|0}}else{j=0;i=0}h=j&q;i=i&p;d=0;c=0}}else{i=da(o+20|0,2,0,0)|0|0;if(!(i&8)){l=da(o+8|0,4,0,0)|0|0;g=da(r|0,4,0,0)|0|0;h=(g|0)>0;f:do if(h){j=0;while(1){if((da(x+(j<<2)+72|0,4,0,0)|0|0)==(l|0))break;j=j+1|0;if((j|0)>=(g|0)){e=0;m=0;break f}}e=hw(1,0,j|0)|0;m=C}else{e=0;m=0}while(0);if(!(i&2)){j=e;l=m}else{l=da((da(w|0,4,0,0)|0|0)+((da(o+4|0,4,0,0)|0|0)*48|0)+8|0,4,0,0)|0|0;g:do if(h){j=0;while(1){if((da(x+(j<<2)+72|0,4,0,0)|0|0)==(l|0))break;j=j+1|0;if((j|0)>=(g|0)){j=0;l=0;break g}}j=hw(1,0,j|0)|0;l=C}else{j=0;l=0}while(0);j=j|e;l=l|m}g=(n&2)==0;h=j&q;i=l&p;d=g?0:j&d;c=g?0:l&c}else{h=q;i=p}}j=(h|0)!=0|(i|0)!=0;if(!((k|0)>0&j))break;else{q=h;p=i;o=o+48|0}}l=s+408|0;ea(l|0,h|0,4,0);ea(l+4|0,i|0,4,0);ea(u|0,((h|0)==0&(i|0)==0?0:256)|0,2,0);if(j)B=104}else{d=s+408|0;ea(d|0,-1|0,4,0);ea(d+4|0,-1|0,4,0);ea(u|0,256|0,2,0);d=-1;c=-1;B=104}h:do if((B|0)==104)if((da(v|0,4,0,0)|0|0)==2){g=da(w|0,4,0,0)|0|0;h=0;i:while(1){e=h+1|0;if((da(g+18|0,2,0,0)|0|0)!=512)if(!h)j=g;else break h;else{i=da(g+12|0,4,0,0)|0|0;if((da(i+12|0,4,0,0)|0|0)<=(h|0))break h;j=(da(i+20|0,4,0,0)|0|0)+(h*48|0)|0}if(!j)break h;else k=0;while(1){if((da(g+66|0,2,0,0)|0|0)==512){i=da(g+60|0,4,0,0)|0|0;if((da(i+12|0,4,0,0)|0|0)<=(k|0)){h=e;continue i}i=(da(i+20|0,4,0,0)|0|0)+(k*48|0)|0;if(!i){h=e;continue i}}else if(!k)i=g+48|0;else{h=e;continue i}Bv(a,j,i);g=da(w|0,4,0,0)|0|0;k=k+1|0}}}while(0);if(!((d|0)==0&(c|0)==0)){m=x+68|0;l=-1;n=0;while(1){i=da(v|0,4,0,0)|0|0;if((i|0)<=0)break d;k=da(w|0,4,0,0)|0|0;while(1){e=i;i=i+-1|0;g=k+20|0;ea(g|0,(da(g|0,2,0,1)|0)&65471|0,2,0);g=da(k+8|0,4,0,0)|0|0;if((g|0)!=(l|0)){h=da(m|0,4,0,0)|0|0;j:do if((h|0)>0){j=0;while(1){if((da(x+(j<<2)+72|0,4,0,0)|0|0)==(g|0))break;j=j+1|0;if((j|0)>=(h|0)){j=0;h=0;break j}}j=hw(1,0,j|0)|0;h=C}else{j=0;h=0}while(0);if(!((j&d|0)==0&(h&c|0)==0)){j=e;break}}if((i|0)<=0)break d;else k=k+48|0}h=da(k+12|0,4,0,0)|0|0;if((j|0)<1)break d;else j=g;while(1){if((j|0)==(g|0)){if((da(k+12|0,4,0,0)|0|0)!=(h|0)){i=g;h=1;break}l=jv(da((da(k|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)|0;if(!(l<<24>>24==0|l<<24>>24==(jv(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)|0)<<24>>24)){i=g;h=1;break}l=k+20|0;ea(l|0,da(l|0,2,0,1)|0|64|0,2,0)}else{l=k+20|0;ea(l|0,(da(l|0,2,0,1)|0)&65471|0,2,0)}if((i|0)<=0){i=g;h=0;break}j=da(k+56|0,4,0,0)|0|0;i=i+-1|0;k=k+48|0}n=n+1|0;if(!((n|0)<2&h))break;else l=i}if(!h){g=da(v|0,4,0,0)|0|0;if((g|0)>0){h=0;d=0;e=da(w|0,4,0,0)|0|0;while(1){g=g+-1|0;if((da(e+20|0,2,0,0)|0)&64){h=Lr(N,da((da(e|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,0,0)|0;d=kr(da(x|0,4,0,0)|0|0,d,h)|0;h=da((da(e|0,4,0,0)|0|0)+12|0,4,0,0)|0|0}if((g|0)<=0){g=h;break}else e=e+48|0}}else{g=0;d=0}e=Yq(L,75,Lr(N,g,0,0)|0,0,0)|0;if(!e)Mk(N,d);else{l=e+4|0;ea(l|0,da(l|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(e+36|0,da(M+36|0,2,0,0)|0|0|0,2,0);ea(e+20|0,d|0,4,0);l=yv(a,e,3)|0;Du(a,l);f=da(O|0,4,0,0)|0|0;ea(f+(l*48|0)+4|0,b|0,4,0);ea(f+(l*48|0)+16|0,da(f+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);l=f+(b*48|0)+22|0;ea(l>>0|0,(da(l>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0)}ea(f+(b*48|0)+18|0,2048|0,2,0)}}}}else ea(f+(b*48|0)+12|0,0|0,4,0);while(0);c=(da(O|0,4,0,0)|0|0)+(b*48|0)|0}while(0);k:do if((da(a+8>>0|0,1,0,0)|0|0)==72){p=da(L|0,4,0,0)|0|0;if((da(M>>0|0,1,0,0)|0|0)==-103){o=M+20|0;g=da(o|0,4,0,0)|0|0;if((g|0)!=0?(da(g|0,4,0,0)|0|0)==2:0){h=da(M+8|0,4,0,0)|0|0;if(!h)g=0;else{g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-h&1073741823}g=Rh(p,h,g,2,1,0)|0;if(((((g|0)!=0?(y=da(g+2|0,2,0,0)|0|0,(y&4)!=0):0)?(F=da(g+4|0,4,0,0)|0|0,D=da(F>>0|0,1,0,0)|0|0,E=da(F+1>>0|0,1,0,0)|0|0,F=da(F+2>>0|0,1,0,0)|0|0,H=(y&65535)>>>3&1,z=(da(o|0,4,0,0)|0|0)+4|0,A=da((da(z|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,(da(A>>0|0,1,0,0)|0|0)==-102):0)?(jv(A)|0)<<24>>24==66:0)?((da((da(A+44|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&16)==0:0){f=da(da(z|0,4,0,0)|0|0,4,0,0)|0|0;l:do if(!f)f=0;else while(1){e=da(f+4|0,4,0,0)|0|0;if(!(e&4096))break l;if(!(e&262144))f=f+12|0;else f=da((da(f+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(f|0,4,0,0)|0|0;if(!f){f=0;break}}while(0);e=da(f>>0|0,1,0,0)|0|0;m=e<<24>>24==-121;do if(m){g=da(L+476|0,4,0,0)|0|0;j=da(f+32|0,2,0,0)|0|0;k=j<<16>>16;do if(!g){d=0;h=0}else{B=k+-1|0;A=da(g+60|0,4,0,0)|0|0;d=A+(B*40|0)|0;if((da(A+(B*40|0)+8|0,2,0,0)|0)&1){d=0;h=0;break}h=da(g|0,4,0,0)|0|0;i=lh(h,40,0)|0;if(!i){d=0;h=0;break}g=i+0|0;e=g+40|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(e|0));B=i+8|0;ea(B|0,1|0,2,0);ea(i+32|0,h|0,4,0);Zg(i,d)|0;if(((da(B|0,2,0,0)|0)&15)!=2){d=i;h=0;break}d=i;h=Rg(i,1)|0}while(0);g=da(L+8|0,4,0,0)|0|0;if(j<<16>>16>32){ea(g+188|0,-1|0,4,0);l=h;B=177;break}else{l=g+188|0;ea(l|0,da(l|0,4,0,0)|0|1<<k+-1|0,4,0);l=h;B=177;break}}else if(e<<24>>24==97){d=0;l=da(f+8|0,4,0,0)|0|0;B=177}else d=0;while(0);do if((B|0)==177)if(l){h=0;while(1){B=da(l+h>>0|0,1,0,0)|0|0;e=B<<24>>24==D<<24>>24;g=h+1|0;if(B<<24>>24!=F<<24>>24&((B<<24>>24==0|e|B<<24>>24==E<<24>>24)^1))h=g;else break}if(h){if((da(l+(h+-1)>>0|0,1,0,0)|0|0)==-1)break;if(e)g=(da(l+g>>0|0,1,0,0)|0|0)==0;else g=0;i=g&1;n=st(p,97,l)|0;if(n)ea((da(n+8|0,4,0,0)|0|0)+h>>0|0,0|0,1,0);do if(m){h=da(L+8|0,4,0,0)|0|0;e=da(f+32|0,2,0,0)|0|0;if(e<<16>>16>32)ea(h+188|0,-1|0,4,0);else{F=h+188|0;ea(F|0,da(F|0,4,0,0)|0|1<<(e<<16>>16)+-1|0,4,0)}if(!g){i=0;break}if(!(da((da(f+8|0,4,0,0)|0|0)+1>>0|0,1,0,0)|0))break;e=L+19|0;g=da(e>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){F=L+72|0;e=(da(F|0,4,0,0)|0|0)+1|0;ea(F|0,e|0,4,0)}else{F=g+-1<<24>>24;ea(e>>0|0,F|0,1,0);e=da(L+((F&255)<<2)+24|0,4,0,0)|0|0}hs(L,f,e)|0;f=da(h+32|0,4,0,0)|0|0;if(f>>>0>0)ea((da(h+4|0,4,0,0)|0|0)+((f+-1|0)*20|0)+12|0,0|0,4,0);Zr(L,e)}while(0);Lh(d);if(!l){B=217;break k}j=da((da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;h=Lr(N,n,0,0)|0;k=H<<16>>16!=0;do if(!k){if(da((da(L|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;d=c+20|0;ea(d|0,da(d|0,2,0,1)|0|1024|0,2,0);d=n+8|0;g=da(d|0,4,0,0)|0|0;f=da(g>>0|0,1,0,0)|0|0;if(!(f<<24>>24))break;c=h+8|0;e=0;do{F=f&255;ea(g>>0|0,((da(10368+F>>0|0,1,0,1)|0|223)^32)&F|0,1,0);ea((da(c|0,4,0,0)|0|0)+e>>0|0,da(9328+F>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;g=(da(d|0,4,0,0)|0|0)+e|0;f=da(g>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}while(0);if(!(da(G>>0|0,1,0,0)|0)){f=da(h+8|0,4,0,0)|0|0;if(!f)e=-1;else{e=f;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;e=(e-f&1073741823)+-1|0}f=f+e|0;e=da(f>>0|0,1,0,0)|0|0;if(k)d=i;else{d=e<<24>>24==64?0:i;e=da(9328+(e&255)>>0|0,1,0,0)|0|0}ea(f>>0|0,(e&255)+1|0,1,0);g=d}else g=i;d=H<<16>>16==0?13752:11152;e=Yq(L,83,wv(L,Lr(N,j,0,0)|0,d)|0,n,0)|0;if(e){H=e+4|0;ea(H|0,da(H|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(e+36|0,da(M+36|0,2,0,0)|0|0|0,2,0)}f=yv(a,e,259)|0;Du(a,f);d=Yq(L,82,wv(L,Lr(N,j,0,0)|0,d)|0,h,0)|0;if(d){H=d+4|0;ea(H|0,da(H|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(d+36|0,da(M+36|0,2,0,0)|0|0|0,2,0)}d=yv(a,d,259)|0;Du(a,d);e=da(O|0,4,0,0)|0|0;c=e+(b*48|0)|0;if(!g){B=217;break k}ea(e+(f*48|0)+4|0,b|0,4,0);I=e+(b*48|0)+16|0;ea(e+(f*48|0)+16|0,da(I|0,2,0,0)|0|0|0,2,0);B=e+(b*48|0)+22|0;ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);ea(e+(d*48|0)+4|0,b|0,4,0);ea(e+(d*48|0)+16|0,da(I|0,2,0,0)|0|0|0,2,0);ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);B=217;break k}}while(0);Lh(d);B=217}else B=217}else B=217}}else B=217;while(0);if((B|0)==217)if(((((da(M>>0|0,1,0,0)|0|0)==-103?(cd(da(M+8|0,4,0,0)|0|0,31416)|0)==0:0)?(P=da(M+20|0,4,0,0)|0|0,(da(P|0,4,0,0)|0|0)==2):0)?(Q=da(P+4|0,4,0,0)|0|0,R=da(Q+20|0,4,0,0)|0|0,(da(R>>0|0,1,0,0)|0|0)==-102):0)?(S=da(Q|0,4,0,0)|0|0,T=zv(V,S)|0,U=C,V=zv(V,R)|0,(V&T|0)==0&(C&U|0)==0):0){S=yv(a,Yq(L,51,0,Lr(N,S,0,0)|0,0)|0,3)|0;c=da(O|0,4,0,0)|0|0;V=c+(S*48|0)+32|0;ea(V|0,T|0,4,0);ea(V+4|0,U|0,4,0);ea(c+(S*48|0)+8|0,da(R+28|0,4,0,0)|0|0,4,0);ea(c+(S*48|0)+12|0,da(R+32|0,2,0,0)|0|0,4,0);ea(c+(S*48|0)+18|0,64|0,2,0);ea(c+(S*48|0)+4|0,b|0,4,0);ea(c+(S*48|0)+16|0,da(c+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);T=c+(b*48|0)+22|0;ea(T>>0|0,(da(T>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);T=c+(b*48|0)+20|0;ea(T|0,da(T|0,2,0,1)|0|8|0,2,0);T=c+(b*48|0)+40|0;V=da(T+4|0,4,0,0)|0|0;U=c+(S*48|0)+40|0;ea(U|0,da(T|0,4,0,0)|0|0,4,0);ea(U+4|0,V|0,4,0);c=c+(b*48|0)|0}V=c+32|0;U=V;b=da(U+4|0,4,0,0)|0|K;ea(V|0,da(U|0,4,0,0)|0|J|0,4,0);ea(V+4|0,b|0,4,0)}while(0);return}function Eu(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0;k=i;i=i+112|0;if((i|0)>=(j|0))ba();h=k;f=Cv(h,a,b,c,f,g)|0;a:do if(!f)f=0;else{g=f;f=0;do{b=g+32|0;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if((c&d|0)==0&(b&e|0)==0){if((c|0)==0&(b|0)==0?((da(g+18|0,2,0,0)|0)&2)!=0:0){f=g;break a}f=(f|0)==0?g:f}g=Dv(h)|0}while((g|0)!=0)}while(0);i=k;return f|0}function Fu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,_=0,aa=0,ca=0,ga=0,ha=0,ia=0,ja=0,ka=0;ja=i;i=i+16|0;if((i|0)>=(j|0))ba();ga=ja;q=da(a|0,4,0,0)|0|0;aa=da(q|0,4,0,0)|0|0;ha=da(aa|0,4,0,0)|0|0;_=da(a+4|0,4,0,0)|0|0;ca=da(a+12|0,4,0,0)|0|0;p=da(ca+16>>0|0,1,0,1)|0|0;q=da(q+4|0,4,0,0)|0|0;X=da(q+(p*72|0)+24|0,4,0,0)|0|0;s=da(a+8|0,4,0,0)|0|0;Y=_+20|0;_=_+12|0;d=da(_|0,4,0,0)|0|0;if((d|0)>0){f=da(q+(p*72|0)+48|0,4,0,0)|0|0;g=0;e=0;h=da(Y|0,4,0,0)|0|0;while(1){if((da(h+8|0,4,0,0)|0|0)==(f|0))e=(((da(h+18|0,2,0,0)|0)&-1153)<<16>>16!=0&1)+e|0;g=g+1|0;if((g|0)==(d|0))break;else h=h+48|0}}else e=0;if(!s)o=0;else{m=da(s|0,4,0,0)|0|0;a:do if((m|0)>0){h=da(s+4|0,4,0,0)|0|0;g=q+(p*72|0)+48|0;l=0;while(1){f=da(h+(l*20|0)|0,4,0,0)|0|0;if((da(f>>0|0,1,0,0)|0|0)!=-102){d=l;break a}d=l+1|0;if((da(f+28|0,4,0,0)|0|0)!=(da(g|0,4,0,0)|0|0)){d=l;break a}if((d|0)<(m|0))l=d;else break}}else d=0;while(0);o=(d|0)==(m|0)?m:0}d=(e*20|0)+56+(o<<3)|0;W=lh(ha,d,0)|0;do if(!W){sh(aa,15776,ga);d=7}else{ew(W|0,0,d|0)|0;d=W+56|0;n=d+(e*12|0)|0;ea(W|0,e|0,4,0);T=W+8|0;ea(T|0,o|0,4,0);U=W+4|0;ea(U|0,d|0,4,0);ea(W+12|0,n|0,4,0);V=W+16|0;ea(V|0,n+(o<<3)|0,4,0);f=da(_|0,4,0,0)|0|0;if((f|0)>0){l=da(q+(p*72|0)+48|0,4,0,0)|0|0;h=0;m=0;g=da(Y|0,4,0,0)|0|0;while(1){if((da(g+8|0,4,0,0)|0|0)==(l|0)?(t=da(g+18|0,2,0,0)|0|0,(t&-1153)<<16>>16!=0):0){ea(d+(m*12|0)|0,da(g+12|0,4,0,0)|0|0,4,0);ea(d+(m*12|0)+8|0,h|0,4,0);ea(d+(m*12|0)+4>>0|0,((t&255)==1?2:t&255)|0,1,0);m=m+1|0}h=h+1|0;if((h|0)==(f|0))break;else g=g+48|0}}if((o|0)>0){d=da(s+4|0,4,0,0)|0|0;e=0;do{ea(n+(e<<3)|0,da((da(d+(e*20|0)|0,4,0,0)|0|0)+32|0,2,0,0)|0|0,4,0);ea(n+(e<<3)+4>>0|0,da(d+(e*20|0)+12>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0}while((e|0)!=(o|0))}v=ca;ea(v|0,0|0,4,0);ea(v+4|0,0|0,4,0);v=ca+18|0;ea(v|0,0|0,2,0);ea(ca+36|0,1024|0,4,0);w=ca+40|0;ea(w|0,0|0,2,0);x=ca+28|0;ea(x>>0|0,0|0,1,0);y=da(V|0,4,0,0)|0|0;z=da(W|0,4,0,0)|0|0;if(Mu(ha,ca,z)|0){lg(ha,W);d=7;break}R=W+28|0;S=W+24|0;A=W+20|0;B=W+32|0;D=W+40|0;E=W+48|0;F=X+60|0;G=aa+64|0;H=(z|0)>0;I=ca+30|0;J=ca+24|0;K=ca+32|0;L=ca+29|0;O=ca+20|0;P=ca+22|0;Q=ca+48|0;q=0;t=0;s=0;b:while(1){if(!((t|0)!=0|(q&1|0)==0))if((q|0)>2){d=0;break}else u=q+1|0;else u=q;if((s|0)==0&(u|0)>1){d=0;break}h=da(W|0,4,0,0)|0|0;if((h|0)>0){e=da(Y|0,4,0,0)|0|0;f=0;g=da(U|0,4,0,0)|0|0;while(1){q=da(g+8|0,4,0,0)|0|0;if((u|0)==2)ea(g+5>>0|0,(da(e+(q*48|0)+18|0,2,0,0)|0)&1^1|0,1,0);else if(!u){d=g+5|0;ea(d>>0|0,0|0,1,0);p=((da(e+(q*48|0)+18|0,2,0,0)|0)&1)==0;t=p?t:1;q=e+(q*48|0)+32|0;q=(da(q|0,4,0,0)|0|0)!=0|(da(q+4|0,4,0,0)|0|0)!=0;if(q|p^1)s=q?1:s;else ea(d>>0|0,1|0,1,0)}else if((u|0)==1){p=e+(q*48|0)+32|0;ea(g+5>>0|0,(da(p|0,4,0,0)|0|0)==0&(da(p+4|0,4,0,0)|0|0)==0&1|0,1,0)}else ea(g+5>>0|0,1|0,1,0);f=f+1|0;if((f|0)>=(h|0)){p=t;break}else g=g+12|0}}else p=t;ew(y|0,0,h<<3|0)|0;if(da(R|0,4,0,0)|0)Vc(da(S|0,4,0,0)|0|0);ea(A+0|0,0|0,4,0);ea(A+4|0,0|0,4,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(D|0,+(5.e+98),8,1);d=E;ea(d|0,25|0,4,0);ea(d+4|0,0|0,4,0);d=da(aa|0,4,0,0)|0|0;q=F;while(1){q=da(q|0,4,0,0)|0|0;if((da(q|0,4,0,0)|0|0)==(d|0))break;else q=q+24|0}t=da(q+8|0,4,0,0)|0|0;q=qc[(fa(da((da(t|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,127|0)|0)&127](t,W)|0;do if((q|0)==7)ea((da(aa|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);else if(q){d=da(t+8|0,4,0,0)|0|0;if(d){ea(ga|0,d|0,4,0);sh(aa,10344,ga);break}if((q|0)!=516){q=q&255;if(q>>>0>26|(q|0)==2)q=16328;else q=da(15488+(q<<2)|0,4,0,0)|0|0}else q=16344;ea(ga|0,q|0,4,0);sh(aa,10344,ga)}while(0);q=t+8|0;Vc(da(q|0,4,0,0)|0|0);ea(q|0,0|0,4,0);q=da(W|0,4,0,0)|0|0;if((q|0)>0){d=0;do{if((da((da(U|0,4,0,0)|0|0)+(d*12|0)+5>>0|0,1,0,0)|0|0)==0?(da((da(V|0,4,0,0)|0|0)+(d<<3)|0,4,0,0)|0|0)>0:0){ea(ga|0,da(X|0,4,0,0)|0|0,4,0);sh(aa,34096,ga);q=da(W|0,4,0,0)|0|0}d=d+1|0}while((d|0)<(q|0))}d=da(G|0,4,0,0)|0|0;if(d)break;t=da(U|0,4,0,0)|0|0;o=ca;ea(o|0,b|0,4,0);ea(o+4|0,c|0,4,0);c:do if(H){q=0;do{ea((da(Q|0,4,0,0)|0|0)+(q<<2)|0,0|0,4,0);q=q+1|0}while((q|0)!=(z|0));ea(I|0,0|0,2,0);if(H){f=b;e=c;d=0;o=0;q=-1;while(1){h=da(y+(o<<3)|0,4,0,0)|0|0;l=h+-1|0;do if((h|0)>0){m=da(t+8|0,4,0,0)|0|0;if((h|0)>(z|0)|(m|0)<0){ia=65;break b}if((m|0)>=(da(_|0,4,0,0)|0|0)){ia=65;break b}g=(da(Q|0,4,0,0)|0|0)+(l<<2)|0;if(da(g|0,4,0,0)|0){ia=65;break b}n=da(Y|0,4,0,0)|0|0;ka=n+(m*48|0)+32|0;f=f|(da(ka|0,4,0,0)|0);e=e|(da(ka+4|0,4,0,0)|0);ka=ca;ea(ka|0,f|0,4,0);ea(ka+4|0,e|0,4,0);ea(g|0,n+(m*48|0)|0,4,0);q=(l|0)>(q|0)?l:q;do if((h|0)<17){if(!(da(y+(o<<3)+4>>0|0,1,0,0)|0))break;d=(d&65535|1<<l)&65535;ea(I|0,d|0,2,0)}while(0);if(!((da(n+(m*48|0)+18|0,2,0,0)|0)&1))break;if(!(da(y+(o<<3)+4>>0|0,1,0,0)|0))break c;ea(B|0,0|0,4,0)}while(0);o=o+1|0;if((o|0)>=(z|0)){ia=73;break}else t=t+12|0}}else{q=-1;ia=73}}else{ea(I|0,0|0,2,0);q=-1;ia=73}while(0);if((ia|0)==73){ia=0;ea(w|0,q+1|0,2,0);ea(J|0,da(A|0,4,0,0)|0|0,4,0);ea(x>>0|0,da(R|0,4,0,0)|0|0,1,0);ea(R|0,0|0,4,0);ea(K|0,da(S|0,4,0,0)|0|0,4,0);if(!(da(B|0,4,0,0)|0))q=0;else q=(da(T|0,4,0,0)|0)&255;ea(L>>0|0,q|0,1,0);ea(v|0,0|0,2,0);r=+(+da(D|0,8,1,0));ea(k|0,+r,8,1);q=da(k|0,4,0,0)|0|0;d=da(k+4|0,4,0,0)|0|0;do if(!(r<=1.0))if(!(r<=2.0e9)){q=lw(q|0,d|0,52)|0;q=iw(q|0,C|0,64514,0)|0;q=(q<<16>>16)*10&65535;break}else{q=es(~~r>>>0,+N(r)>=1.0?(r>0.0?~~+$(+M(r/4294967296.0),4294967295.0)>>>0:~~+Z((r-+(~~r>>>0))/4294967296.0)>>>0):0)|0;break}else q=0;while(0);ea(O|0,q|0,2,0);o=E;ea(P|0,es(da(o|0,4,0,0)|0|0,da(o+4|0,4,0,0)|0|0)|0|0,2,0);Ev(a,ca)|0;if(da(x>>0|0,1,0,0)|0){Vc(da(K|0,4,0,0)|0|0);ea(x>>0|0,0|0,1,0)}}q=u+1|0;if((q|0)>=4){d=0;break}else t=p}if((ia|0)==65){ea(ga|0,da(X|0,4,0,0)|0|0,4,0);sh(aa,34064,ga);d=1}if(da(R|0,4,0,0)|0)Vc(da(S|0,4,0,0)|0|0);lg(ha,W)}while(0);i=ja;return d|0}function Gu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+64|0;if((i|0)>=(j|0))ba();k=Y;h=Y+56|0;g=Y+52|0;ea(g|0,-1|0,2,0);V=da(a+12|0,4,0,0)|0|0;W=da(a|0,4,0,0)|0|0;D=da(W+4|0,4,0,0)|0|0;E=da(V+16>>0|0,1,0,1)|0|0;Q=D+(E*72|0)+8|0;f=D+(E*72|0)+24|0;F=da(f|0,4,0,0)|0|0;R=da(a+4|0,4,0,0)|0|0;S=D+(E*72|0)+76|0;d=da(S|0,4,0,0)|0|0;do if(!d){if((da(F+44>>0|0,1,0,0)|0)&32){k=da(F+8|0,4,0,0)|0|0;break}d=k+0|0;e=d+52|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(e|0));ea(k+46|0,1|0,2,0);ea(k+48|0,1|0,2,0);ea(k+4|0,g|0,4,0);ea(k+8|0,h|0,4,0);ea(k+50>>0|0,5|0,1,0);ea(k+12|0,F|0,4,0);ea(k+44|0,da(F+42|0,2,0,0)|0|0|0,2,0);ea(h|0,da(F+28|0,2,0,0)|0|0|0,2,0);ea(h+2|0,0|0,2,0);if(!((da(D+(E*72|0)+45>>0|0,1,0,0)|0)&1))ea(k+20|0,da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,4,0)}else k=d;while(0);h=da(F+28|0,2,0,0)|0|0;if(h<<16>>16<11)y=0;else{y=h<<16>>16;y=((es(y,((y|0)<0)<<31>>31)|0)&65535)+65503&65535}if(((((((da(a+16|0,4,0,0)|0|0)==0?((da(W+34|0,2,0,0)|0)&128)==0:0)?((da((da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)+24|0,4,0,0)|0)&1048576|0)!=0:0)?(da(S|0,4,0,0)|0|0)==0:0)?(l=da(D+(E*72|0)+45>>0|0,1,0,0)|0|0,(l&5)==0):0)?(B=F+44|0,(l&10|(da(B>>0|0,1,0,0)|0)&32)<<24>>24==0):0)?(z=da(R+20|0,4,0,0)|0|0,P=da(R+12|0,4,0,0)|0|0,A=z+(P*48|0)|0,(P|0)>0):0){s=V+8|0;t=V+24|0;u=V+42|0;v=V+28|0;w=V+40|0;x=V+48|0;o=(y&65535)+(h&65535)|0;e=o+4&65535;m=V+18|0;n=F+12|0;o=o+28&65535;p=V+22|0;q=V+20|0;r=V+36|0;f=z;do{l=f+32|0;h=l;g=s;if((((da(g|0,4,0,0)|0)&(da(h|0,4,0,0)|0)|0)==0?((da(g+4|0,4,0,0)|0)&(da(h+4|0,4,0,0)|0)|0)==0:0)?(Lu(f,Q,0,0)|0)!=0:0){ea(t|0,1|0,2,0);ea(u|0,0|0,2,0);ea(v|0,0|0,4,0);ea(w|0,1|0,2,0);ea(da(x|0,4,0,0)|0|0,f|0,4,0);ea(m|0,e|0,2,0);if((da(n|0,4,0,0)|0|0)==0?((da(B>>0|0,1,0,0)|0)&2)==0:0)ea(m|0,o|0,2,0);ea(p|0,43|0,2,0);ea(q|0,Fv(y,43)|0|0,2,0);ea(r|0,16384|0,4,0);O=l;d=da(O+4|0,4,0,0)|0|c;P=V;ea(P|0,da(O|0,4,0,0)|0|b|0,4,0);ea(P+4|0,d|0,4,0);d=Ev(a,V)|0}else d=0;f=f+48|0}while((d|0)==0&f>>>0<A>>>0)}else d=0;P=V+36|0;a:do if((d|0)==0&(k|0)!=0){G=V+24|0;H=V+42|0;I=V+40|0;J=V+17|0;K=V+18|0;L=V+22|0;M=V+28|0;N=D+(E*72|0)+48|0;O=V+20|0;u=D+(E*72|0)+64|0;A=F+42|0;D=F+44|0;p=W+34|0;q=R+12|0;s=R+20|0;t=1;while(1){l=da(k+36|0,4,0,0)|0|0;d=da(N|0,4,0,0)|0|0;b:do if(l){h=da(q|0,4,0,0)|0|0;if((h|0)>0){f=0;e=da(s|0,4,0,0)|0|0;while(1){g=da(e|0,4,0,0)|0|0;if(Gv(g,l,d)|0){if(!((da(g+4|0,4,0,0)|0)&1)){X=32;break b}if((da(g+36|0,2,0,0)|0|0)==(d|0)){X=32;break b}}f=f+1|0;if((f|0)>=(h|0)){d=0;break}else e=e+48|0}}else d=0}else X=32;while(0);if((X|0)==32){X=0;E=da(da(k+8|0,4,0,0)|0|0,2,0,0)|0|0;ea(G|0,0|0,2,0);ea(H|0,0|0,2,0);ea(I|0,0|0,2,0);ea(J>>0|0,0|0,1,0);ea(K|0,0|0,2,0);F=V;ea(F|0,b|0,4,0);ea(F+4|0,c|0,4,0);ea(L|0,E|0,2,0);ea(M|0,k|0,4,0);F=k+51|0;l=da(F>>0|0,1,0,0)|0|0;c:do if(((l&4)==0?(T=da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,(T|0)!=0):0)?(U=da(T|0,4,0,0)|0|0,(U|0)>0):0){B=da(T+4|0,4,0,0)|0|0;o=k+46|0;n=k+4|0;m=0;while(1){r=da(B+(m*20|0)|0,4,0,0)|0|0;d:do if(!r)r=0;else while(1){y=da(r+4|0,4,0,0)|0|0;if(!(y&4096))break d;if(!(y&262144))r=r+12|0;else r=da((da(r+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;r=da(r|0,4,0,0)|0|0;if(!r){r=0;break}}while(0);if((da(r>>0|0,1,0,0)|0|0)!=-102){B=0;break c}if((da(r+28|0,4,0,0)|0|0)==(d|0)){x=da(r+32|0,2,0,0)|0|0;if(x<<16>>16<0){B=1;break c}y=da(o|0,2,0,0)|0|0;if(y<<16>>16){w=da(n|0,4,0,0)|0|0;y=y&65535;z=0;do{if(x<<16>>16==(da(w+(z<<1)|0,2,0,0)|0|0)){B=1;break c}z=z+1|0}while((z|0)<(y|0))}}m=m+1|0;if((m|0)>=(U|0)){B=0;break}}}else B=0;while(0);do if((da(k+40|0,4,0,0)|0|0)<1){ea(P|0,256|0,4,0);ea(J>>0|0,((B|0)!=0?t&255:0)|0,1,0);ea(O|0,(E&65535)+16|0,2,0);Hv(R,V,E);d=Ev(a,V)|0;ea(L|0,E|0,2,0);if(d)break a}else{if(!(l&32)){v=u;w=da(v|0,4,0,0)|0|0;v=da(v+4|0,4,0,0)|0|0;z=k+4|0;r=0;l=0;x=da(k+48|0,2,0,1)|0|0;e:while(1){y=x;while(1){x=y+-1|0;if((y|0)<=0)break e;y=da((da(z|0,4,0,0)|0|0)+(x<<1)|0,2,0,0)|0|0;if((y&65535)<63)break;else y=x}o=hw(1,0,y<<16>>16|0)|0;r=o|r;l=C|l}o=w&~r;l=v&~l;x=o;w=l;l=(o|0)==0&(l|0)==0?576:512}else{x=0;w=0;l=576}ea(P|0,l|0,4,0);l=(B|0)!=0;if(!l?((da(D>>0|0,1,0,0)|0)&32)==0:0){if(!((x|0)==0&(w|0)==0))break;if((da(F>>0|0,1,0,0)|0)&4)break;if((da(k+44|0,2,0,0)|0|0)>=(da(A|0,2,0,0)|0|0))break;if(!(((da(p|0,2,0,0)|0)&4)==0&(da(2190*4|0,4,0,0)|0|0)!=0))break;if((da((da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)+60|0,2,0,0)|0)&64)break}ea(J>>0|0,(l?t&255:0)|0,1,0);h=E<<16>>16;l=h+1+(((da(k+44|0,2,0,0)|0|0)*15|0)/(da(A|0,2,0,0)|0|0)|0)&65535;if(!((x|0)==0&(w|0)==0))l=Fv(l,h+16&65535)|0;ea(O|0,l|0,2,0);Hv(R,V,E);d=Ev(a,V)|0;ea(L|0,E|0,2,0);if(d)break a}while(0);d=Iv(a,Q,k,0)|0;if(da(S|0,4,0,0)|0)break a}k=da(k+20|0,4,0,0)|0|0;if(!((d|0)==0&(k|0)!=0))break;else t=t+1|0}}while(0);i=Y;return d|0}function Hu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;W=i;i=i+608|0;if((i|0)>=(j|0))ba();U=W+168|0;S=W+576|0;T=W+112|0;Q=W+56|0;R=W;d=da(a|0,4,0,0)|0|0;N=da(a+4|0,4,0,0)|0|0;h=da(N+20|0,4,0,0)|0|0;g=da(N+12|0,4,0,0)|0|0;P=h+(g*48|0)|0;M=da(a+12|0,4,0,0)|0|0;e=T+0|0;f=e+56|0;do{ea(e|0,0|0,4,0);e=e+4|0}while((e|0)<(f|0));f=da(d+4|0,4,0,0)|0|0;e=da(M+16>>0|0,1,0,1)|0|0;L=da(f+(e*72|0)+48|0,4,0,0)|0|0;a:do if((g|0)>0){v=M+8|0;w=S+8|0;x=S+16|0;y=M+40|0;z=M+48|0;A=M+36|0;B=M+18|0;C=M+17|0;D=M+24|0;E=M+20|0;F=M+22|0;G=U+4|0;H=U+8|0;I=U+12|0;J=U+20|0;K=S+4|0;r=f+(e*72|0)+24|0;s=R+8|0;t=T+8|0;u=Q+8|0;while(1){b:do if(((da(h+18|0,2,0,0)|0)&256)!=0?(O=da(h+12|0,4,0,0)|0|0,g=O+408|0,f=v,!(((da(f|0,4,0,0)|0)&(da(g|0,4,0,0)|0)|0)==0?((da(f+4|0,4,0,0)|0)&(da(g+4|0,4,0,0)|0)|0)==0:0)):0){g=O+20|0;q=(da(g|0,4,0,0)|0|0)+((da(O+12|0,4,0,0)|0|0)*48|0)|0;ea(S+0|0,da(a+0|0,4,0,0)|0|0,4,0);ea(S+4|0,da(a+4|0,4,0,0)|0|0,4,0);ea(S+8|0,da(a+8|0,4,0,0)|0|0,4,0);ea(S+12|0,da(a+12|0,4,0,0)|0|0,4,0);ea(w|0,0|0,4,0);ea(x|0,Q|0,4,0);g=da(g|0,4,0,0)|0|0;c:do if(g>>>0<q>>>0){e=1;d=0;d:while(1){if(!((da(g+18|0,2,0,0)|0)&512))if((da(g+8|0,4,0,0)|0|0)==(L|0)){ea(U|0,da(N|0,4,0,0)|0|0,4,0);ea(G|0,N|0,4,0);ea(H>>0|0,72|0,1,0);ea(I|0,1|0,4,0);ea(J|0,g|0,4,0);f=U;V=10}else f=e;else{f=da(g+12|0,4,0,0)|0|0;V=10}do if((V|0)==10){V=0;ea(K|0,f|0,4,0);ea(Q|0,0|0,2,0);if(!((da((da(r|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&16))d=Gu(S,b,c)|0;else d=Fu(S,b,c)|0;if(!d)d=Hu(S,b,c)|0;f=da(Q|0,2,0,0)|0|0;if(!(f<<16>>16))break d;if(e){ea(T|0,f|0,2,0);jw(t|0,u|0,(f&65535)<<4|0)|0;f=0;break}o=da(T|0,2,0,0)|0|0;ea(R|0,o|0,2,0);p=o&65535;jw(s|0,t|0,p<<4|0)|0;ea(T|0,0|0,2,0);if(!(o<<16>>16))f=0;else{o=0;do{if(!(f<<16>>16))f=0;else{k=R+(o<<4)+8|0;e=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;l=da(R+(o<<4)+16|0,2,0,0)|0|0;m=da(R+(o<<4)+18|0,2,0,0)|0|0;n=0;do{X=Q+(n<<4)+8|0;Y=da(X|0,4,0,0)|0|e;X=da(X+4|0,4,0,0)|0|k;f=Fv(l,da(Q+(n<<4)+16|0,2,0,0)|0|0)|0;Jv(T,Y,X,f,Fv(m,da(Q+(n<<4)+18|0,2,0,0)|0|0)|0);n=n+1|0;f=da(Q|0,2,0,0)|0|0}while((n|0)<(f&65535|0))}o=o+1|0}while((o|0)<(p|0));f=0}}while(0);g=g+48|0;if(g>>>0>=q>>>0)break c;else e=f}ea(T|0,0|0,2,0)}else d=0;while(0);ea(y|0,1|0,2,0);ea(da(z|0,4,0,0)|0|0,h|0,4,0);ea(A|0,8192|0,4,0);ea(B|0,0|0,2,0);ea(C>>0|0,0|0,1,0);ea(D+0|0,0|0,4,0);ea(D+4|0,0|0,4,0);ea(D+8|0,0|0,4,0);if(d)break a;g=da(T|0,2,0,1)|0|0;f=0;while(1){if((f|0)>=(g|0))break b;ea(E|0,(da(T+(f<<4)+16|0,2,0,1)|0|0)+1|0,2,0);ea(F|0,da(T+(f<<4)+18|0,2,0,0)|0|0|0,2,0);n=T+(f<<4)+8|0;d=da(n+4|0,4,0,0)|0|0;o=M;ea(o|0,da(n|0,4,0,0)|0|0,4,0);ea(o+4|0,d|0,4,0);d=Ev(a,M)|0;if(!d)f=f+1|0;else break a}}while(0);h=h+48|0;if(h>>>0>=P>>>0){d=0;break}}}else d=0;while(0);i=W;return d|0}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b+48|0;d=da(c|0,4,0,0)|0|0;e=b+56|0;if((d|0)!=(e|0))lg(a,d);Kv(a,b);ea(c|0,e|0,4,0);ea(b+40|0,0|0,2,0);ea(b+44|0,3|0,2,0);ea(b+36|0,0|0,4,0);return}function Ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+32|0;if((i|0)>=(j|0))ba();Y=ja+24|0;V=ja+16|0;aa=ja+8|0;ia=ja;X=da(a|0,4,0,0)|0|0;fa=da(X|0,4,0,0)|0|0;k=da(a+41>>0|0,1,0,0)|0|0;ga=k&255;if((k&255)<2)R=1;else R=k<<24>>24==2?5:10;ha=a+8|0;f=da(ha|0,4,0,0)|0|0;Z=b<<16>>16==0;if((f|0)==0|Z)Q=0;else Q=da(f|0,4,0,0)|0|0;g=Q<<1;ca=g+(_((ga<<3)+64|0,R)|0)|0;ca=lh(fa,ca,((ca|0)<0)<<31>>31)|0;do if(ca){f=ca+(R<<5)|0;ea(f+0|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(f+8|0,0|0,4,0);ea(f+12|0,0|0,4,0);ea(f+16|0,0|0,4,0);ea(f+20|0,0|0,4,0);ea(f+24|0,0|0,4,0);ea(f+28|0,0|0,4,0);c=R<<1;h=_(R,-2)|0;h=ca+((_((((h|0)>-1?h:1073741823)+(R<<1)<<2)+4|0,ga)|0)+(R<<6))|0;e=c;d=ca;c=ca+(c<<5)|0;while(1){ea(d+24|0,c|0,4,0);e=e+-1|0;if((e|0)<=0)break;else{d=d+32|0;c=c+(ga<<2)|0}}e=(Q|0)!=0;if(e)ew(h|0,0,g|0)|0;else h=0;P=da(X+424|0,4,0,0)|0|0;ea(ca+(R<<5)+16|0,(P>>>0<48?P&65535:48)|0,2,0);if(e)ea(ca+(R<<5)+22>>0|0,(k<<24>>24!=0?-1:Q&255)|0,1,0);P=k<<24>>24==0;if(!P){L=a+16|0;M=a+34|0;N=b<<16>>16<11;O=(b&65535)+16|0;I=b<<16>>16;J=((I|0)<0)<<31>>31;K=R>>>0>1;c=ca;H=0;g=0;k=0;b=0;d=1;while(1){if((d|0)>0){C=H&65535;D=H<<2;E=c+18|0;F=c+16|0;G=0;e=0;B=f;while(1){l=da(L|0,4,0,0)|0|0;if(l){w=B+22|0;x=B+16|0;y=B+20|0;z=B+24|0;A=B+8|0;v=e;while(1){o=da(w>>0|0,1,0,0)|0|0;e=V;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=l;n=B;m=da(n|0,4,0,0)|0|0;n=da(n+4|0,4,0,0)|0|0;a:do if((((da(e|0,4,0,0)|0)&~m|0)==0?((da(e+4|0,4,0,0)|0)&~n|0)==0:0)?(S=l+8|0,U=S,T=da(U|0,4,0,0)|0|0,U=da(U+4|0,4,0,0)|0|0,(T&m|0)==0&(U&n|0)==0):0){s=da(x|0,2,0,1)|0|0;t=Fv(da(l+18|0,2,0,0)|0|0,s+(da(l+20|0,2,0,1)|0|0)&65535)|0;t=Fv(t,da(y|0,2,0,0)|0|0)|0;s=(da(l+22|0,2,0,1)|0|0)+s|0;u=s&65535;r=T|m;q=U|n;if(o<<24>>24<0)o=Lv(a,da(ha|0,4,0,0)|0|0,B,da(M|0,2,0,0)|0|0,C,l,V)|0;else{n=A;m=da(n+4|0,4,0,0)|0|0;e=V;ea(e|0,da(n|0,4,0,0)|0|0,4,0);ea(e+4|0,m|0,4,0)}n=o<<24>>24;if(o<<24>>24>-1&(Q|0)>(n|0)){p=h+(n<<1)|0;m=da(p|0,2,0,0)|0|0;if(!(m<<16>>16)){n=((Q-n|0)*100|0)/(Q|0)|0;n=(es(n,((n|0)<0)<<31>>31)|0)&65535;if(N)e=0;else e=((es(I,J)|0)&65535)+65503&65535;n=O+(((n<<16)+-4325376|0)>>>16)+e|0;if((da(M|0,2,0,0)|0)&1024)n=(n&65535)+16|0;m=n&65535;ea(p|0,m|0,2,0)}p=Fv(t,m)|0}else p=t;b:do if((v|0)>0){e=0;m=c;while(1){n=m;if(((da(n|0,4,0,0)|0|0)==(r|0)?(da(n+4|0,4,0,0)|0|0)==(q|0):0)?((da(m+22>>0|0,1,0,0)|0)^o)<<24>>24>-1:0)break;e=e+1|0;if((e|0)>=(v|0)){W=35;break b}else m=m+32|0}e=da(m+18|0,2,0,0)|0|0;if(e<<16>>16<p<<16>>16){e=v;break a}if(e<<16>>16!=p<<16>>16){e=v;break}if((da(m+16|0,2,0,0)|0|0)>(s<<16>>16|0))e=v;else{e=v;break a}}else W=35;while(0);if((W|0)==35){W=0;m=(v|0)<(R|0);if(!m){if(p<<16>>16>g<<16>>16){e=v;break}if(!(p<<16>>16!=g<<16>>16?1:t<<16>>16<b<<16>>16)){e=v;break}}e=(m&1)+v|0;m=c+((m?v:k)<<5)|0}q=B;s=S;r=da(s+4|0,4,0,0)|0|(da(q+4|0,4,0,0)|0);n=m;ea(n|0,da(s|0,4,0,0)|0|(da(q|0,4,0,0)|0)|0,4,0);ea(n+4|0,r|0,4,0);r=V;n=da(r+4|0,4,0,0)|0|0;q=m+8|0;ea(q|0,da(r|0,4,0,0)|0|0,4,0);ea(q+4|0,n|0,4,0);ea(m+16|0,u|0,2,0);ea(m+18|0,p|0,2,0);ea(m+20|0,t|0,2,0);ea(m+22>>0|0,o|0,1,0);m=m+24|0;jw(da(m|0,4,0,0)|0|0,da(z|0,4,0,0)|0|0,D|0)|0;ea((da(m|0,4,0,0)|0|0)+(H<<2)|0,l|0,4,0);if((e|0)<(R|0))break;g=da(E|0,2,0,0)|0|0;b=da(F|0,2,0,0)|0|0;if(K){o=c;p=1;n=g;k=0;m=b}else{k=0;break}while(1){g=da(o+50|0,2,0,0)|0|0;do if(g<<16>>16<=n<<16>>16){if(g<<16>>16!=n<<16>>16){g=n;b=m;break}b=da(o+52|0,2,0,0)|0|0;if(b<<16>>16>m<<16>>16)W=48;else{g=n;b=m}}else{b=da(o+52|0,2,0,0)|0|0;W=48}while(0);o=o+32|0;if((W|0)==48){W=0;k=p}p=p+1|0;if((p|0)>=(R|0))break;else{n=g;m=b}}}else e=v;while(0);l=da(l+52|0,4,0,0)|0|0;if(!l)break;else v=e}}G=G+1|0;if((G|0)==(d|0)){d=e;break}else B=B+32|0}}else d=0;H=H+1|0;if((H|0)>=(ga|0))break;else{G=c;c=f;f=G}}if(!d){sh(X,34008,Y);lg(fa,ca);break}if((d|0)>1){e=1;f=c;do{if((da(f+18|0,2,0,0)|0|0)>(da(c+(e<<5)+18|0,2,0,0)|0|0))f=c+(e<<5)|0;e=e+1|0}while((e|0)!=(d|0))}else f=c;if(!P){d=a+4|0;e=da(f+24|0,4,0,0)|0|0;c=0;do{W=da(e+(c<<2)|0,4,0,0)|0|0;ea(a+(c*80|0)+800|0,W|0,4,0);W=da(W+16>>0|0,1,0,0)|0|0;ea(a+(c*80|0)+780>>0|0,W|0,1,0);ea(a+(c*80|0)+740|0,da((da(d|0,4,0,0)|0|0)+((W&255)*72|0)+48|0,4,0,0)|0|0,4,0);c=c+1|0}while((c|0)<(ga|0))}}d=a+34|0;if((((da(d|0,2,0,0)|0)&1536)==1024?($=a+40|0,!((da($>>0|0,1,0,0)|0|0)!=0|Z)):0)?(W=a+12|0,V=ga+-1|0,V=(Lv(a,da(W|0,4,0,0)|0|0,f,512,V&65535,da((da(f+24|0,4,0,0)|0|0)+(V<<2)|0,4,0,0)|0|0,aa)|0)<<24>>24,(V|0)==(da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)):0)ea($>>0|0,2|0,1,0);e=da(ha|0,4,0,0)|0|0;if(e){c=da(d|0,2,0,0)|0|0;d=da(f+22>>0|0,1,0,0)|0|0;if(c&512){if((d<<24>>24|0)==(da(e|0,4,0,0)|0|0))ea(a+40>>0|0,2|0,1,0)}else{ea(a+36>>0|0,(d<<24>>24<0?0:d)|0,1,0);U=f+8|0;W=da(U+4|0,4,0,0)|0|0;V=a+24|0;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0)}if(((c&2048)!=0?(da(a+36>>0|0,1,0,0)|0|0)==(da(e|0,4,0,0)|0|0):0)?(W=ia,ea(W|0,0|0,4,0),ea(W+4|0,0|0,4,0),W=ga+-1|0,W=(Lv(a,e,f,0,W&65535,da((da(f+24|0,4,0,0)|0|0)+(W<<2)|0,4,0,0)|0|0,ia)|0)<<24>>24,(W|0)==(da(da(ha|0,4,0,0)|0|0,4,0,0)|0|0)):0){ea(a+37>>0|0,1|0,1,0);U=ia;W=da(U+4|0,4,0,0)|0|0;V=a+24|0;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0)}}ea(a+32|0,da(f+16|0,2,0,0)|0|0|0,2,0);lg(fa,ca)}while(0);i=ja;return}function Ku(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if((b|0)!=0?(f=da(b|0,4,0,0)|0|0,(f|0)>0):0){d=da(b+4|0,4,0,0)|0|0;c=0;b=0;e=0;do{g=zv(a,da(d+(e*20|0)|0,4,0,0)|0|0)|0;c=g|c;b=C|b;e=e+1|0}while((e|0)<(f|0))}else{b=0;c=0}C=b;return c|0}function Lu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;do if((((da(a+8|0,4,0,0)|0|0)==(da(b+40|0,4,0,0)|0|0)?((da(a+18|0,2,0,0)|0)&2)!=0:0)?(e=a+32|0,((da(e|0,4,0,0)|0)&c|0)==0?((da(e+4|0,4,0,0)|0)&d|0)==0:0):0)?(f=da(a+12|0,4,0,0)|0|0,(f|0)>=0):0){c=da((da((da(b+16|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(f*24|0)+21>>0|0,1,0,0)|0|0;d=(mv(da(a|0,4,0,0)|0|0)|0)<<24>>24;if((d|0)==66){d=c<<24>>24==66&1;break}else if((d|0)==65){d=1;break}else{d=c<<24>>24>66&1;break}}else d=0;while(0);return d|0}function Mu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=b+44|0;if((da(g|0,2,0,1)|0|0|0)<(c|0)){d=c+7&-8;e=lh(a,d<<2,0)|0;if(!e)c=7;else{f=b+48|0;jw(e|0,da(f|0,4,0,0)|0|0,(da(g|0,2,0,1)|0|0)<<2|0)|0;c=da(f|0,4,0,0)|0|0;if((c|0)!=(b+56|0))lg(a,c);ea(f|0,e|0,4,0);ea(g|0,d|0,2,0);c=0}}else c=0;return c|0}function Nu(a,b,c){a=a|0;b=b|0;c=c|0;do if(!((da(b+4|0,4,0,0)|0)&256)){if((c|0)!=0?((da(c+4|0,4,0,0)|0)&256|0)!=0:0){b=bu(a,c)|0;break}b=bu(a,b)|0;if(!b)b=bu(a,c)|0}else b=bu(a,b)|0;while(0);return b|0}function Ou(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+144|0;if((i|0)>=(j|0))ba();p=u;t=u+8|0;k=u+36|0;if(((da(a+450>>0|0,1,0,0)|0|0)==2?(m=da(c+44>>0|0,1,0,1)|0|0,s=da(a+8|0,4,0,0)|0|0,h=da(a|0,4,0,0)|0|0,r=da(a+464|0,4,0,0)|0|0,o=da(c+64|0,4,0,0)|0|0,q=o+36|0,n=da(q|0,4,0,0)|0|0,(n&8192|0)==0):0)?(g=f&65535,(g&64|0)==0):0){f=n&48;do if(!f){if((n&1024|0)==0?(da(o+24|0,2,0,0)|0|0)!=0:0){l=1;break}l=(g&3|0)!=0}else l=1;while(0);ea(t+4|0,k|0,4,0);ea(t+8|0,k|0,4,0);ea(t+12|0,0|0,4,0);ea(t+16|0,100|0,4,0);ea(t+20|0,1e9|0,4,0);ea(t+24>>0|0,1|0,1,0);ea(t+25>>0|0,0|0,1,0);ea(t|0,h|0,4,0);a=l?33576:33584;c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;Rk(t,a,c-a&1073741823);if(!(da(b+(m*72|0)+28|0,4,0,0)|0)){ea(p|0,da(b+(m*72|0)+16|0,4,0,0)|0|0,4,0);Dn(t,0,33608,p)}else{ea(p|0,da(b+(m*72|0)+46>>0|0,1,0,1)|0|0,4,0);Dn(t,0,33592,p)}a=da(b+(m*72|0)+20|0,4,0,0)|0|0;if(a){ea(p|0,a|0,4,0);Dn(t,0,33624,p)}do if(!(n&1280)){g=o+28|0;c=da(g|0,4,0,0)|0|0;f=b+(m*72|0)+24|0;if(((da((da(f|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&32)!=0?((da(c+51>>0|0,1,0,0)|0)&3)==2:0)if(l)a=33632;else break;else if(!(n&131072))if(!(n&16384))a=(n&64|0)==0?33744:33720;else a=33688;else a=33648;Rk(t,33760,7);ea(p|0,da(c|0,4,0,0)|0|0,4,0);Dn(t,0,a,p);n=da(o+24|0,2,0,0)|0|0;l=da((da(f|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;k=da((da(g|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;c=n&65535;if(!(n<<16>>16)){if(!((da(q|0,4,0,0)|0)&48))break;Rk(t,33904,2);g=0}else{f=da(o+42|0,2,0,0)|0|0;Rk(t,33904,2);f=f&65535;g=0;do{a=da(k+(g<<1)|0,2,0,0)|0|0;if(a<<16>>16<0)a=20456;else a=da(l+((a<<16>>16)*24|0)|0,4,0,0)|0|0;if((g|0)<(f|0)){if(g)Rk(t,33920,5);ea(p|0,a|0,4,0);Dn(t,0,33928,p)}else Mv(t,g,a,33912);g=g+1|0}while((g|0)<(c|0));g=c>>>0>1?c:1}f=da(q|0,4,0,0)|0|0;if(!(f&32))a=g;else{f=da(k+(g<<1)|0,2,0,0)|0|0;if(f<<16>>16<0)f=20456;else f=da(l+((f<<16>>16)*24|0)|0,4,0,0)|0|0;Mv(t,g,f,33936);f=da(q|0,4,0,0)|0|0;a=g+1|0}if(f&16){g=da(k+(g<<1)|0,2,0,0)|0|0;if(g<<16>>16<0)g=20456;else g=da(l+((g<<16>>16)*24|0)|0,4,0,0)|0|0;Mv(t,a,g,33944)}Rk(t,33952,1)}else{if((n&256|0)==0|(n&15|0)==0){if(!(n&1024))break;n=da(o+32|0,4,0,0)|0|0;ea(p|0,da(o+24|0,4,0,0)|0|0,4,0);ea(p+4|0,n|0,4,0);Dn(t,0,33872,p);break}if(!(n&5))if((f|0)==48)f=33784;else f=(n&32|0)==0?33824:33808;else f=33768;Rk(t,33840,27);g=f;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;Rk(t,f,g-f&1073741823)}while(0);n=sg(t)|0;wh(s,vh(s,157,r,d,e)|0,n,-1)}i=u;return}function Pu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=da(b|0,4,0,0)|0|0;l=da(a+8|0,4,0,0)|0|0;g=da(j>>0|0,1,0,0)|0|0;do if(g<<24>>24==76)vh(l,28,0,f,0)|0;else if(g<<24>>24==79)f=hs(a,da(j+16|0,4,0,0)|0|0,f)|0;else{h=da(c+64|0,4,0,0)|0|0;g=h+36|0;if((((da(g|0,4,0,0)|0)&1024|0)==0?(i=da(h+28|0,4,0,0)|0|0,(i|0)!=0):0)?(da((da(i+28|0,4,0,0)|0|0)+d>>0|0,1,0,0)|0|0)!=0:0)e=(e|0)==0&1;k=lv(a,j,4,0)|0;if((k|0)==4)e=(e|0)==0&1;j=da(j+28|0,4,0,0)|0|0;d=(e|0)!=0;vh(l,d?105:108,j,0,0)|0;ea(g|0,da(g|0,4,0,0)|0|2048|0,4,0);i=c+56|0;g=da(i|0,4,0,0)|0|0;if(!g){ea(c+16|0,ws(l)|0|0,4,0);g=da(i|0,4,0,0)|0|0}h=g+1|0;ea(i|0,h|0,4,0);g=c+60|0;h=Vl(da(a|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0,h*12|0,0)|0;ea(g|0,h|0,4,0);if(!h){ea(i|0,0|0,4,0);break}g=(da(i|0,4,0,0)|0|0)+-1|0;ea(h+(g*12|0)|0,j|0,4,0);if((k|0)==1)e=vh(l,103,j,f,0)|0;else e=vh(l,47,j,0,f)|0;ea(h+(g*12|0)+4|0,e|0,4,0);ea(h+(g*12|0)+8>>0|0,(d?6:7)|0,1,0);vh(l,76,f,0,0)|0}while(0);Qu(c,b);return f|0}function Qu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:do if(b){h=a+72|0;g=0;while(1){d=b+20|0;f=da(d|0,2,0,0)|0|0;if(f&4)break a;if((da(a|0,4,0,0)|0|0)!=0?((da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0)&1|0)==0:0)break a;c=h;e=b+40|0;if(!(((da(e|0,4,0,0)|0)&(da(c|0,4,0,0)|0)|0)==0?((da(e+4|0,4,0,0)|0)&(da(c+4|0,4,0,0)|0)|0)==0:0))break a;c=f&65535;ea(d|0,c|((g|0)==0|(c&1024|0)==0?4:512)|0,2,0);c=da(b+4|0,4,0,0)|0|0;if((c|0)<0)break a;b=da((da(b+24|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;e=b+(c*48|0)+22|0;d=(da(e>>0|0,1,0,0)|0|0)+-1<<24>>24;ea(e>>0|0,d|0,1,0);if(d<<24>>24)break a;b=b+(c*48|0)|0;if(!b)break;else g=g+1|0}}while(0);return}function Ru(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;do if(!((da((da(a|0,4,0,0)|0|0)+60|0,2,0,0)|0)&2)){h=a+116|0;g=0;e=h;while(1){f=e+12|0;if(!(da(f|0,4,0,0)|0)){k=4;break}g=g+1|0;if((g|0)>=10){i=0;e=-1;j=2147483647;break}else e=e+20|0}if((k|0)==4){ea(e+8|0,da(a+100|0,4,0,0)|0|0,4,0);ea(e|0,b|0,4,0);ea(e+4|0,c|0,2,0);ea(f|0,d|0,4,0);ea(e+6>>0|0,0|0,1,0);d=a+104|0;b=da(d|0,4,0,0)|0|0;ea(d|0,b+1|0,4,0);ea(e+16|0,b|0,4,0);break}while(1){g=da(h+16|0,4,0,0)|0|0;f=(g|0)<(j|0);e=f?i:e;i=i+1|0;if((i|0)==10)break;else{j=f?g:j;h=h+20|0}}if((e|0)>-1){ea(a+(e*20|0)+124|0,da(a+100|0,4,0,0)|0|0,4,0);ea(a+(e*20|0)+116|0,b|0,4,0);ea(a+(e*20|0)+120|0,c|0,2,0);ea(a+(e*20|0)+128|0,d|0,4,0);ea(a+(e*20|0)+122>>0|0,0|0,1,0);d=a+104|0;b=da(d|0,4,0,0)|0|0;ea(d|0,b+1|0,4,0);ea(a+(e*20|0)+132|0,b|0,4,0)}}while(0);return}function Su(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=da(a+8|0,4,0,0)|0|0;j=da(b+64|0,4,0,0)|0|0;k=da(j+24|0,2,0,0)|0|0;m=da(j+42|0,2,0,0)|0|0;q=da(j+28|0,4,0,0)|0|0;i=a+72|0;n=da(i|0,4,0,0)|0|0;f=n+1|0;p=k&65535;l=p+d|0;ea(i|0,n+l|0,4,0);n=da(a|0,4,0,0)|0|0;q=jh(n,nt(o,q)|0)|0;n=(q|0)!=0;if(!n)ea((da(a|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);if(m<<16>>16){d=da(b+8|0,4,0,0)|0|0;g=(c|0)!=0;vh(o,g?105:108,d,0,0)|0;h=vh(o,16,0,0,0)|0;i=m&65535;g=vh(o,g?62:65,d,0,f)|0;wh(o,g,i,-14);ea(b+20|0,g|0,4,0);g=da(o+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(o+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(o+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);h=0;do{vh(o,47,d,h,h+f|0)|0;h=h+1|0}while((h|0)<(i|0))}if((m&65535)<(k&65535)){j=j+48|0;i=b+12|0;k=(l|0)==1;l=m&65535;h=f;while(1){g=da((da(j|0,4,0,0)|0|0)+(l<<2)|0,4,0,0)|0|0;d=l+h|0;f=Pu(a,g,b,l,c,d)|0;do if((f|0)!=(d|0))if(k){Zr(a,h);break}else{vh(o,34,f,d,0)|0;f=h;break}else f=h;while(0);if(!((da(g+18|0,2,0,0)|0)&129)){d=da((da(g|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(Tu(d)|0)vh(o,76,f+l|0,da(i|0,4,0,0)|0|0,0)|0;if(n){g=q+l|0;if((Au(d,da(g>>0|0,1,0,0)|0|0)|0)<<24>>24==65){ea(g>>0|0,65|0,1,0);h=65}else h=da(g>>0|0,1,0,0)|0|0;if(Uu(d,h)|0)ea(g>>0|0,65|0,1,0)}}l=l+1|0;if((l|0)>=(p|0))break;else h=f}}ea(e|0,q|0,4,0);return f|0}function Tu(a){a=a|0;var b=0;b=da(a>>0|0,1,0,0)|0|0;if((b+99&255)<2)do{a=da(a+12|0,4,0,0)|0|0;b=da(a>>0|0,1,0,0)|0|0}while((b+99&255)<2);if(b<<24>>24==-97)b=da(a+38>>0|0,1,0,0)|0|0;switch(b&255|0){case 134:case 133:case 97:case 132:{a=0;break}case 154:{if(!((da(a+4|0,4,0,0)|0)&1048576)){b=da(a+32|0,2,0,0)|0|0;if(b<<16>>16>-1)a=(da((da((da(a+44|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+((b<<16>>16)*24|0)+20>>0|0,1,0,0)|0|0)==0;else a=0}else a=1;a=a&1;break}default:a=1}return a|0}function Uu(a,b){a=a|0;b=b|0;var c=0;a:do if(b<<24>>24==65)a=1;else{c=da(a>>0|0,1,0,0)|0|0;if((c+99&255)<2)do{a=da(a+12|0,4,0,0)|0|0;c=da(a>>0|0,1,0,0)|0|0}while((c+99&255)<2);if(c<<24>>24==-97)c=da(a+38>>0|0,1,0,0)|0|0;switch(c&255|0){case 132:{a=(b+-67&255)<2&1;break a}case 133:{a=(b<<24>>24==69|b<<24>>24==67)&1;break a}case 154:{if((da(a+32|0,2,0,0)|0|0)<0)a=(b+-67&255)<2;else a=0;a=a&1;break a}case 134:{a=1;break a}case 97:{a=b<<24>>24==66&1;break a}default:{a=0;break a}}}while(0);return a|0}function Vu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da(a+8|0,4,0,0)|0|0;do if(d){a:do if((c|0)>0)while(1){if((da(d>>0|0,1,0,0)|0|0)!=65){e=d;break a}c=c+-1|0;b=b+1|0;d=d+1|0;if((c|0)<=0){e=d;break}}else e=d;while(0);while(1){if((c|0)<=1){g=8;break}d=c+-1|0;if((da(e+d>>0|0,1,0,0)|0|0)==65)c=d;else break}if((g|0)==8)if((c|0)<=0)break;vh(f,48,b,c,0)|0;wh(f,-1,e,c);ct(a,b,c)}while(0);return}function Wu(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){Nv(b+328|0);d=b+16|0;c=da(d|0,4,0,0)|0|0;if(c)do{ea(d|0,da(c+52|0,4,0,0)|0|0,4,0);Iu(a,c);lg(a,c);c=da(d|0,4,0,0)|0|0}while((c|0)!=0);lg(a,b)}return}function Xu(a,b){a=a|0;b=b|0;var c=0,d=0;c=i;i=i+32|0;if((i|0)>=(j|0))ba();d=c;ea(d+0|0,0|0,4,0);ea(d+4|0,0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+16|0,0|0,4,0);ea(d+20|0,0|0,4,0);ea(d|0,80|0,4,0);ea(d+4|0,81|0,4,0);ea(d+24|0,a|0,4,0);qs(d,b)|0;i=c;return}function Yu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();l=n+4|0;m=n;k=da(a+8|0,4,0,0)|0|0;ea(l|0,0|0,4,0);ea(m|0,0|0,4,0);if(!((k|0)==0|(b|0)==0)){f=da(b>>0|0,1,0,0)|0|0;e=f&255;a:do switch(e|0){case 79:case 78:case 83:case 80:case 81:case 82:{f=b+12|0;h=_t(a,da(f|0,4,0,0)|0|0,l)|0;g=b+16|0;k=_t(a,da(g|0,4,0,0)|0|0,m)|0;$t(a,da(f|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0,e,h,k,c,d);break}case 71:{Yu(a,da(b+12|0,4,0,0)|0|0,c,d);k=a+100|0;ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);Yu(a,da(b+16|0,4,0,0)|0|0,c,d);au(a);break}case 19:{ft(a,da(b+12|0,4,0,0)|0|0,c,d);break}case 72:{h=ws(k)|0;ft(a,da(b+12|0,4,0,0)|0|0,h,d^16);e=a+100|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);Yu(a,da(b+16|0,4,0,0)|0|0,c,d);e=da(k+24|0,4,0,0)|0|0;f=~h;if((h|0)<0?(g=da(e+112|0,4,0,0)|0|0,(g|0)!=0):0)ea(g+(f<<2)|0,da(k+32|0,4,0,0)|0|0,4,0);ea(e+88|0,(da(k+32|0,4,0,0)|0|0)+-1|0,4,0);au(a);break}case 148:case 73:{d=b+12|0;h=_t(a,da(d|0,4,0,0)|0|0,l)|0;g=b+16|0;k=_t(a,da(g|0,4,0,0)|0|0,m)|0;$t(a,da(d|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0,f<<24>>24==73?79:78,h,k,c,128);break}case 77:case 76:{vh(k,e,_t(a,da(b+12|0,4,0,0)|0|0,l)|0,c,0)|0;break}case 74:{Zu(a,b,c,1,d);break}case 75:{g=ws(k)|0;eu(a,b,g,(d|0)!=0?c:g);vh(k,16,0,c,0)|0;f=da(k+24|0,4,0,0)|0|0;e=~g;if((g|0)<0?(h=da(f+112|0,4,0,0)|0|0,(h|0)!=0):0)ea(h+(e<<2)|0,da(k+32|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(k+32|0,4,0,0)|0|0)+-1|0,4,0);break}default:{if(_u(b)|0){vh(k,16,0,c,0)|0;break a}if(!(lu(b)|0))vh(k,45,_t(a,b,l)|0,c,(d|0)!=0&1)|0}}while(0);Zr(a,da(l|0,4,0,0)|0|0);Zr(a,da(m|0,4,0,0)|0|0)}i=n;return}function Zu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;n=i;i=i+208|0;if((i|0)>=(j|0))ba();h=n+152|0;f=n+104|0;g=n+56|0;k=n+8|0;l=n;ea(l|0,0|0,4,0);m=k+0|0;o=(da(b+12|0,4,0,0)|0|0)+0|0;p=m+48|0;do{ea(m|0,da(o|0,4,0,0)|0|0,4,0);m=m+4|0;o=o+4|0}while((m|0)<(p|0));ea(h>>0|0,72|0,1,0);ea(h+12|0,f|0,4,0);ea(h+16|0,g|0,4,0);ea(f>>0|0,83|0,1,0);ea(f+12|0,k|0,4,0);b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea(f+16|0,da(b|0,4,0,0)|0|0,4,0);ea(g>>0|0,81|0,1,0);ea(g+12|0,k|0,4,0);ea(g+16|0,da(b+20|0,4,0,0)|0|0,4,0);b=_t(a,k,l)|0;ea(k+38>>0|0,da(k>>0|0,1,0,0)|0|0|0,1,0);ea(k>>0|0,-97|0,1,0);ea(k+28|0,b|0,4,0);b=k+4|0;ea(b|0,(da(b|0,4,0,0)|0)&-4097|0,4,0);if(!d)ft(a,h,c,e);else Yu(a,h,c,e);Zr(a,da(l|0,4,0,0)|0|0);i=n;return}function _u(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;ea(b|0,0|0,4,0);if(((da(a+4|0,4,0,0)|0)&1|0)==0?(Ls(a,b)|0)!=0:0)a=(da(b|0,4,0,0)|0|0)!=0&1;else a=0;i=c;return a|0}function $u(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!((a|0)==0|(b|0)==0)){d=da(b|0,4,0,0)|0|0;if((d|0)>0){b=da(b+4|0,4,0,0)|0|0;c=0;while(1){if((vv(a,da(b+(c*20|0)+4|0,4,0,0)|0|0)|0)>-1){b=1;break a}c=c+1|0;if((c|0)>=(d|0)){b=0;break}}}else b=0}else b=1;while(0);return b|0}function av(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=da(b+20|0,4,0,0)|0|0;a:do if((j|0)>0){k=da(a+38|0,2,0,0)|0|0;l=k<<16>>16>0;m=a+4|0;i=a+36|0;f=(d|0)!=0;g=0;while(1){d=da(b+(g<<3)+40|0,4,0,0)|0|0;if(l){a=(d|0)==0;h=0;do{if(!((da(c+(h<<2)|0,4,0,0)|0|0)<=-1?!((h|0)==(da(i|0,2,0,0)|0|0)&f):0))n=7;do if((n|0)==7){n=0;e=da(m|0,4,0,0)|0|0;if(a)if(!((da(e+(h*24|0)+23>>0|0,1,0,0)|0)&1))break;else{a=1;break a}else if(!(cd(da(e+(h*24|0)|0,4,0,0)|0|0,d)|0)){a=1;break a}else break}while(0);h=h+1|0}while((h|0)<(k<<16>>16|0))}g=g+1|0;if((g|0)>=(j|0)){a=0;break}}}else a=0;while(0);return a|0}function bv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();k=t;o=t+8|0;s=da(a+408|0,4,0,0)|0|0;s=(s|0)==0?a:s;h=s+528|0;e=da(h|0,4,0,0)|0|0;a:do if(!e)g=5;else while(1){if((da(e|0,4,0,0)|0|0)==(b|0)?(da(e+12|0,4,0,0)|0|0)==(d|0):0)break a;e=da(e+4|0,4,0,0)|0|0;if(!e){g=5;break}}while(0);do if((g|0)==5){q=da(a|0,4,0,0)|0|0;e=lh(q,24,0)|0;if(e){g=e+0|0;f=g+24|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));ea(e+4|0,da(h|0,4,0,0)|0|0,4,0);ea(h|0,e|0,4,0);p=lh(q,28,0)|0;if(!p){ea(e+8|0,0|0,4,0);e=0;break}g=p+0|0;f=g+24|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));ea(e+8|0,p|0,4,0);l=(da(s+8|0,4,0,0)|0|0)+192|0;ea(p+24|0,da(l|0,4,0,0)|0|0,4,0);ea(l|0,p|0,4,0);ea(e|0,b|0,4,0);ea(e+12|0,d|0,4,0);l=e+16|0;ea(l|0,-1|0,4,0);m=e+20|0;ea(m|0,-1|0,4,0);n=lh(q,536,0)|0;if(n){ew(n|0,0,536)|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);ea(o+16|0,0|0,4,0);ea(o+20|0,0|0,4,0);ea(o+24|0,0|0,4,0);ea(o+28|0,0|0,4,0);ea(o|0,n|0,4,0);ea(n|0,q|0,4,0);ea(n+412|0,c|0,4,0);ea(n+408|0,s|0,4,0);ea(n+492|0,da(b|0,4,0,0)|0|0,4,0);ea(n+436>>0|0,da(b+8>>0|0,1,0,0)|0|0|0,1,0);ea(n+424|0,da(a+424|0,4,0,0)|0|0,4,0);c=Nq(n)|0;if(c){ea(k|0,da(b|0,4,0,0)|0|0,4,0);wh(c,-1,th(q,34152,k)|0,-1);g=da(b+12|0,4,0,0)|0|0;if(!g)h=0;else{f=Lr(q,g,0,0)|0;if((ks(o,f)|0)==0?(da(q+65>>0|0,1,0,0)|0|0)==0:0){g=ws(c)|0;ft(n,f,g,16)}else g=0;Fk(q,f);h=g}Ov(n,da(b+28|0,4,0,0)|0|0,d);if(h){g=da(c+24|0,4,0,0)|0|0;f=~h;if((h|0)<0?(r=da(g+112|0,4,0,0)|0|0,(r|0)!=0):0)ea(r+(f<<2)|0,da(c+32|0,4,0,0)|0|0,4,0);ea(g+88|0,(da(c+32|0,4,0,0)|0|0)+-1|0,4,0)}vh(c,24,0,0,0)|0;f=a+64|0;g=da(n+4|0,4,0,0)|0|0;if(!(da(f|0,4,0,0)|0)){ea(a+4|0,g|0,4,0);ea(f|0,da(n+64|0,4,0,0)|0|0,4,0)}else lg(da(n|0,4,0,0)|0|0,g);if(!(da(q+65>>0|0,1,0,0)|0)){k=c+4|0;o=da(k|0,4,0,0)|0|0;In(c,s+392|0);ea(p+4|0,da(c+32|0,4,0,0)|0|0,4,0);ea(k|0,0|0,4,0);ea(p|0,o|0,4,0)}ea(p+8|0,da(n+72|0,4,0,0)|0|0,4,0);ea(p+12|0,da(n+68|0,4,0,0)|0|0,4,0);ea(p+16|0,da(n+80|0,4,0,0)|0|0,4,0);ea(p+20|0,b|0,4,0);ea(l|0,da(n+428|0,4,0,0)|0|0,4,0);ea(m|0,da(n+432|0,4,0,0)|0|0,4,0);Ol(c)}Bh(n);lg(q,n)}else e=0}else e=0}while(0);i=t;return e|0}function cv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=Nq(a)|0;c=bv(a,b,c,e)|0;if(c){if(!(da(b|0,4,0,0)|0))e=0;else e=((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0|0)>>>18&1^1)&255;a=a+72|0;b=(da(a|0,4,0,0)|0|0)+1|0;ea(a|0,b|0,4,0);vh(g,131,d,f,b)|0;wh(g,-1,da(c+8|0,4,0,0)|0|0,-18);c=da(g+4|0,4,0,0)|0|0;if(c)ea(c+(((da(g+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,e|0,1,0)}return}function dv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=da(a|0,4,0,0)|0|0;g=da((da(e+16|0,4,0,0)|0|0)+(d<<4)|0,4,0,0)|0|0;f=jc[(fa(da(e+284|0,4,0,0)|0|0,7|0)|0)&7](da(e+288|0,4,0,0)|0|0,20,b,c,g,da(a+492|0,4,0,0)|0|0)|0;if((f|0)==1){if((d|0)!=0?1:(da(e+20|0,4,0,0)|0|0)>2){ea(h|0,g|0,4,0);ea(h+4|0,b|0,4,0);ea(h+8|0,c|0,4,0);sh(a,27688,h)}else{ea(h|0,b|0,4,0);ea(h+4|0,c|0,4,0);sh(a,27728,h)}ea(a+12|0,23|0,4,0)}else if(!((f|0)==0|(f|0)==2)){sh(a,25232,h);ea(a+12|0,1|0,4,0)}i=k;return f|0}function ev(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;u=Nq(a)|0;w=(da(a+68|0,4,0,0)|0|0)+-1|0;x=ws(u)|0;if((h|0)<0)vh(u,135,da(e+24>>0|0,1,0,1)|0|0,x,0)|0;j=e+20|0;k=da(j|0,4,0,0)|0|0;if((k|0)>0){m=g+1|0;l=0;do{vh(u,76,m+(da(f+(l<<2)|0,4,0,0)|0|0)|0,x,0)|0;l=l+1|0;k=da(j|0,4,0,0)|0|0}while((l|0)<(k|0))}do if(!i){if(!d){k=a+19|0;j=da(k>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){d=a+72|0;m=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,m|0,4,0)}else{m=j+-1<<24>>24;ea(k>>0|0,m|0,1,0);m=da(a+((m&255)<<2)+24|0,4,0,0)|0|0}vh(u,34,g+1+(da(f|0,4,0,0)|0|0)|0,m,0)|0;l=vh(u,38,m,0,0)|0;if(((h|0)==1?(da(e|0,4,0,0)|0|0)==(c|0):0)?(vh(u,79,g,x,m)|0,n=da(u+4|0,4,0,0)|0|0,(n|0)!=0):0)ea(n+(((da(u+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);Pq(a,w,b,c,54);vh(u,70,w,0,m)|0;vh(u,16,0,x,0)|0;j=da(u+32|0,4,0,0)|0|0;if(j>>>0>1)ea((da(u+4|0,4,0,0)|0|0)+((j+-2|0)*20|0)+8|0,j|0,4,0);i=j+-1|0;k=(da(u+24|0,4,0,0)|0|0)+88|0;ea(k|0,i|0,4,0);if(j>>>0>l>>>0)ea((da(u+4|0,4,0,0)|0|0)+(l*20|0)+8|0,j|0,4,0);ea(k|0,i|0,4,0);Zr(a,m);break}s=a+60|0;m=da(s|0,4,0,0)|0|0;t=a+56|0;l=da(t|0,4,0,0)|0|0;if((l|0)<(k|0)){r=a+72|0;m=da(r|0,4,0,0)|0|0;ea(r|0,m+k|0,4,0);m=m+1|0}else{ea(s|0,m+k|0,4,0);ea(t|0,l-k|0,4,0)}l=a+19|0;j=da(l>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){i=a+72|0;r=(da(i|0,4,0,0)|0|0)+1|0;ea(i|0,r|0,4,0)}else{r=j+-1<<24>>24;ea(l>>0|0,r|0,1,0);r=da(a+((r&255)<<2)+24|0,4,0,0)|0|0}vh(u,54,w,da(d+40|0,4,0,0)|0|0,b)|0;i=da(a+8|0,4,0,0)|0|0;wh(i,-1,gs(a,d)|0,-6);i=(k|0)>0;if(i){l=g+1|0;j=0;do{vh(u,33,l+(da(f+(j<<2)|0,4,0,0)|0|0)|0,j+m|0,0)|0;j=j+1|0}while((j|0)!=(k|0))}if((h|0)==1?(da(e|0,4,0,0)|0|0)==(c|0):0){p=u+32|0;q=k+1+(da(p|0,4,0,0)|0|0)|0;if(i){b=g+1|0;o=d+4|0;j=c+36|0;i=u+4|0;n=0;do{l=da((da(o|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0;vh(u,78,b+(da(f+(n<<2)|0,4,0,0)|0|0)|0,q,(l<<16>>16==(da(j|0,2,0,0)|0|0)?0:(l<<16>>16)+1|0)+g|0)|0;l=da(i|0,4,0,0)|0|0;if(l)ea(l+(((da(p|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);n=n+1|0}while((n|0)!=(k|0))}vh(u,16,0,x,0)|0}g=nt(u,d)|0;wh(u,vh(u,49,m,k,r)|0,g,k);wh(u,vh(u,69,w,x,r)|0,0,-14);Zr(a,r);ct(a,m,k);if((da(t|0,4,0,0)|0|0)<(k|0)){ea(t|0,k|0,4,0);ea(s|0,m|0,4,0)}}while(0);j=da(e+24>>0|0,1,0,0)|0|0;i=j<<24>>24==0;if(((i?((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&16777216|0)==0:0)?(da(a+408|0,4,0,0)|0|0)==0:0)?(da(a+20>>0|0,1,0,0)|0|0)==0:0)ys(a,787,2,0,-2,4);else{if(!((h|0)<1|i^1)){e=da(a+408|0,4,0,0)|0|0;ea(((e|0)==0?a:e)+21>>0|0,1|0,1,0)}vh(u,134,j&255,h,0)|0}i=da(u+24|0,4,0,0)|0|0;j=~x;if((x|0)<0?(v=da(i+112|0,4,0,0)|0|0,(v|0)!=0):0)ea(v+(j<<2)|0,da(u+32|0,4,0,0)|0|0,4,0);ea(i+88|0,(da(u+32|0,4,0,0)|0|0)+-1|0,4,0);vh(u,61,w,0,0)|0;return}function fv(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+48|0;if((i|0)>=(j|0))ba();t=y+32|0;u=y;v=da(a|0,4,0,0)|0|0;w=Nq(a)|0;if((h|0)<0)x=vh(w,135,da(e+24>>0|0,1,0,1)|0|0,0,0)|0;else x=0;s=e+20|0;if((da(s|0,4,0,0)|0|0)>0){r=(d|0)==0;q=(f|0)==0;p=e+36|0;o=d+4|0;n=0;k=0;do{if(r)m=-1;else m=da((da(o|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0;l=Pv(a,c,g,m)|0;if(q)m=p;else m=f+(n<<2)|0;k=rs(v,k,Yq(a,79,l,st(v,27,da((da((da(e|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(m|0,4,0,0)|0)<<16>>16)*24|0)|0,4,0,0)|0|0)|0,0)|0)|0;n=n+1|0}while((n|0)<(da(s|0,4,0,0)|0|0));m=e}else{m=e;k=0}if((h|0)>0?(da(m|0,4,0,0)|0|0)==(c|0):0){if(!((da(c+44>>0|0,1,0,0)|0)&32)){f=da(a|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(t+4|0,0|0,4,0);f=mr(f,159,t,0)|0;if(!f)f=0;else{ea(f+28|0,g|0,4,0);ea(f+1>>0|0,68|0,1,0)}m=da(b+48|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(t+4|0,0|0,4,0);l=mr(v,154,t,0)|0;if(l){ea(l+44|0,c|0,4,0);ea(l+28|0,m|0,4,0);ea(l+32|0,-1|0,2,0)}f=Yq(a,78,f,l,0)|0}else{m=c+8|0;while(1){m=da(m|0,4,0,0)|0|0;if(((da(m+51>>0|0,1,0,0)|0)&3)==2)break;m=m+20|0}s=m+46|0;if(!(da(s|0,2,0,0)|0))f=0;else{o=d+4|0;p=b+48|0;q=t+4|0;r=0;f=0;do{m=da((da(o|0,4,0,0)|0|0)+(r<<1)|0,2,0,0)|0|0;l=Pv(a,c,g,m)|0;n=da(p|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(q|0,0|0,4,0);d=mr(v,154,t,0)|0;if(d){ea(d+44|0,c|0,4,0);ea(d+28|0,n|0,4,0);ea(d+32|0,m|0,2,0)}f=rs(v,f,Yq(a,79,l,d,0)|0)|0;r=r+1|0}while((r|0)<(da(s|0,2,0,1)|0|0))}f=Yq(a,19,f,0,0)|0}k=rs(v,k,f)|0};ea(u+0|0,0|0,4,0);ea(u+4|0,0|0,4,0);ea(u+8|0,0|0,4,0);ea(u+12|0,0|0,4,0);ea(u+16|0,0|0,4,0);ea(u+20|0,0|0,4,0);ea(u+24|0,0|0,4,0);ea(u+28|0,0|0,4,0);ea(u+4|0,b|0,4,0);ea(u|0,a|0,4,0);ks(u,k)|0;f=Us(a,b,k,0,0,0,0)|0;vh(w,134,da(e+24>>0|0,1,0,1)|0|0,h,0)|0;if(f)Ws(f);Fk(v,k);if(x){f=da(w+32|0,4,0,0)|0|0;if(f>>>0>x>>>0)ea((da(w+4|0,4,0,0)|0|0)+(x*20|0)+8|0,f|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0)}i=y;return}function gv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;if((i|0)>=(j|0))ba();p=s;n=s+16|0;r=s+28|0;g=da(a|0,4,0,0)|0|0;q=Nq(a)|0;if(q){k=(da(g+16|0,4,0,0)|0|0)+(b<<4)|0;l=a+388|0;m=(d|0)==0;o=0;a:while(1){h=da(28744+(o<<3)|0,4,0,0)|0|0;f=Zh(g,h,da(k|0,4,0,0)|0|0)|0;do if(!f){if(!o){ea(p|0,da(k|0,4,0,0)|0|0,4,0);ea(p+4|0,h|0,4,0);ea(p+8|0,28768|0,4,0);Ar(a,28816,p);ea(n|0,da(l|0,4,0,0)|0|0,4,0);ea(r>>0|0,4|0,1,0);o=o+1|0;continue a}}else{f=da(f+32|0,4,0,0)|0|0;ea(n+(o<<2)|0,f|0,4,0);ea(r+o>>0|0,0|0,1,0);fs(a,b,f,1,h);if(m){vh(q,118,f,b,0)|0;break}else{ea(p|0,da(k|0,4,0,0)|0|0,4,0);ea(p+4|0,h|0,4,0);ea(p+8|0,e|0,4,0);ea(p+12|0,d|0,4,0);Ar(a,28840,p);break}}while(0);o=o+1|0;if((o|0)==3)break}wh(q,vh(q,55,c,da(n|0,4,0,0)|0|0,b)|0,3,-14);f=da(q+4|0,4,0,0)|0|0;if(f)ea(f+(((da(q+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(r>>0|0,1,0,0)|0|0|0,1,0)}i=s;return}function hv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;z=da(a|0,4,0,0)|0|0;A=e+1|0;B=e+2|0;F=e+3|0;G=e+4|0;H=e+5|0;E=e+6|0;C=e+7|0;D=a+72|0;I=da(D|0,4,0,0)|0|0;ea(D|0,((I|0)>(C|0)?I:C)|0,4,0);I=Nq(a)|0;if((!((I|0)==0|(b|0)==0)?(l=b+32|0,(da(l|0,4,0,0)|0|0)!=0):0)?(m=da(b|0,4,0,0)|0|0,(Ec(m,25568,7)|0)!=0):0){i=da(b+68|0,4,0,0)|0|0;a:do if(i){h=da(z+20|0,4,0,0)|0|0;if((h|0)>0){g=da(z+16|0,4,0,0)|0|0;k=0;while(1){j=k+1|0;if((da(g+(k<<4)+12|0,4,0,0)|0|0)==(i|0)){j=k;break a}if((j|0)<(h|0))k=j;else break}}else j=0}else j=-1e6;while(0);if(!(Rq(a,28,m,0,da((da(z+16|0,4,0,0)|0|0)+(j<<4)|0,4,0,0)|0|0)|0)){fs(a,j,da(l|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0);s=f+1|0;m=f+2|0;x=a+68|0;y=da(x|0,4,0,0)|0|0;ea(x|0,((y|0)>(m|0)?y:m)|0,4,0);Pq(a,f,j,b,54);m=da(b|0,4,0,0)|0|0;wh(I,vh(I,97,0,G,0)|0,m,0);m=da(b+8|0,4,0,0)|0|0;y=(c|0)==0;if(!m)i=1;else{t=b+44|0;u=a+8|0;v=I+4|0;w=I+32|0;x=I+24|0;i=1;do{do if(y|(m|0)==(c|0)){i=(da(m+36|0,4,0,0)|0|0)==0?0:i;l=da(m+51>>0|0,1,0,0)|0|0;if(!(((da(t>>0|0,1,0,0)|0)&32)!=0&(l&3)==2)){g=da(m+48|0,2,0,1)|0|0;k=da(m|0,4,0,0)|0|0;h=m+46|0;if(!(l&8)){o=h;n=g;l=g}else{o=h;n=g;l=da(h|0,2,0,1)|0|0}}else{o=m+46|0;l=da(o|0,2,0,1)|0|0;n=l;k=da(b|0,4,0,0)|0|0}q=l+-1|0;wh(I,vh(I,97,0,H,0)|0,k,0);r=da(D|0,4,0,0)|0|0;l=q+C|0;ea(D|0,((r|0)>(l|0)?r:l)|0,4,0);vh(I,54,s,da(m+40|0,4,0,0)|0|0,j)|0;l=da(u|0,4,0,0)|0|0;wh(l,-1,gs(a,m)|0,-6);vh(I,25,n,B,0)|0;vh(I,25,da(o|0,2,0,1)|0|0,F,0)|0;vh(I,1,0,B,A)|0;wh(I,-1,28552,-5);l=da(v|0,4,0,0)|0|0;if(l)ea(l+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0);r=vh(I,108,s,0,0)|0;vh(I,25,0,B,0)|0;k=da(w|0,4,0,0)|0|0;if((q|0)>0){n=ws(I)|0;p=lh(z,q<<2,0)|0;if(!p)break;vh(I,16,0,0,0)|0;k=da(w|0,4,0,0)|0|0;if(((q|0)==1?(da(o|0,2,0,0)|0|0)==1:0)?(da(m+50>>0|0,1,0,0)|0|0)!=0:0)vh(I,77,C,n,0)|0;l=m+32|0;g=0;do{o=br(a,da((da(l|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0)|0;vh(I,25,g,B,0)|0;vh(I,47,s,g,F)|0;h=vh(I,78,F,0,g+C|0)|0;wh(I,h,o,-4);ea(p+(g<<2)|0,h|0,4,0);h=da(v|0,4,0,0)|0|0;if(h)ea(h+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-128|0,1,0);g=g+1|0}while((g|0)!=(q|0));vh(I,25,q,B,0)|0;vh(I,16,0,n,0)|0;l=k+-1|0;h=da(w|0,4,0,0)|0|0;if(h>>>0>l>>>0)ea((da(v|0,4,0,0)|0|0)+(l*20|0)+8|0,h|0,4,0);ea((da(x|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);l=0;while(1){g=da(p+(l<<2)|0,4,0,0)|0|0;if(h>>>0>g>>>0)ea((da(v|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);ea((da(x|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);vh(I,47,s,l,l+C|0)|0;l=l+1|0;if((l|0)==(q|0))break;h=da(w|0,4,0,0)|0|0}h=da(x|0,4,0,0)|0|0;g=~n;do if((n|0)<0){l=da(h+112|0,4,0,0)|0|0;if(!l)break;ea(l+(g<<2)|0,da(w|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(w|0,4,0,0)|0|0)+-1|0,4,0);lg(z,p)}vh(I,1,1,A,F)|0;wh(I,-1,28592,-5);l=da(v|0,4,0,0)|0|0;if(l)ea(l+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0);vh(I,9,s,k,0)|0;vh(I,1,0,A,E)|0;wh(I,-1,28640,-5);l=da(v|0,4,0,0)|0|0;if(l)ea(l+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);wh(I,vh(I,49,G,3,F)|0,28632,0);vh(I,74,d,e,0)|0;vh(I,75,d,F,e)|0;k=da(v|0,4,0,0)|0|0;l=da(w|0,4,0,0)|0|0;if(k)ea(k+((l+-1|0)*20|0)+3>>0|0,8|0,1,0);if(l>>>0>r>>>0)ea(k+(r*20|0)+8|0,l|0,4,0);ea((da(x|0,4,0,0)|0|0)+88|0,l+-1|0,4,0)}while(0);m=da(m+20|0,4,0,0)|0|0}while((m|0)!=0)}if(!(i<<24>>24==0|y^1)){vh(I,50,f,E,0)|0;i=vh(I,46,E,0,0)|0;vh(I,28,0,H,0)|0;wh(I,vh(I,49,G,3,F)|0,28632,0);vh(I,74,d,e,0)|0;vh(I,75,d,F,e)|0;h=da(I+4|0,4,0,0)|0|0;g=da(I+32|0,4,0,0)|0|0;if(h)ea(h+((g+-1|0)*20|0)+3>>0|0,8|0,1,0);if(g>>>0>i>>>0)ea(h+(i*20|0)+8|0,g|0,4,0);ea((da(I+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}}}return}function iv(a,b){a=a|0;b=b|0;a=Nq(a)|0;if(a)vh(a,123,b,0,0)|0;return}function jv(a){a=a|0;var b=0,c=0,d=0;a:while(1){b=da(a+4|0,4,0,0)|0|0;do if(b&4096)if(!(b&262144)){a=a+12|0;break}else{a=da((da(a+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;break}else{if(b&512){a=0;break a}switch(da(a>>0|0,1,0,0)|0|0){case -102:case -100:case -97:{d=11;break a}case 38:{d=10;break a}case 119:break;default:{d=14;break a}}a=da((da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}while(0);a=da(a|0,4,0,0)|0|0}if((d|0)==10)a=Wq(da(a+8|0,4,0,0)|0|0,0)|0;else if((d|0)==11){c=da(a+44|0,4,0,0)|0|0;if(c){b=da(a+32|0,2,0,0)|0|0;if(b<<16>>16<0)a=68;else a=da((da(c+4|0,4,0,0)|0|0)+((b<<16>>16)*24|0)+21>>0|0,1,0,0)|0|0}else d=14}if((d|0)==14)a=da(a+1>>0|0,1,0,0)|0|0;return a|0}function kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;vh(a,25,0,c,0)|0;d=vh(a,108,b,0,0)|0;vh(a,47,b,0,c)|0;b=da(a+4|0,4,0,0)|0|0;c=da(a+32|0,4,0,0)|0|0;if(b)ea(b+((c+-1|0)*20|0)+3>>0|0,-128|0,1,0);if(c>>>0>d>>>0)ea(b+(d*20|0)+8|0,c|0,4,0);ea((da(a+24|0,4,0,0)|0|0)+88|0,c+-1|0,4,0);return}function lv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();v=A;y=a+68|0;z=da(y|0,4,0,0)|0|0;ea(y|0,z+1|0,4,0);y=Nq(a)|0;w=(c&4|0)!=0;x=b+4|0;a:do if(((((((((((((da(x|0,4,0,0)|0)&2048|0)!=0?(h=da(b+20|0,4,0,0)|0|0,!((da(a+64|0,4,0,0)|0|0)!=0|(h|0)==0)):0)?(da(h+52|0,4,0,0)|0|0)==0:0)?((da(h+6|0,2,0,0)|0)&5)==0:0)?(da(h+60|0,4,0,0)|0|0)==0:0)?(da(h+36|0,4,0,0)|0|0)==0:0)?(g=da(h+32|0,4,0,0)|0|0,(da(g|0,4,0,0)|0|0)==1):0)?(da(g+28|0,4,0,0)|0|0)==0:0)?(p=da(g+24|0,4,0,0)|0|0,(p|0)!=0):0)?((da(p+44>>0|0,1,0,0)|0)&16)==0:0)?(f=da(h|0,4,0,0)|0|0,(da(f|0,4,0,0)|0|0)==1):0)?(l=da(da(f+4|0,4,0,0)|0|0,4,0,0)|0|0,(da(l>>0|0,1,0,0)|0|0)==-102):0){t=da(a|0,4,0,0)|0|0;u=da(l+32|0,2,0,0)|0|0;k=da(p+68|0,4,0,0)|0|0;b:do if(k){g=da(t+20|0,4,0,0)|0|0;if((g|0)>0){f=da(t+16|0,4,0,0)|0|0;e=0;while(1){h=e+1|0;if((da(f+(e<<4)+12|0,4,0,0)|0|0)==(k|0)){h=e;break b}if((h|0)<(g|0))e=h;else break}}else h=0}else h=-1e6;while(0);r=h<<16>>16;zr(a,r);fs(a,r,da(p+32|0,4,0,0)|0|0,0,da(p|0,4,0,0)|0|0);s=u<<16>>16;if(u<<16>>16<0){e=Nq(a)|0;d=a+80|0;f=da(d|0,4,0,0)|0|0;ea(d|0,f+1|0,4,0);f=vh(e,44,f,0,0)|0;Pq(a,z,r,p,54);e=da(y+32|0,4,0,0)|0|0;if(e>>>0>f>>>0)ea((da(y+4|0,4,0,0)|0|0)+(f*20|0)+8|0,e|0,4,0);ea((da(y+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0);e=1;k=49;break}e=Nu(a,da(b+12|0,4,0,0)|0|0,l)|0;q=p+4|0;k=da((da(q|0,4,0,0)|0|0)+(s*24|0)+21>>0|0,1,0,0)|0|0;h=(mv(b)|0)<<24>>24;if((h|0)==65)h=1;else if((h|0)==66)h=k<<24>>24==66&1;else h=k<<24>>24>66&1;k=da(p+8|0,4,0,0)|0|0;if((k|0)!=0&(h|0)!=0){l=t+62|0;h=a+80|0;g=a+8|0;f=(d|0)==0;m=y+32|0;o=y+4|0;p=y+24|0;n=a+72|0;c:while(1){do if((da(da(k+4|0,4,0,0)|0|0,2,0,0)|0|0)==u<<16>>16?(Xn(t,da(l>>0|0,1,0,0)|0|0,da(da(k+32|0,4,0,0)|0|0,4,0,0)|0|0,0)|0)==(e|0):0){if(!w)break c;if((da(k+46|0,2,0,0)|0|0)!=1)break;if(da(k+50>>0|0,1,0,0)|0)break c}while(0);k=da(k+20|0,4,0,0)|0|0;if(!k){k=38;break a}}x=Nq(a)|0;e=da(h|0,4,0,0)|0|0;ea(h|0,e+1|0,4,0);h=vh(x,44,e,0,0)|0;vh(y,54,z,da(k+40|0,4,0,0)|0|0,r)|0;e=da(g|0,4,0,0)|0|0;wh(e,-1,gs(a,k)|0,-6);e=(da((da(k+28|0,4,0,0)|0)>>0|0,1,0,1)|0|0)+3|0;if(!f?(da((da(q|0,4,0,0)|0|0)+(s*24|0)+20>>0|0,1,0,0)|0|0)==0:0){x=(da(n|0,4,0,0)|0|0)+1|0;ea(n|0,x|0,4,0);ea(d|0,x|0,4,0);kv(y,z,x)}f=da(m|0,4,0,0)|0|0;if(f>>>0>h>>>0)ea((da(o|0,4,0,0)|0|0)+(h*20|0)+8|0,f|0,4,0);ea((da(p|0,4,0,0)|0|0)+88|0,f+-1|0,4,0);k=49}else k=38}else k=38;while(0);do if((k|0)==38){if((c&1|0)!=0?((da(x|0,4,0,0)|0)&2048|0)==0:0){u=b+12|0;c=da(u|0,4,0,0)|0|0;ea(u|0,0|0,4,0);ea(v+0|0,0|0,4,0);ea(v+4|0,0|0,4,0);ea(v+8|0,0|0,4,0);ea(v+12|0,0|0,4,0);ea(v+16|0,0|0,4,0);ea(v+20|0,0|0,4,0);y=v+20|0;ea(y>>0|0,1|0,1,0);ea(v|0,78|0,4,0);ea(v+4|0,79|0,4,0);ea(v+24|0,0|0,4,0);qs(v,b)|0;y=da(y>>0|0,1,0,0)|0|0;ea(u|0,c|0,4,0);if(!(y<<24>>24)){e=5;k=49;break}if((da(da(b+20|0,4,0,0)|0|0,4,0,0)|0|0)<3){e=5;k=49;break}}g=a+424|0;h=da(g|0,4,0,0)|0|0;if(w){ea(g|0,0|0,4,0);if((da((da(b+12|0,4,0,0)|0|0)+32|0,2,0,0)|0|0)<0){e=((da(x|0,4,0,0)|0|0)>>>11&1)+1|0;f=0}else{e=2;f=0}}else if(!d){e=2;f=0}else{e=a+72|0;f=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,f|0,4,0);ea(d|0,f|0,4,0);e=2}du(a,b,f,(e|0)==1&1)|0;ea(g|0,h|0,4,0)}while(0);if((k|0)==49)ea(b+28|0,z|0,4,0);i=A;return e|0}function mv(a){a=a|0;var b=0,c=0;b=jv(da(a+12|0,4,0,0)|0|0)|0;c=da(a+16|0,4,0,0)|0|0;do if(!c)if(!((da(a+4|0,4,0,0)|0)&2048))return (b<<24>>24==0?65:b)|0;else{b=Au(da(da((da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0,b)|0;break}else b=Au(c,b)|0;while(0);return b|0}function nv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=i;i=i+16|0;if((i|0)>=(j|0))ba();T=W;R=da(a|0,4,0,0)|0|0;U=f+28|0;ea(U|0,-1|0,4,0);Q=f+44|0;ea(Q|0,0|0,4,0);a:do if((b|0)!=0?((da(e+28|0,2,0,0)|0)&20)==0:0){n=da(R+20|0,4,0,0)|0|0;if((n|0)>0){l=da(R+16|0,4,0,0)|0|0;m=0;while(1){if(!(cd(da(l+(m<<4)|0,4,0,0)|0|0,b)|0))break;m=m+1|0;if((m|0)>=(n|0)){P=b;b=0;break a}}P=b;b=da(l+(m<<4)+12|0,4,0,0)|0|0}else{P=b;b=0}}else{P=0;b=0}while(0);N=(P|0)==0;K=N&(c|0)!=0;h=a+412|0;G=a+436|0;H=f+1|0;V=f+32|0;I=a+428|0;J=a+432|0;O=(c|0)==0;M=f+4|0;g=e;o=0;k=0;n=0;m=0;b:while(1){F=(g|0)!=0;l=g+4|0;E=g+8|0;p=0;q=o;while(1){o=(p|0)==0;if(!(F&o)){S=82;break b}p=da(l|0,4,0,0)|0|0;if(p){D=da(p|0,4,0,0)|0|0;if((D|0)>0){o=0;B=0;A=p+8|0;while(1){z=da(A+16|0,4,0,0)|0|0;r=da(A+20|0,4,0,0)|0|0;if((r|0)!=0?((da(r+6|0,2,0,0)|0)&512)!=0:0){r=da(r|0,4,0,0)|0|0;w=da(r|0,4,0,0)|0|0;if((w|0)>0){x=da(r+4|0,4,0,0)|0|0;r=0;t=0;do{if(uv(da(x+(t*20|0)+8|0,4,0,0)|0|0,d,c,P)|0){ea(V|0,t|0,2,0);o=o+1|0;q=2;r=1;m=A}t=t+1|0}while((t|0)<(w|0))}else r=0;if(!((r|0)!=0|O))S=21}else S=21;c:do if((S|0)==21){S=0;if(!N?(da(z+68|0,4,0,0)|0|0)!=(b|0):0)break;if(!O){r=da(A+12|0,4,0,0)|0|0;if(!r)r=da(z|0,4,0,0)|0|0;if(cd(r,c)|0)break}y=q+1|0;m=(q|0)==0?A:m;r=da(z+38|0,2,0,0)|0|0;if(r<<16>>16>0){p=(o|0)==1;u=A+36|0;v=A+48|0;q=0;x=da(z+4|0,4,0,0)|0|0;d:while(1){e:do if(!(cd(da(x|0,4,0,0)|0|0,d)|0)){if(!p)break d;if(!((da(u>>0|0,1,0,0)|0)&4)){t=da(v|0,4,0,0)|0|0;if(!t)break d;w=da(t+4|0,4,0,0)|0|0;if((w|0)<=0)break d;t=da(t|0,4,0,0)|0|0;s=0;while(1){if(!(cd(da(t+(s<<3)|0,4,0,0)|0|0,d)|0))break e;s=s+1|0;if((s|0)>=(w|0))break d}}}while(0);q=q+1|0;if((q|0)>=(r<<16>>16|0)){q=y;break c}else x=x+24|0}ea(V|0,((q|0)==(da(z+36|0,2,0,0)|0|0)?-1:q&65535)|0,2,0);o=o+1|0;q=y;m=A}else q=y}while(0);B=B+1|0;if((B|0)>=(D|0))break;else A=A+72|0}}else o=0;if(!m)y=0;else{ea(U|0,da(m+40|0,4,0,0)|0|0,4,0);p=da(m+16|0,4,0,0)|0|0;ea(Q|0,p|0,4,0);if((da(m+36>>0|0,1,0,0)|0)&8)ea(M|0,da(M|0,4,0,0)|0|1048576|0,4,0);y=m;b=da(p+68|0,4,0,0)|0|0}}else{o=0;y=m}do if(K&(q|0)==0)if(da(h|0,4,0,0)|0){p=da(G>>0|0,1,0,0)|0|0;if(p<<24>>24!=109)if(cd(27560,c)|0)if(p<<24>>24==108){s=o;q=0;t=k;break}else S=49;else t=1;else S=49;if((S|0)==49){S=0;if(!(cd(27568,c)|0))t=0;else{s=o;q=0;t=k;break}}ea(U|0,t|0,4,0);s=da(h|0,4,0,0)|0|0;if(s){b=da(s+68|0,4,0,0)|0|0;r=da(s+38|0,2,0,0)|0|0;f:do if(r<<16>>16>0){p=0;q=da(s+4|0,4,0,0)|0|0;while(1){if(!(cd(da(q|0,4,0,0)|0|0,d)|0))break;p=p+1|0;if((p|0)<(r<<16>>16|0))q=q+24|0;else break f}p=(p|0)==(da(s+36|0,2,0,0)|0|0)?-1:p}else p=0;while(0);m=r<<16>>16;if((p|0)>=(m|0)?(_h(d)|0)!=0:0)q=((da(s+44>>0|0,1,0,0)|0)&32)==0?-1:p;else q=p;if((q|0)<(m|0)){o=o+1|0;do if((q|0)>=0){p=(q|0)>31?-1:1<<q;if(!t){ea(I|0,da(I|0,4,0,0)|0|p|0,4,0);break}else{ea(J|0,da(J|0,4,0,0)|0|p|0,4,0);break}}else ea(H>>0|0,68|0,1,0);while(0);ea(V|0,q|0,2,0);ea(Q|0,s|0,4,0);q=1;k=1;S=66}else{q=1;S=66}}else{s=o;q=0;t=k}}else{s=o;q=0;t=k}else S=66;while(0);if((S|0)==66){S=0;if((o|0)==0&(q|0)==1&(y|0)!=0)if((_h(d)|0)!=0?((da((da(y+16|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&32)==0:0){ea(V|0,-1|0,2,0);ea(H>>0|0,68|0,1,0);p=1;m=y;continue}else{s=0;t=k}else{s=o;t=k}}o=da(E|0,4,0,0)|0|0;r=(s|0)==0;if((o|0)!=0&O&r?(L=da(o|0,4,0,0)|0|0,(L|0)>0):0){k=da(o+4|0,4,0,0)|0|0;m=0;do{p=da(k+(m*20|0)+4|0,4,0,0)|0|0;if((p|0)!=0?(cd(p,d)|0)==0:0){S=75;break b}m=m+1|0}while((m|0)<(L|0))}if(r){p=q;k=t;m=y;break}else{p=s;k=t;m=y}}g=da(g+16|0,4,0,0)|0|0;o=p;n=n+1|0}do if((S|0)==75){if(((da(g+28|0,2,0,0)|0)&1)==0?((da((da(k+(m*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0)&2|0)!=0:0){ea(T|0,p|0,4,0);sh(a,27576,T);e=2;break}xv(a,o,m,f,10360,n);if((da(f>>0|0,1,0,0)|0|0)==24)S=115;else S=96}else if((S|0)==82){if(o&O?((da(M|0,4,0,0)|0)&64|0)!=0:0){ea(f>>0|0,97|0,1,0);ea(Q|0,0|0,4,0);e=1;break}p=(p|0)==1;if(!p){o=o?27608:27624;do if(N)if(O){ea(T|0,o|0,4,0);ea(T+4|0,d|0,4,0);sh(a,27680,T);break}else{ea(T|0,o|0,4,0);ea(T+4|0,c|0,4,0);ea(T+8|0,d|0,4,0);sh(a,27664,T);break}else{ea(T|0,o|0,4,0);ea(T+4|0,P|0,4,0);ea(T+8|0,c|0,4,0);ea(T+12|0,d|0,4,0);sh(a,27648,T)}while(0);ea(a+17>>0|0,1|0,1,0);B=e+24|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0)}n=da(V|0,2,0,0)|0|0;if(n<<16>>16>-1&(m|0)!=0){y=n<<16>>16>63;z=hw(1,0,n<<16>>16|0)|0;A=m+56|0;x=A;B=da(x+4|0,4,0,0)|0|(y?-2147483648:C);ea(A|0,da(x|0,4,0,0)|0|(y?0:z)|0,4,0);ea(A+4|0,B|0,4,0)}B=f+12|0;Fk(R,da(B|0,4,0,0)|0|0);ea(B|0,0|0,4,0);B=f+16|0;Fk(R,da(B|0,4,0,0)|0|0);ea(B|0,0|0,4,0);ea(f>>0|0,((k|0)!=0?62:-102)|0,1,0);if(p)S=96;else e=2}while(0);g:do if((S|0)==96){o=da(l|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;if(!((da(k+284|0,4,0,0)|0|0)==0|(b|0)==0)){n=da(k+20|0,4,0,0)|0|0;if((n|0)>0){l=da(k+16|0,4,0,0)|0|0;m=0;while(1){k=m+1|0;if((da(l+(m<<4)+12|0,4,0,0)|0|0)==(b|0)){k=m;break}if((k|0)<(n|0))m=k;else break}if((k|0)<0){S=115;break}else b=k}else b=0;if((da(f>>0|0,1,0,0)|0|0)!=62){l=da(o|0,4,0,0)|0|0;if((l|0)<=0){S=115;break}h=da(U|0,4,0,0)|0|0;k=0;while(1){if((h|0)==(da(o+(k*72|0)+48|0,4,0,0)|0|0))break;k=k+1|0;if((k|0)>=(l|0)){S=115;break g}}h=o+(k*72|0)+24|0}l=da(h|0,4,0,0)|0|0;h=da(V|0,2,0,0)|0|0;k=h<<16>>16;if(l){if(h<<16>>16<=-1){h=da(l+36|0,2,0,0)|0|0;if(h<<16>>16>-1)h=da((da(l+4|0,4,0,0)|0|0)+((h<<16>>16)*24|0)|0,4,0,0)|0|0;else h=12944}else h=da((da(l+4|0,4,0,0)|0|0)+(k*24|0)|0,4,0,0)|0|0;if((dv(a,da(l|0,4,0,0)|0|0,h,b)|0)==2){ea(f>>0|0,101|0,1,0);S=115}else S=115}else S=115}else S=115}while(0);if((S|0)==115){B=e+20|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0);if((g|0)==(e|0))e=1;else{do{e=da(e+16|0,4,0,0)|0|0;B=e+20|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0)}while((e|0)!=(g|0));e=1}}i=W;return e|0}function ov(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(b>>0|0,1,0,0)|0|0;a:do if(c<<24>>24==-100|c<<24>>24==-102){c=da(a+24|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;b:do if((d|0)!=0?(e=da(d|0,4,0,0)|0|0,(e|0)>0):0){a=da(b+28|0,4,0,0)|0|0;b=0;while(1){if((a|0)==(da(d+(b*72|0)+48|0,4,0,0)|0|0))break;b=b+1|0;if((b|0)>=(e|0))break b}a=c+4|0;ea(a|0,(da(a|0,4,0,0)|0|0)+1|0,4,0);break a}while(0);a=c+8|0;ea(a|0,(da(a|0,4,0,0)|0|0)+1|0,4,0)}while(0);return 0}function pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;if((i|0)>=(j|0))ba();s=t;n=t+12|0;a:do if(!c)e=0;else{q=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;r=da(a|0,4,0,0)|0|0;b:do if((da(c|0,4,0,0)|0|0)>0){e=0;o=da(c+4|0,4,0,0)|0|0;c:while(1){l=da(o|0,4,0,0)|0|0;d:do if(!l)f=0;else{f=l;while(1){g=da(f+4|0,4,0,0)|0|0;if(!(g&4096))break d;if(!(g&262144))f=f+12|0;else f=da((da(f+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(f|0,4,0,0)|0|0;if(!f){f=0;break}}}while(0);if((da(d>>0|0,1,0,0)|0|0)!=71?(m=qv(da(b|0,4,0,0)|0|0,f)|0,ea(n|0,m|0,4,0),(m|0)>0):0)ea(o+16|0,m|0,2,0);else p=13;do if((p|0)==13){p=0;if(Ls(f,n)|0){f=da(n|0,4,0,0)|0|0;if((f+-1|0)>>>0>65534)break c;ea(o+16|0,f|0,2,0);break}h=o+16|0;ea(h|0,0|0,2,0);if(ks(a,l)|0){e=1;break a}g=da(b|0,4,0,0)|0|0;k=da(g|0,4,0,0)|0|0;if((k|0)>0){g=da(g+4|0,4,0,0)|0|0;f=0;do{u=f;f=f+1|0;if(!(Bu(l,da(g+(u*20|0)|0,4,0,0)|0|0,-1)|0))ea(h|0,f|0,2,0)}while((f|0)<(k|0))}}while(0);e=e+1|0;if((e|0)>=(da(c|0,4,0,0)|0|0))break b;else o=o+20|0}ea(s|0,e+1|0,4,0);ea(s+4|0,d|0,4,0);ea(s+8|0,q|0,4,0);sh(r,27064,s);e=1;break a}while(0);e=vu(r,b,c,d)|0}while(0);i=t;return e|0}function qv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((da(b>>0|0,1,0,0)|0|0)==27?(d=da(b+8|0,4,0,0)|0|0,e=da(a|0,4,0,0)|0|0,(e|0)>0):0){a=da(a+4|0,4,0,0)|0|0;b=0;while(1){c=da(a+(b*20|0)+4|0,4,0,0)|0|0;if((c|0)!=0?(cd(c,d)|0)==0:0)break;b=b+1|0;if((b|0)>=(e|0)){b=0;break a}}b=b+1|0}else b=0;while(0);return b|0}function rv(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+38|0,2,0,0)|0|0;a:do if(c<<16>>16>0){d=da(a+4|0,4,0,0)|0|0;c=c<<16>>16;a=0;while(1){if(!(cd(da(d+(a*24|0)|0,4,0,0)|0|0,b)|0))break a;a=a+1|0;if((a|0)>=(c|0)){a=-1;break}}}else a=-1;while(0);return a|0}function sv(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=da(a|0,4,0,0)|0|0;c=Qv(i,b,c,d)|0;d=Qv(i,b,e,f)|0;f=Yq(a,79,c,d,0)|0;if((f|0)!=0&(g|0)!=0){c=f+4|0;ea(c|0,da(c|0,4,0,0)|0|1|0,4,0);ea(f+36|0,da(d+28|0,4,0,0)|0|0,2,0)}ea(h|0,rs(i,da(h|0,4,0,0)|0|0,f)|0|0,4,0);return}function tv(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=b&65535;do{d=a+4|0;ea(d|0,da(d|0,4,0,0)|0|1|0,4,0);ea(a+36|0,c|0,2,0);tv(da(a+12|0,4,0,0)|0|0,b);a=da(a+16|0,4,0,0)|0|0}while((a|0)!=0)}return}function uv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=0;while(1){f=da(a+e>>0|0,1,0,0)|0|0;if(f<<24>>24==46|f<<24>>24==0)break;e=e+1|0}if(d)if((Ec(a,d,e)|0)==0?(da(d+e>>0|0,1,0,0)|0|0)==0:0)g=7;else e=0;else g=7;do if((g|0)==7){d=e+1|0;g=a+d|0;f=0;while(1){h=da(a+(f+d)>>0|0,1,0,0)|0|0;if(h<<24>>24==46|h<<24>>24==0)break;f=f+1|0}if(c){if(Ec(g,c,f)|0){e=0;break}if(da(c+f>>0|0,1,0,0)|0){e=0;break}}if((b|0)!=0?(cd(a+(e+2+f)|0,b)|0)!=0:0){e=0;break}e=1}while(0);return e|0}function vv(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(d=da(a+4|0,4,0,0)|0|0,(d|0)>0):0){c=da(a|0,4,0,0)|0|0;a=0;while(1){if(!(cd(da(c+(a<<3)|0,4,0,0)|0|0,b)|0))break a;a=a+1|0;if((a|0)>=(d|0)){a=-1;break}}}else a=-1;while(0);return a|0}function wv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;ea(e|0,c|0,4,0);if(!c)d=0;else{d=c;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-c&1073741823}ea(e+4|0,d|0,4,0);d=ur(a,b,e,0)|0;i=f;return d|0}function xv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();l=p;h=b+4|0;k=da((da(h|0,4,0,0)|0|0)+(c*20|0)|0,4,0,0)|0|0;m=da(a|0,4,0,0)|0|0;g=Lr(m,k,0,0)|0;do if(g){if((da(k>>0|0,1,0,0)|0|0)!=-102?(da(e>>0|0,1,0,0)|0|0)!=71:0){if((f|0)>0){ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(l+16|0,0|0,4,0);ea(l+20|0,0|0,4,0);ea(l|0,88|0,4,0);ea(l+24|0,f|0,4,0);qs(l,g)|0}g=Yq(a,24,g,0,0)|0;if(!g)break;b=g+4|0;ea(b|0,da(b|0,4,0,0)|0|4096|0,4,0);b=(da(h|0,4,0,0)|0|0)+(c*20|0)+18|0;f=da(b|0,2,0,0)|0|0;if(!(f<<16>>16)){c=a+456|0;f=(da(c|0,4,0,0)|0|0)+1|0;ea(c|0,f|0,4,0);f=f&65535;ea(b|0,f|0,2,0)}ea(g+28|0,f&65535|0,4,0)}if((da(d>>0|0,1,0,0)|0|0)==95)g=wv(a,g,da(d+8|0,4,0,0)|0|0)|0;b=d+4|0;ea(b|0,da(b|0,4,0,0)|0|32768|0,4,0);Fk(m,d);f=d+0|0;h=g+0|0;k=f+48|0;do{ea(f|0,da(h|0,4,0,0)|0|0,4,0);f=f+4|0;h=h+4|0}while((f|0)<(k|0));if(((da(b|0,4,0,0)|0)&1024|0)==0?(n=d+8|0,o=da(n|0,4,0,0)|0|0,(o|0)!=0):0){ea(n|0,jh(m,o)|0|0,4,0);ea(b|0,da(b|0,4,0,0)|0|65536|0,4,0)}lg(m,g)}while(0);i=p;return}function yv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+12|0;d=da(k|0,4,0,0)|0|0;h=a+16|0;f=da(h|0,4,0,0)|0|0;j=a+20|0;do if((d|0)<(f|0))i=15;else{d=da(j|0,4,0,0)|0|0;g=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;e=lh(g,f*96|0,0)|0;ea(j|0,e|0,4,0);if(!e){if(c&1)Fk(g,b);ea(j|0,d|0,4,0);d=0;break}jw(e|0,d|0,(da(k|0,4,0,0)|0|0)*48|0)|0;if((d|0)!=(a+24|0))lg(g,d);e=da(j|0,4,0,0)|0|0;do if(!g)e=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](e)|0;else{if((da(g+276|0,4,0,0)|0|0)>>>0<=e>>>0?(da(g+280|0,4,0,0)|0|0)>>>0>e>>>0:0){e=da(g+248|0,2,0,1)|0|0;break}e=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](e)|0}while(0);i=(e>>>0)/48|0;ea(h|0,i|0,4,0);d=da(k|0,4,0,0)|0|0;ew((da(j|0,4,0,0)|0|0)+(d*48|0)|0,0,(i-d|0)*48|0)|0;d=da(k|0,4,0,0)|0|0;i=15}while(0);if((i|0)==15){ea(k|0,d+1|0,4,0);f=da(j|0,4,0,0)|0|0;a:do if(!b){ea(f+(d*48|0)+16|0,1|0,2,0);b=0}else{if(!((da(b+4|0,4,0,0)|0)&262144))e=1;else{e=da(b+28|0,4,0,0)|0|0;e=((es(e,((e|0)<0)<<31>>31)|0)&65535)+65266&65535}ea(f+(d*48|0)+16|0,e|0,2,0);while(1){e=da(b+4|0,4,0,0)|0|0;if(!(e&4096))break a;if(!(e&262144))b=b+12|0;else b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0;if(!b){b=0;break}}}while(0);ea(f+(d*48|0)|0,b|0,4,0);ea(f+(d*48|0)+20|0,c|0,2,0);ea(f+(d*48|0)+24|0,a|0,4,0);ea(f+(d*48|0)+4|0,-1|0,4,0)}return d|0}function zv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b)if((da(b>>0|0,1,0,0)|0|0)==-102){b=da(b+28|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;if((d|0)>0)c=0;else{d=0;c=0;break}while(1){if((da(a+(c<<2)+4|0,4,0,0)|0|0)==(b|0))break;c=c+1|0;if((c|0)>=(d|0)){d=0;c=0;break a}}c=hw(1,0,c|0)|0;d=C;break}else{e=zv(a,da(b+16|0,4,0,0)|0|0)|0;c=C;f=zv(a,da(b+12|0,4,0,0)|0|0)|0;c=C|c;d=b+20|0;if(!((da(b+4|0,4,0,0)|0)&2048)){b=Ku(a,da(d|0,4,0,0)|0|0)|0;d=C}else{b=Av(a,da(d|0,4,0,0)|0|0)|0;d=C}d=c|d;c=f|e|b;break}else{d=0;c=0}while(0);C=d;return c|0}function Av(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){b=0;c=0}else{f=b;c=0;b=0;do{e=da(f+32|0,4,0,0)|0|0;k=Ku(a,da(f|0,4,0,0)|0|0)|0;b=C|b;j=Ku(a,da(f+40|0,4,0,0)|0|0)|0;b=b|C;i=Ku(a,da(f+48|0,4,0,0)|0|0)|0;b=b|C;h=zv(a,da(f+36|0,4,0,0)|0|0)|0;b=b|C;d=zv(a,da(f+44|0,4,0,0)|0|0)|0;c=k|c|j|i|h|d;b=b|C;if((e|0)!=0?(g=da(e|0,4,0,0)|0|0,(g|0)>0):0){d=0;do{i=Av(a,da(e+(d*72|0)+28|0,4,0,0)|0|0)|0;b=C|b;j=zv(a,da(e+(d*72|0)+52|0,4,0,0)|0|0)|0;c=i|c|j;b=b|C;d=d+1|0}while((d|0)<(g|0))}f=da(f+52|0,4,0,0)|0|0}while((f|0)!=0)}C=b;return c|0}function Bv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=da(b+18|0,2,0,0)|0|0;h=da(c+18|0,2,0,0)|0|0;e=h|i;if(((!((i&62)==0|(h&62)==0)?(d=e&65535,(d&26|0)==(d|0)|(d&38|0)==(d|0)):0)?(g=da(b|0,4,0,0)|0|0,f=da(c|0,4,0,0)|0|0,(Bu(da(g+12|0,4,0,0)|0|0,da(f+12|0,4,0,0)|0|0,-1)|0)==0):0)?(Bu(da(g+16|0,4,0,0)|0|0,da(f+16|0,4,0,0)|0|0,-1)|0)==0:0){if(d+65535&d)e=(d&24|0)==0?32:8;f=Lr(da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0,g,0,0)|0;if(f){e=e&65535;d=79;while(1)if((e|0)==(2<<d+-79|0))break;else d=d+1|0;ea(f>>0|0,d|0,1,0);Du(a,yv(a,f,3)|0)}}return}function Cv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;ea(a|0,b|0,4,0);ea(a+4|0,b|0,4,0);a:do if((f|0)!=0&(d|0)>-1){ea(a+12>>0|0,da((da((da(f+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(d*24|0)+21>>0|0,1,0,0)|0|0|0,1,0);g=da(f+4|0,4,0,0)|0|0;if((da(g|0,2,0,0)|0|0)==(d|0))b=0;else{h=da(f+48|0,2,0,1)|0|0;i=0;while(1){b=i+1|0;if((i|0)>(h|0)){b=0;break a}if((da(g+(b<<1)|0,2,0,0)|0|0)==(d|0))break;else i=b}}ea(a+8|0,da((da(f+32|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0,4,0);j=8}else{ea(a+12>>0|0,0|0,1,0);ea(a+8|0,0|0,4,0);j=8}while(0);if((j|0)==8){ea(a+16|0,e|0,4,0);ea(a+20|0,0|0,4,0);ea(a+24|0,c|0,4,0);ea(a+28|0,d|0,4,0);ea(a+13>>0|0,2|0,1,0);ea(a+14>>0|0,2|0,1,0);b=Dv(a)|0}return b|0}
function tc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))ba();return b|0}function uc(){return i|0}function vc(a){a=a|0;i=a}function wc(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function xc(a){a=a|0;ea(k>>0|0,da(a>>0|0,1,0,0)|0|0,1,0);ea(k+1>>0|0,da(a+1>>0|0,1,0,0)|0|0,1,0);ea(k+2>>0|0,da(a+2>>0|0,1,0,0)|0|0,1,0);ea(k+3>>0|0,da(a+3>>0|0,1,0,0)|0|0,1,0)}function yc(a){a=a|0;ea(k>>0|0,da(a>>0|0,1,0,0)|0|0,1,0);ea(k+1>>0|0,da(a+1>>0|0,1,0,0)|0|0,1,0);ea(k+2>>0|0,da(a+2>>0|0,1,0,0)|0|0,1,0);ea(k+3>>0|0,da(a+3>>0|0,1,0,0)|0|0,1,0);ea(k+4>>0|0,da(a+4>>0|0,1,0,0)|0|0,1,0);ea(k+5>>0|0,da(a+5>>0|0,1,0,0)|0|0,1,0);ea(k+6>>0|0,da(a+6>>0|0,1,0,0)|0|0,1,0);ea(k+7>>0|0,da(a+7>>0|0,1,0,0)|0|0,1,0)}function zc(a){a=a|0;C=a}function Ac(){return C|0}function Bc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();c=f+4|0;d=f;e=0;a:while(1){ea(c|0,0|0,4,0);ea(d|0,0|0,4,0);ea(280|0,0|0,1,0);if(Qf(14640,c)|0){b=4;break}b=da(c|0,4,0,0)|0|0;a=0;do{if(Pe(b,da(8+(a<<2)|0,4,0,0)|0|0,17,0,d)|0){b=7;break a}a=a+1|0;b=da(c|0,4,0,0)|0|0}while((a|0)!=5);sf(b)|0;if(Zv(280,8504)|0){b=9;break}e=e+1|0;if((e|0)>=3){b=11;break}}if((b|0)==4)hb(8472,8488,47,8496);else if((b|0)==7)hb(8472,8488,50,8496);else if((b|0)==9)hb(8600,8488,53,8496);else if((b|0)==11){i=f;return 0}return 0}function Cc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)>0)while(1){b=b+-1|0;gw(280,da(d|0,4,0,0)|0|0)|0;a=280+(fw(280)|0)|0;ea(a>>0|0,61|0,1,0);ea(a+1>>0|0,0|0,1,0);a=da(c|0,4,0,0)|0|0;gw(280,((a|0)==0?20304:a)|0)|0;if((b|0)<=0)break;else{c=c+4|0;d=d+4|0}}return 0}function Dc(a){a=a|0;var b=0,c=0,d=0;d=(Ec(a,8640,7)|0)==0;d=d?a+7|0:a;if(!d)a=0;else{a=d;while(1)if(!(da(a>>0|0,1,0,0)|0))break;else a=a+1|0;a=a-d&1073741823}c=0;while(1){b=da(8648+(c<<2)|0,4,0,0)|0|0;if((Ec(d,b,a)|0)==0?((da(10368+(da(b+a>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70)==0:0){a=1;break}c=c+1|0;if((c|0)>=4){a=0;break}}return a|0}function Ec(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(a)if(b)if((c|0)>0){d=a;while(1){a=da(d>>0|0,1,0,0)|0|0;if(!(a<<24>>24))break;if((da(9328+(a&255)>>0|0,1,0,0)|0|0)!=(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0))break;c=c+-1|0;if((c|0)<=0){c=0;break a}else{d=d+1|0;b=b+1|0}}if((c|0)>=1)c=(da(9328+(a&255)>>0|0,1,0,1)|0|0)-(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)|0;else c=0}else c=0;else c=1;else c=((b|0)!=0)<<31>>31;while(0);return c|0}function Fc(a){a=a|0;if(a>>>0<4)a=da(8648+(a<<2)|0,4,0,0)|0|0;else a=0;return a|0}function Gc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;if(a>>>0<=9){f=da(8664+(a<<2)|0,4,0,0)|0|0;e=b;ea(e|0,f|0,4,0);ea(e+4|0,0|0,4,0);e=8704+(a<<2)|0;a=c;ea(a|0,da(e|0,4,0,0)|0|0,4,0);ea(a+4|0,0|0,4,0);if(!d)e=0;else{ea(e|0,f|0,4,0);e=0}}else{ea(e|0,15033|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);e=21}i=g;return e|0}function Hc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g+8|0;f=g;a=Gc(a,e,f,d)|0;if(!a){ea(b|0,da(e|0,4,0,0)|0|0,4,0);ea(c|0,da(f|0,4,0,0)|0|0,4,0)}i=g;return a|0}function Ic(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();l=n+4|0;h=n;switch(b|0){case 2:{ea(l|0,0|0,4,0);m=a+20|0;e=da(m|0,4,0,0)|0|0;f=(e|0)>0;if(f){h=da(a+16|0,4,0,0)|0|0;g=0;do{b=da(h+(g<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);g=g+1|0}while((g|0)!=(e|0));g=a+520|0;ea(g|0,l|0,4,0);if(f){k=a+16|0;f=0;do{b=da((da(k|0,4,0,0)|0|0)+(f<<4)+12|0,4,0,0)|0|0;if(b){h=kc[(fa(da(8744+52|0,4,0,0)|0|0,127|0)|0)&127](16)|0;h=_((da(b+44|0,4,0,0)|0|0)+(da(b+12|0,4,0,0)|0|0)+(da(b+28|0,4,0,0)|0|0)+(da(b+60|0,4,0,0)|0|0)|0,h)|0;ea(l|0,h+(da(l|0,4,0,0)|0|0)|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+20|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+52|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+36|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+68|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=da(b+48|0,4,0,0)|0|0;if(h)do{ig(a,da(h+8|0,4,0,0)|0|0);h=da(h|0,4,0,0)|0|0}while((h|0)!=0);h=da(b+16|0,4,0,0)|0|0;if(h)do{jg(a,da(h+8|0,4,0,0)|0|0);h=da(h|0,4,0,0)|0|0}while((h|0)!=0);e=da(m|0,4,0,0)|0|0}f=f+1|0}while((f|0)<(e|0));f=da(l|0,4,0,0)|0|0}else f=0}else{g=a+520|0;ea(g|0,l|0,4,0);f=0}ea(g|0,0|0,4,0);ea(d|0,0|0,4,0);ea(c|0,f|0,4,0);f=0;break}case 9:case 8:case 7:{m=a+20|0;h=da(m|0,4,0,0)|0|0;if((h|0)>0){l=da(a+16|0,4,0,0)|0|0;k=b+-7|0;g=(e|0)==0;f=0;b=h;e=0;while(1){h=da(l+(e<<4)+4|0,4,0,0)|0|0;if(h){h=(da(da(h+4|0,4,0,0)|0|0,4,0,0)|0|0)+(k<<2)+184|0;f=(da(h|0,4,0,0)|0|0)+f|0;if(g)h=b;else{ea(h|0,0|0,4,0);h=da(m|0,4,0,0)|0|0}}else h=b;e=e+1|0;if((e|0)>=(h|0))break;else b=h}}else f=0;ea(d|0,0|0,4,0);ea(c|0,f|0,4,0);f=0;break}case 0:{g=a+252|0;ea(c|0,da(g|0,4,0,0)|0|0,4,0);f=a+256|0;ea(d|0,da(f|0,4,0,0)|0|0,4,0);if(!e)f=0;else{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=0}break}case 6:case 5:case 4:{ea(c|0,0|0,4,0);f=a+(b+-4<<2)+260|0;ea(d|0,da(f|0,4,0,0)|0|0,4,0);if(!e)f=0;else{ea(f|0,0|0,4,0);f=0}break}case 1:{k=a+20|0;g=da(k|0,4,0,0)|0|0;e=(g|0)>0;if(e){f=da(a+16|0,4,0,0)|0|0;h=0;do{b=da(f+(h<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);h=h+1|0}while((h|0)!=(g|0));if(e){b=a+16|0;h=0;f=0;while(1){e=da((da(b|0,4,0,0)|0|0)+(h<<4)+4|0,4,0,0)|0|0;if(!e)e=g;else{m=da(da(e+4|0,4,0,0)|0|0,4,0,0)|0|0;a=m+152|0;l=(da(a|0,4,0,0)|0|0)+60+(da(m+140|0,2,0,1)|0|0)|0;l=_(kc[(fa(da(8744+128|0,4,0,0)|0|0,127|0)|0)&127](da((da(m+204|0,4,0,0)|0|0)+40|0,4,0,0)|0|0)|0,l)|0;m=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](m)|0;e=da(k|0,4,0,0)|0|0;f=l+f+m+(da(a|0,4,0,0)|0|0)|0}h=h+1|0;if((h|0)>=(e|0))break;else g=e}}else f=0}else f=0;ea(c|0,f|0,4,0);ea(d|0,0|0,4,0);f=0;break}case 3:{ea(h|0,0|0,4,0);e=a+520|0;ea(e|0,h|0,4,0);g=da(a+4|0,4,0,0)|0|0;if(!g)f=0;else{do{kg(a,g);lg(a,g);g=da(g+52|0,4,0,0)|0|0}while((g|0)!=0);f=da(h|0,4,0,0)|0|0}ea(e|0,0|0,4,0);ea(d|0,0|0,4,0);ea(c|0,f|0,4,0);f=0;break}case 10:{ea(d|0,0|0,4,0);m=a+512|0;l=da(m+4|0,4,0,0)|0|0;if((l|0)>0|(l|0)==0&(da(m|0,4,0,0)|0|0)>>>0>0)f=1;else{f=a+504|0;a=da(f+4|0,4,0,0)|0|0;f=(a|0)>0|(a|0)==0&(da(f|0,4,0,0)|0|0)>>>0>0}ea(c|0,f&1|0,4,0);f=0;break}default:f=1}i=n;return f|0}function Jc(a){a=a|0;var b=0;a:do if(!(Kc()|0)){b=da(2254*4|0,4,0,0)|0|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(Zv(a,da(b+16|0,4,0,0)|0|0)|0))break a;b=da(b+12|0,4,0,0)|0|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Kc(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();h=l;do if(!(da(2243*4|0,4,0,0)|0)){ea(2245*4|0,1|0,4,0);if(!(da(2246*4|0,4,0,0)|0)){if(!(da(2195*4|0,4,0,0)|0)){ea(h|0,16496|0,4,0);lf(4,h)|0}b=9024|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));if(da(2187*4|0,4,0,0)|0)ea(2256*4|0,8|0,4,0);g=da(2234*4|0,4,0,0)|0|0;c=da(2235*4|0,4,0,0)|0|0;b=da(2236*4|0,4,0,0)|0|0;if((g|0)!=0&(c|0)>99&(b|0)>0){f=c&-8;ea(2235*4|0,f|0,4,0);ea(2263*4|0,g|0,4,0);ea(2264*4|0,b|0,4,0);e=b+-1|0;if((e|0)>0){b=g+(_(c>>>3,(b<<3)+-8|0)|0)|0;d=0;c=g;do{a=c;c=c+f|0;ea(a|0,c|0,4,0);d=d+1|0}while((d|0)!=(e|0))}else b=g;ea(b|0,0|0,4,0);ea(2262*4|0,b+4|0,4,0)}else{ea(2262*4|0,0|0,4,0);ea(2234*4|0,0|0,4,0);ea(2235*4|0,0|0,4,0);ea(2236*4|0,0|0,4,0)}if((da(2237*4|0,4,0,0)|0|0)==0|(da(2238*4|0,4,0,0)|0|0)<512|(da(2239*4|0,4,0,0)|0|0)<1){ea(2237*4|0,0|0,4,0);ea(2238*4|0,0|0,4,0);ea(2239*4|0,0|0,4,0)}a=kc[(fa(da(8744+56|0,4,0,0)|0|0,127|0)|0)&127](da(2202*4|0,4,0,0)|0|0)|0;if(a){b=9024|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));break}}ea(2246*4|0,1|0,4,0);if(!(da(2249*4|0,4,0,0)|0))ea(2249*4|0,8|0,4,0);a=(da(2248*4|0,4,0,0)|0|0)+1|0;ea(2248*4|0,a|0,4,0);if(!(da(2244*4|0,4,0,0)|0|(da(2243*4|0,4,0,0)|0))){ea(2244*4|0,1|0,4,0);b=10840|0;c=b+92|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));b=0;do{mg(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{mg(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);mg(10840,19256);mg(10840,19292|0);mg(10840,19328|0);if(!(da(2247*4|0,4,0,0)|0)){a=da(2214*4|0,4,0,0)|0|0;if(!a){ea(h|0,16440|0,4,0);lf(18,h)|0;a=da(2214*4|0,4,0,0)|0|0}a=kc[(fa(a|0,127|0)|0)&127](da(2213*4|0,4,0,0)|0|0)|0;if(!a)k=28}else k=28;if((k|0)==28){ea(2247*4|0,1|0,4,0);a=Sc(10)|0;if(!a)a=7;else{Vc(a);Lc(9584,1)|0;Lc(9672|0,0)|0;Lc(9760|0,0)|0;Lc(9848|0,0)|0;a=da(2237*4|0,4,0,0)|0|0;b=da(2238*4|0,4,0,0)|0|0;c=da(2239*4|0,4,0,0)|0|0;if(da(3153*4|0,4,0,0)|0){h=b&-8;ea(3154*4|0,h|0,4,0);ea(3161*4|0,c|0,4,0);ea(3155*4|0,c|0,4,0);if((c|0)<=90){ea(3156*4|0,((c|0)/10|0)+1|0,4,0);ea(3157*4|0,a|0,4,0);ea(3160*4|0,0|0,4,0);ea(3162*4|0,0|0,4,0);if(c)k=33}else{ea(3156*4|0,10|0,4,0);ea(3157*4|0,a|0,4,0);ea(3160*4|0,0|0,4,0);ea(3162*4|0,0|0,4,0);k=33}if((k|0)==33){e=b>>>3;f=c<<3;g=_(e<<3,c+-1|0)|0;b=a;d=0;while(1){c=c+-1|0;ea(b|0,d|0,4,0);if(!c)break;else{d=b;b=b+h|0}}b=a+(_(f,e)|0)|0;ea(3160*4|0,a+g|0,4,0);a=b}ea(3158*4|0,a|0,4,0)}ea(2243*4|0,1|0,4,0);a=0}}ea(2244*4|0,0|0,4,0);b=da(2248*4|0,4,0,0)|0|0}else{b=a;a=0}ea(2248*4|0,b+-1|0,4,0);if((b|0)<2)ea(2249*4|0,0|0,4,0)}else a=0;while(0);i=l;return a|0}function Lc(a,b){a=a|0;b=b|0;var c=0;c=Kc()|0;do if(!c){ng(a);c=da(2254*4|0,4,0,0)|0|0;if((b|0)!=0|(c|0)==0){ea(a+12|0,c|0,4,0);ea(2254*4|0,a|0,4,0);c=0;break}else{ea(a+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea((da(2254*4|0,4,0,0)|0|0)+12|0,a|0,4,0);c=0;break}}while(0);return c|0}function Mc(a){a=a|0;ng(a);return 0}function Nc(a){a=a|0;return 0}function Oc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!(Kc()|0)){d=9032|0;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){ea(2260*4|0,9|0,4,0);ea(2261*4|0,0|0,4,0);e=9032|0;ea(e|0,a|0,4,0);ea(e+4|0,b|0,4,0);ea(2265*4|0,(0>(b|0)|0==(b|0)&(da(2166*4|0,4,0,0)|0|0)>>>0>=a>>>0)&1|0,4,0);break}else{ea(2265*4|0,0|0,4,0);ea(2258*4|0,0|0,4,0);ea(2259*4|0,0|0,4,0);ea(2260*4|0,0|0,4,0);ea(2261*4|0,0|0,4,0);break}}else{d=-1;c=-1}while(0);C=d;return c|0}function Pc(){var a=0;a=da(2166*4|0,4,0,0)|0|0;C=((a|0)<0)<<31>>31;return a|0}function Qc(a){a=a|0;var b=0;b=(a|0)<0;Oc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Rc(a){a=a|0;var b=0;b=da(2176*4|0,4,0,0)|0|0;if(a)ea(2176*4|0,da(2166*4|0,4,0,0)|0|0,4,0);C=((b|0)<0)<<31>>31;return b|0}function Sc(a){a=a|0;if((Kc()|0)!=0|(a|0)<1)a=0;else a=pg(a,((a|0)<0)<<31>>31)|0;return a|0}function Tc(a,b){a=a|0;b=b|0;if(!(Kc()|0))a=pg(a,b)|0;else a=0;return a|0}function Uc(a){a=a|0;a=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;C=((a|0)<0)<<31>>31;return a|0}function Vc(a){a=a|0;var b=0;do if(a)if(!(da(2186*4|0,4,0,0)|0)){bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2166*4|0,(da(2166*4|0,4,0,0)|0|0)-b|0,4,0);ea(2175*4|0,(da(2175*4|0,4,0,0)|0|0)+-1|0,4,0);bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}while(0);return}function Wc(a,b){a=a|0;b=b|0;var c=0;if(!(Kc()|0)){c=(b|0)<0;b=qg(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function Xc(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Kc()|0))b=qg(a,b,c)|0;else b=0;return b|0}function Yc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+112|0;if((i|0)>=(j|0))ba();d=e+28|0;c=e;if(!(Kc()|0)){ea(c+4|0,d|0,4,0);ea(c+8|0,d|0,4,0);ea(c|0,0|0,4,0);ea(c+12|0,0|0,4,0);ea(c+16|0,70|0,4,0);ea(c+20|0,1e9|0,4,0);ea(c+25>>0|0,0|0,1,0);ea(c+24>>0|0,2|0,1,0);rg(c,0,a,b);c=sg(c)|0}else c=0;i=e;return c|0}function Zc(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;if(!(Kc()|0)){ea(c|0,b|0,4,0);c=Yc(a,c)|0}else c=0;i=d;return c|0}function _c(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();e=f;if((a|0)>=1){ea(e+4|0,b|0,4,0);ea(e+8|0,b|0,4,0);ea(e|0,0|0,4,0);ea(e+12|0,0|0,4,0);ea(e+16|0,a|0,4,0);ea(e+20|0,0|0,4,0);ea(e+25>>0|0,0|0,1,0);ea(e+24>>0|0,0|0,1,0);rg(e,0,c,d);b=sg(e)|0}i=f;return b|0}function $c(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;ea(f|0,d|0,4,0);a=_c(a,b,c,f)|0;i=e;return a|0}function ad(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+256|0;if((i|0)>=(j|0))ba();d=g+16|0;f=g+44|0;e=g;if(da(2250*4|0,4,0,0)|0){ea(e|0,c|0,4,0);ea(d+4|0,f|0,4,0);ea(d+8|0,f|0,4,0);ea(d|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+16|0,210|0,4,0);ea(d+20|0,0|0,4,0);ea(d+25>>0|0,0|0,1,0);ea(d+24>>0|0,0|0,1,0);rg(d,0,b,e);c=da(2250*4|0,4,0,0)|0|0;e=da(2251*4|0,4,0,0)|0|0;d=sg(d)|0;lc[(fa(c|0,63|0)|0)&63](e,a,d)}i=g;return}function bd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+256|0;if((i|0)>=(j|0))ba();d=e;do if(!(Kc()|0)){if((a|0)<1|(b|0)==0){ea(9064|0,0|0,1,0);break}if(!(da(9064|0,1,0,0)|0)){ea(9066|0,0|0,1,0);ea(9065|0,0|0,1,0);c=(Kc()|0)==0;c=c?da(2254*4|0,4,0,0)|0|0:0;$b[(fa(da(c+56|0,4,0,0)|0|0,63|0)|0)&63](c,256,d)|0;c=0;do{ea(9067+c>>0|0,c|0,1,0);c=c+1|0}while((c|0)!=256);c=0;do{g=9067+c|0;h=(da(d+c>>0|0,1,0,1)|0|0)+(da(g>>0|0,1,0,1)|0|0)+(da(9066|0,1,0,1)|0|0)|0;ea(9066|0,h|0,1,0);h=9067+(h&255)|0;f=da(h>>0|0,1,0,0)|0|0;ea(h>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);ea(g>>0|0,f|0,1,0);c=c+1|0}while((c|0)!=256);ea(9064|0,1|0,1,0)}while(1){g=(da(9065|0,1,0,0)|0|0)+1<<24>>24;ea(9065|0,g|0,1,0);g=9067+(g&255)|0;d=da(g>>0|0,1,0,0)|0|0;c=d&255;f=(da(9066|0,1,0,1)|0|0)+c|0;ea(9066|0,f|0,1,0);ea(g>>0|0,da(9067+(f&255)>>0|0,1,0,0)|0|0|0,1,0);ea(9067+(da(9066|0,1,0,1)|0|0)>>0|0,d|0,1,0);ea(b>>0|0,da(9067+((da(9067+(da(9065|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c&255)>>0|0,1,0,0)|0|0|0,1,0);a=a+-1|0;if(!a)break;else b=b+1|0}}while(0);i=e;return}function cd(a,b){a=a|0;b=b|0;var c=0;if(a)if(!b)b=1;else{c=da(a>>0|0,1,0,0)|0|0;a:do if(!(c<<24>>24))c=0;else while(1){if((da(9328+(c&255)>>0|0,1,0,0)|0|0)!=(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0))break a;a=a+1|0;b=b+1|0;c=da(a>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=0;break}}while(0);b=(da(9328+(c&255)>>0|0,1,0,1)|0|0)-(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)|0}else b=((b|0)!=0)<<31>>31;return b|0}function dd(a){a=a|0;ea(2241*4|0,a|0,4,0);return 0}function ed(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;a:do if((c|0)==(a|0)){tg(c,1,10016,k);e=0}else{e=pg(48,0)|0;if(!e){ea(a+52|0,7|0,4,0);e=da(a+236|0,4,0,0)|0|0;if(!e){e=0;break}b=e+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);e=0;break}else{ug(e);e=0;break}}g=e+0|0;f=g+48|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));h=e+24|0;ea(h|0,vg(a,c,d)|0|0,4,0);f=vg(a,a,b)|0;g=e+4|0;ea(g|0,f|0,4,0);ea(e|0,a|0,4,0);ea(e+20|0,c|0,4,0);ea(e+16|0,1|0,4,0);ea(e+40|0,0|0,4,0);b=da(h|0,4,0,0)|0|0;do if(!((b|0)==0|(f|0)==0)?(wg(f,da((da(b+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,-1,0)|0)!=7:0)if(!(da((da(g|0,4,0,0)|0|0)+8>>0|0,1,0,0)|0)){b=(da(h|0,4,0,0)|0|0)+16|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break a}else{tg(a,1,47416,k);break}while(0);Vc(e);e=0}while(0);i=l;return e|0}function fd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();d=A;n=A+16|0;q=A+12|0;u=A+8|0;y=a+24|0;e=da(y|0,4,0,0)|0|0;f=da(e+4|0,4,0,0)|0|0;ea(f+4|0,da(e|0,4,0,0)|0|0,4,0);z=a+28|0;c=da(z|0,4,0,0)|0|0;if(c>>>0<7?(30>>>(c&127)&1)==0:0){t=da(f|0,4,0,0)|0|0;x=a+4|0;c=da(x|0,4,0,0)|0|0;w=da(da(c+4|0,4,0,0)|0|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)!=0?(da(f+20>>0|0,1,0,0)|0|0)==2:0){v=0;e=5}else r=5;do if((r|0)==5){f=a+12|0;if(!(da(f|0,4,0,0)|0)){e=xg(c,2)|0;if(e){v=0;break}ea(f|0,1|0,4,0);v=da(x|0,4,0,0)|0|0;e=da(v+4|0,4,0,0)|0|0;ea(e+4|0,da(v|0,4,0,0)|0|0,4,0);e=da((da(e+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(a+8|0,(da(e+41>>0|0,1,0,1)|0)<<16|(da(e+40>>0|0,1,0,1)|0)<<24|(da(e+42>>0|0,1,0,1)|0)<<8|(da(e+43>>0|0,1,0,1)|0)|0,4,0);e=da(y|0,4,0,0)|0|0}if(!(da(e+8>>0|0,1,0,0)|0)){v=1;e=xg(e,0)|0}else{v=0;e=0}}while(0);h=da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(h+32|0,4,0,0)|0|0;m=da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;p=da(m+32|0,4,0,0)|0|0;m=(da((da(m|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)==5;c=(s|0)==(p|0)|(e|0)==0&m^1?e:8;h=da(h+44|0,4,0,0)|0|0;f=(b|0)<0;a:do if(b){e=a+16|0;k=da(e|0,4,0,0)|0|0;l=0;do{if(!(k>>>0<=h>>>0&(c|0)==0))break a;if((k|0)!=((((da(2514*4|0,4,0,0)|0|0)>>>0)/((da((da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)>>>0)|0)+1|0)){c=yg(t,k,n,2)|0;if(!c){g=da(n|0,4,0,0)|0|0;c=zg(a,k,da(g+4|0,4,0,0)|0|0,0)|0;if(g)Ag(g)}}else c=0;k=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,k|0,4,0);l=l+1|0}while(f|(l|0)<(b|0))}while(0);if(!c){ea(a+36|0,h|0,4,0);n=da(a+16|0,4,0,0)|0|0;ea(a+32|0,h+1-n|0,4,0);if(n>>>0<=h>>>0){c=a+40|0;if(!(da(c|0,4,0,0)|0)){x=(da(da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0)+88|0;ea(a+44|0,da(x|0,4,0,0)|0|0,4,0);ea(x|0,a|0,4,0);ea(c|0,1|0,4,0);c=0}else c=0}else r=22}else if((c|0)==101)r=22;do if((r|0)==22){if(!h){n=da(x|0,4,0,0)|0|0;c=da(n+4|0,4,0,0)|0|0;ea(c+4|0,da(n|0,4,0,0)|0|0,4,0);ea(c+44|0,0|0,4,0);c=Bg(c)|0;if((c|0)==0|(c|0)==101)h=1;else break}c=Cg(da(x|0,4,0,0)|0|0,1,(da(a+8|0,4,0,0)|0|0)+1|0)|0;if(!c){e=da(a|0,4,0,0)|0|0;if(e)Dg(e);if(m?(o=Eg(da(x|0,4,0,0)|0|0,2)|0,(o|0)!=0):0){c=o;break}if((s|0)<(p|0)){e=(p|0)/(s|0)|0;e=(h+-1+e|0)/(e|0)|0;f=da(2514*4|0,4,0,0)|0|0;g=da((da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;e=(((e|0)==(((f>>>0)/(g>>>0)|0)+1|0))<<31>>31)+e|0;a=((s|0)<0)<<31>>31;o=rw(h|0,((h|0)<0)<<31>>31|0,s|0,a|0)|0;n=C;m=da(w+60|0,4,0,0)|0|0;l=da(w+24|0,4,0,0)|0|0;b:do if(e>>>0<=l>>>0){c=0;while(1){if((e|0)!=(((f>>>0)/(g>>>0)|0)+1|0)){c=yg(w,e,q,0)|0;if(c)break b;f=da(q|0,4,0,0)|0|0;c=Fg(f)|0;if(f)Ag(f)}e=e+1|0;f=(c|0)==0;if(e>>>0>l>>>0|f^1)break;g=da((da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=da(2514*4|0,4,0,0)|0|0}if(f)r=38}else r=38;while(0);if((r|0)==38)c=Gg(w,0,1)|0;f=da(2514*4|0,4,0,0)|0|0;h=f+p|0;k=((h|0)<0)<<31>>31;g=(k|0)<(n|0)|(k|0)==(n|0)&h>>>0<o>>>0;h=g?h:o;k=g?k:n;f=f+s|0;g=((f|0)<0)<<31>>31;e=(c|0)==0;if(e&((g|0)<(k|0)|(g|0)==(k|0)&f>>>0<h>>>0))do{ea(u|0,0|0,4,0);c=pw(f|0,g|0,s|0,a|0)|0;c=iw(c|0,C|0,1,0)|0;c=yg(t,c,u,0)|0;e=da(u|0,4,0,0)|0|0;if(!c)c=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,da(e+4|0,4,0,0)|0|0,s,f,g)|0;if(e)Ag(e);f=iw(f|0,g|0,s|0,a|0)|0;g=C;e=(c|0)==0}while(e&((g|0)<(k|0)|(g|0)==(k|0)&f>>>0<h>>>0));if(!e)break;c=qc[(fa(da((da(m|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](m,d)|0;u=da(d+4|0,4,0,0)|0|0;if((c|0)==0&((u|0)>(n|0)|((u|0)==(n|0)?(da(d|0,4,0,0)|0|0)>>>0>o>>>0:0)))c=$b[(fa(da((da(m|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](m,o,n)|0;if(c)break;c=Hg(w,0)|0}else{ea(w+24|0,_((s|0)/(p|0)|0,h)|0|0,4,0);c=Gg(w,0,0)|0}if(!c){c=Ig(da(x|0,4,0,0)|0|0,0)|0;c=(c|0)==0?101:c}}}while(0);if(v){Jg(da(y|0,4,0,0)|0|0,0)|0;Ig(da(y|0,4,0,0)|0|0,0)|0}c=(c|0)==3082?7:c;ea(z|0,c|0,4,0)}i=A;return c|0}function gd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)b=0;else{f=da(a+20|0,4,0,0)|0|0;c=da(a+24|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;ea(b+4|0,da(c|0,4,0,0)|0|0,4,0);if(da(a|0,4,0,0)|0){c=c+16|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0)}if(da(a+40|0,4,0,0)|0){b=(da(b|0,4,0,0)|0|0)+88|0;while(1){c=da(b|0,4,0,0)|0|0;if((c|0)==(a|0))break;else b=c+44|0}ea(b|0,da(a+44|0,4,0,0)|0|0,4,0)}Kg(da(a+4|0,4,0,0)|0|0,0,0);b=da(a+28|0,4,0,0)|0|0;b=(b|0)==101?0:b;c=da(a|0,4,0,0)|0|0;if(c){ea(c+52|0,b|0,4,0);d=da(c+236|0,4,0,0)|0|0;do if(d){e=d+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(d);c=da(a|0,4,0,0)|0|0;break}}while(0);Lg(c);if(da(a|0,4,0,0)|0)Vc(a)}Lg(f)}return b|0}function hd(a){a=a|0;return da(a+32|0,4,0,0)|0|0}function id(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function jd(a){a=a|0;if((a|0)!=0?((da(a+88|0,2,0,0)|0)&256)!=0:0)a=da(a+168|0,4,0,0)|0|0;else a=0;return a|0}function kd(a){a=a|0;if(!a)a=1;else a=((da(a+88|0,2,0,0)|0)&8)!=0;return a&1|0}function ld(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;do if(a){b=da(a|0,4,0,0)|0|0;if(!b){ad(21,47360,c);ea(c|0,68910|0,4,0);ea(c+4|0,10788|0,4,0);ad(21,13648,c);b=21;break}else{a=Ng(b,Mg(a)|0)|0;Lg(b);b=a;break}}else b=0;while(0);i=d;return b|0}function md(a){a=a|0;var b=0,c=0;if(!a)a=0;else{b=Og(a)|0;ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);c=a+144|0;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);a=Ng(da(a|0,4,0,0)|0|0,b)|0}return a|0}function nd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a+68|0;c=da(f|0,2,0,0)|0|0;if(c<<16>>16>0){g=a+60|0;b=da(g|0,4,0,0)|0|0;e=0;do{d=b+(e*40|0)|0;if(!(((da(b+(e*40|0)+8|0,2,0,0)|0)&9312)==0?(da(b+(e*40|0)+24|0,4,0,0)|0|0)==0:0)){Pg(d);b=da(g|0,4,0,0)|0|0;c=da(f|0,2,0,0)|0|0}ea(b+(e*40|0)+8|0,1|0,2,0);e=e+1|0}while((e|0)<(c<<16>>16|0))}b=a+88|0;c=da(b|0,2,0,0)|0|0;if((c&256)!=0?(da(a+188|0,4,0,0)|0|0)!=0:0)ea(b|0,c|8|0,2,0);return 0}function od(a){a=a|0;var b=0;b=a+8|0;if((da(b|0,2,0,0)|0)&18){Qg(a)|0;ea(b|0,da(b|0,2,0,1)|0|0|16|0,2,0);if(!(da(a+12|0,4,0,0)|0))b=0;else b=da(a+16|0,4,0,0)|0|0}else b=Rg(a,1)|0;return b|0}function pd(a){a=a|0;return Rg(a,1)|0}function qd(a){a=a|0;return Sg(a,1)|0}function rd(a){a=a|0;return Sg(a,2)|0}function sd(a){a=a|0;return +(+Tg(a))}function td(a){a=a|0;a=Ug(a)|0;return a|0}function ud(a){a=a|0;a=Ug(a)|0;return a|0}function vd(a){a=a|0;return Rg(a,2)|0}function wd(a){a=a|0;return Rg(a,3)|0}function xd(a){a=a|0;return Rg(a,2)|0}function yd(a){a=a|0;return da(10064+((da(a+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0|0}function zd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,0,d);return}function Ad(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))bc[(fa(e|0,31|0)|0)&31](b);if(a){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}}else Vg(a,b,c,0,e);return}function Bd(a,b){a=a|0;b=+b;Xg(da(a|0,4,0,0)|0|0,b);return}function Cd(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,c,1,-1)|0;return}function Dd(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,c,2,-1)|0;return}function Ed(a,b){a=a|0;b=b|0;var c=0,d=0;a=da(a|0,4,0,0)|0|0;c=((b|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,c|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,b,c);return}function Fd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,c|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,b,c);return}function Gd(a){a=a|0;var b=0;a=da(a|0,4,0,0)|0|0;b=a+8|0;if(!((da(b|0,2,0,0)|0)&9312))ea(b|0,1|0,2,0);else ug(a);return}function Hd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,1,d);return}function Id(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))bc[(fa(e|0,31|0)|0)&31](b);if(a){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}}else Vg(a,b,c,f<<24>>24==4?2:f,e);return}function Jd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,2,d);return}function Kd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,3,d);return}function Ld(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,2,d);return}function Md(a,b){a=a|0;b=b|0;Zg(da(a|0,4,0,0)|0|0,b)|0;return}function Nd(a,b){a=a|0;b=b|0;_g(da(a|0,4,0,0)|0|0,b);return}function Od(a,b){a=a|0;b=b|0;var c=0;ea(a+20|0,b|0,4,0);ea(a+25>>0|0,1|0,1,0);c=da(a|0,4,0,0)|0|0;if((da(c+8|0,2,0,0)|0)&1){if((b|0)!=516){a=b&255;if(a>>>0>26|(a|0)==2)a=16328;else a=da(15488+(a<<2)|0,4,0,0)|0|0}else a=16344;Wg(c,a,-1,1,0)|0}return}function Pd(a){a=a|0;ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0;return}function Qd(a){a=a|0;var b=0,c=0;b=da(a|0,4,0,0)|0|0;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else{ug(b);b=da(a|0,4,0,0)|0|0}ea(a+20|0,7|0,4,0);ea(a+25>>0|0,1|0,1,0);ea((da(b+32|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);return}function Rd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=i;i=i+224|0;if((i|0)>=(j|0))ba();L=Q+8|0;K=Q;if(!($g(a)|0)){P=da(a|0,4,0,0)|0|0;D=a+88|0;ea(D|0,(da(D|0,2,0,0)|0)&-513|0,2,0);H=a+40|0;I=a+76|0;J=a+128|0;O=a+80|0;t=a+168|0;u=a+8|0;v=a+20|0;w=a+32|0;x=a+4|0;y=a+84|0;N=a+44|0;z=(a|0)==0;A=a+52|0;B=a+48|0;s=0;while(1){if((da(H|0,4,0,0)|0|0)!=-1108210269)md(a)|0;r=da(a|0,4,0,0)|0|0;if(da(r+65>>0|0,1,0,0)|0){M=7;break}c=da(I|0,4,0,0)|0|0;do if((c|0)<1){if((da(D|0,2,0,0)|0)&8){ea(O|0,17|0,4,0);c=1;break}if((c|0)<0){c=r+148|0;if(!(da(c|0,4,0,0)|0))ea(r+240|0,0|0,4,0);if((da(r+184|0,4,0,0)|0|0)!=0?(da(r+145>>0|0,1,0,0)|0|0)==0:0)ah(da(r|0,4,0,0)|0|0,J)|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=da(D|0,2,0,0)|0|0;if(!(c&64)){c=r+156|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=da(D|0,2,0,0)|0|0}if(c&128){q=r+152|0;ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0)}ea(I|0,0|0,4,0);M=22}else M=22}else M=22;while(0);if((M|0)==22){M=0;do if(!((da(D|0,2,0,0)|0)&3)){q=r+160|0;ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);c=fh(a)|0;ea(q|0,(da(q|0,4,0,0)|0|0)+-1|0,4,0);if((c|0)==100)c=100;else M=101}else{g=da(a|0,4,0,0)|0|0;p=da(u|0,4,0,0)|0|0;o=p+40|0;bh(o,8);ea(v|0,0|0,4,0);if((da(O|0,4,0,0)|0|0)==7){ea(g+65>>0|0,1|0,1,0);c=1;M=101;break}e=da(w|0,4,0,0)|0|0;h=(da(D|0,2,0,0)|0)&3;if(h<<16>>16==1){f=da(u|0,4,0,0)|0|0;l=f+360|0;if((da(f+368|0,2,0,0)|0)&16){m=(da(f+372|0,4,0,0)|0|0)>>>2;d=da(f+376|0,4,0,0)|0|0;if(!m){n=d;f=e;b=0}else{c=0;f=e;do{f=(da((da(d+(c<<2)|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+f|0;c=c+1|0}while((c|0)<(m|0));n=d;b=m}}else{n=0;f=e;b=0}}else{n=0;f=e;b=0;l=0}e=h<<16>>16==2;d=da(I|0,4,0,0)|0|0;while(1){c=d+1|0;if((d|0)>=(f|0)){M=33;break}if(!e)break;if((da((da(x|0,4,0,0)|0|0)+(d*20|0)>>0|0,1,0,0)|0|0)==-99)break;else d=c}if((M|0)==33){ea(I|0,c|0,4,0);ea(O|0,0|0,4,0);c=101;M=101;break}ea(I|0,c|0,4,0);if(da(g+240|0,4,0,0)|0){ea(O|0,9|0,4,0);ea(L|0,15832|0,4,0);ch(N,g,10344,L);c=1;M=101;break}f=da(w|0,4,0,0)|0|0;if((d|0)<(f|0)){c=d;q=(da(x|0,4,0,0)|0|0)+(d*20|0)|0}else{d=d-f|0;f=da(n|0,4,0,0)|0|0;e=da(f+4|0,4,0,0)|0|0;if((d|0)<(e|0))e=d;else{f=d;c=0;while(1){d=f-e|0;c=c+1|0;f=da(n+(c<<2)|0,4,0,0)|0|0;e=da(f+4|0,4,0,0)|0|0;if((d|0)<(e|0)){e=d;break}else f=d}}c=e;q=(da(f|0,4,0,0)|0|0)+(e*20|0)|0}if(((da(D|0,2,0,0)|0)&3)==1){ea(p+48|0,4|0,2,0);e=o;ea(e|0,c|0,4,0);ea(e+4|0,((c|0)<0)<<31>>31|0,4,0);ea(p+88|0,2562|0,2,0);e=da(44856+((da(q>>0|0,1,0,1)|0)<<2)|0,4,0,0)|0|0;ea(p+96|0,e|0,4,0);f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;m=p+80|0;ea(p+92|0,f-e&1073741823|0,4,0);ea(p+90>>0|0,1|0,1,0);if((da(q+1>>0|0,1,0,0)|0|0)==-18){c=(b<<2)+4|0;a:do if(!b)f=0;else{e=da(q+16|0,4,0,0)|0|0;d=0;while(1){f=d+1|0;if((da(n+(d<<2)|0,4,0,0)|0|0)==(e|0)){f=d;break a}if((f|0)<(b|0))d=f;else break}}while(0);if((f|0)==(b|0)?(dh(l,c,(b|0)!=0&1)|0)==0:0){ea((da(l+16|0,4,0,0)|0|0)+(b<<2)|0,da(q+16|0,4,0,0)|0|0,4,0);p=l+8|0;ea(p|0,da(p|0,2,0,1)|0|16|0,2,0);ea(l+12|0,c|0,4,0);p=m}else p=m}else p=m}ea(p+48|0,4|0,2,0);n=da(q+4|0,4,0,0)|0|0;o=p+40|0;ea(o|0,n|0,4,0);ea(o+4|0,((n|0)<0)<<31>>31|0,4,0);ea(p+88|0,4|0,2,0);n=da(q+8|0,4,0,0)|0|0;o=p+80|0;ea(o|0,n|0,4,0);ea(o+4|0,((n|0)<0)<<31>>31|0,4,0);ea(p+128|0,4|0,2,0);n=da(q+12|0,4,0,0)|0|0;o=p+120|0;ea(o|0,n|0,4,0);ea(o+4|0,((n|0)<0)<<31>>31|0,4,0);n=p+160|0;if(!(eh(n,32)|0)){ea(p+168|0,514|0,2,0);o=p+176|0;b=da(o|0,4,0,0)|0|0;b:do switch(da(q+1>>0|0,1,0,0)|0|0){case -6:{g=da(q+16|0,4,0,0)|0|0;c=g+6|0;ea(L|0,da(c|0,2,0,1)|0|0,4,0);$c(32,b,44768,L)|0;if(!b)f=0;else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=f-b&1073741823}c:do if(da(c|0,2,0,0)|0){h=g+16|0;l=0;while(1){e=da(g+(l<<2)+20|0,4,0,0)|0|0;if(e){e=da(e|0,4,0,0)|0|0;if(!e){d=0;e=0}else M=61}else{e=44776;M=61}do if((M|0)==61){M=0;m=e;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;d=m-e&1073741823;if((d|0)!=6)break;m=(Yv(e,11152,6)|0)==0;d=m?1:6;e=m?44784:e}while(0);if((d+f|0)>26)break;m=f+1|0;ea(b+f>>0|0,44|0,1,0);if(da((da(h|0,4,0,0)|0|0)+l>>0|0,1,0,0)|0){ea(b+m>>0|0,45|0,1,0);m=f+2|0}jw(b+m|0,e|0,d+1|0)|0;f=m+d|0;l=l+1|0;if((l|0)>=(da(c|0,2,0,1)|0|0))break c}c=b+f|0;ea(c>>0|0,44|0,1,0);ea(c+1>>0|0,46|0,1,0);ea(c+2>>0|0,46|0,1,0);ea(c+3>>0|0,46|0,1,0)}while(0);ea(b+f>>0|0,41|0,1,0);ea(b+(f+1)>>0|0,0|0,1,0);e=b;break}case -15:{$c(32,b,44832,L)|0;e=b;break}case -18:{$c(32,b,44848,L)|0;e=b;break}case -4:{ea(L|0,da(da(q+16|0,4,0,0)|0|0,4,0,0)|0|0,4,0);$c(32,b,44792,L)|0;e=b;break}case -5:{c=da(q+16|0,4,0,0)|0|0;e=da(c|0,2,0,0)|0|0;ea(L|0,da(c+24|0,4,0,0)|0|0,4,0);ea(L+4|0,e|0,4,0);$c(32,b,44800,L)|0;e=b;break}case -13:{d=da(q+16|0,4,0,0)|0|0;e=da(d+4|0,4,0,0)|0|0;c=L;ea(c|0,da(d|0,4,0,0)|0|0,4,0);ea(c+4|0,e|0,4,0);$c(32,b,19920,L)|0;e=b;break}case -14:{ea(L|0,da(q+16|0,4,0,0)|0|0,4,0);$c(32,b,44808,L)|0;e=b;break}case -12:{ea(k|0,+(+(+da(da(q+16|0,4,0,0)|0|0,8,1,0))),8,1);ea(L|0,da(k|0,4,0,0)|0|0,4,0);ea(L+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(32,b,19912,L)|0;e=b;break}case -8:{f=da(q+16|0,4,0,0)|0|0;e=da(f+8|0,2,0,1)|0|0;if(e&2){e=da(f+16|0,4,0,0)|0|0;break b}if(e&4){d=f;e=da(d+4|0,4,0,0)|0|0;c=L;ea(c|0,da(d|0,4,0,0)|0|0,4,0);ea(c+4|0,e|0,4,0);$c(32,b,19920,L)|0;e=b;break b}if(e&8){ea(k|0,+(+(+da(f|0,8,1,0))),8,1);ea(L|0,da(k|0,4,0,0)|0|0,4,0);ea(L+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(32,b,19912,L)|0;e=b;break b}if(!(e&1))e=44816;else{$c(32,b,20304,L)|0;e=b}break}case -19:{ea(b>>0|0,0|0,1,0);e=b;break}case -10:{ea(L|0,da((da(q+16|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,4,0);$c(32,b,44824,L)|0;e=b;break}default:{f=da(q+16|0,4,0,0)|0|0;if(!f){ea(b>>0|0,0|0,1,0);e=b}else e=f}}while(0);if((e|0)==(da(o|0,4,0,0)|0|0)){if(!e)c=0;else{f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;c=f-e&1073741823}ea(p+172|0,c|0,4,0);ea(p+170>>0|0,1|0,1,0)}else Wg(n,e,-1,1,0)|0;c=da(D|0,2,0,0)|0|0;if((c&3)==1){if(eh(p+200|0,4)|0){c=1;M=101;break}ea(p+208|0,514|0,2,0);ea(p+212|0,2|0,4,0);c=da(p+216|0,4,0,0)|0|0;ea(L|0,da(q+3>>0|0,1,0,1)|0|0,4,0);$c(3,c,44760,L)|0;ea(p+210>>0|0,1|0,1,0);ea(p+248|0,1|0,2,0);c=da(D|0,2,0,0)|0|0}ea(y|0,12-((c&3)<<2)|0,2,0);ea(v|0,(da(u|0,4,0,0)|0|0)+40|0,4,0);ea(O|0,0|0,4,0);c=100}else{c=1;M=101}}while(0);if((M|0)==101){M=0;b=r+184|0;if(((da(b|0,4,0,0)|0|0)!=0?(da(r+145>>0|0,1,0,0)|0|0)==0:0)?(da(t|0,4,0,0)|0|0)!=0:0){ah(da(r|0,4,0,0)|0|0,K)|0;b=da(b|0,4,0,0)|0|0;o=da(r+188|0,4,0,0)|0|0;p=da(t|0,4,0,0)|0|0;d=K;q=J;q=cw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,da(q|0,4,0,0)|0|0,da(q+4|0,4,0,0)|0|0)|0;q=rw(q|0,C|0,1e6,0)|0;pc[(fa(b|0,15|0)|0)&15](o,p,q,C)}if((c|0)==101){g=r+20|0;f=da(g|0,4,0,0)|0|0;if((f|0)>0){h=r+16|0;l=r+216|0;m=r+220|0;b=0;c=0;do{e=da(h|0,4,0,0)|0|0;d=da(e+(b<<4)+4|0,4,0,0)|0|0;if(((d|0)!=0?(E=da(d+4|0,4,0,0)|0|0,ea(E+4|0,da(d|0,4,0,0)|0|0,4,0),E=da((da(E|0,4,0,0)|0|0)+208|0,4,0,0)|0|0,(E|0)!=0):0)?(G=E+12|0,F=da(G|0,4,0,0)|0|0,ea(G|0,0|0,4,0),G=da(l|0,4,0,0)|0|0,(G|0)!=0&(F|0)>0&(c|0)==0):0){c=oc[(fa(G|0,31|0)|0)&31](da(m|0,4,0,0)|0|0,r,da(e+(b<<4)|0,4,0,0)|0|0,F)|0;f=da(g|0,4,0,0)|0|0}b=b+1|0}while((b|0)<(f|0))}else c=0;ea(O|0,c|0,4,0);c=(c|0)==0?101:1}}ea(r+52|0,c|0,4,0);if((Ng(da(a|0,4,0,0)|0|0,da(O|0,4,0,0)|0|0)|0)==7)ea(O|0,7|0,4,0)}if(((da(D|0,2,0,0)|0)&256)!=0&(c|0)!=100&(c|0)!=101)c=gh(a)|0;b=(da(r+56|0,4,0,0)|0)&c;if((b|0)!=17)break;f=s+1|0;if((s|0)>=50){b=17;break}d=da(I|0,4,0,0)|0|0;if(!z?((da(D|0,2,0,0)|0)&256)!=0:0)c=da(t|0,4,0,0)|0|0;else c=0;e=da(a|0,4,0,0)|0|0;b=hh(e,c,-1,0,a,K,0)|0;if((b|0)==7){b=e;M=124;break}else if(b){M=127;break}s=da(K|0,4,0,0)|0|0;jw(L|0,s|0,208)|0;jw(s|0,a|0,208)|0;jw(a|0,L|0,208)|0;q=s+52|0;r=da(q|0,4,0,0)|0|0;ea(q|0,da(A|0,4,0,0)|0|0,4,0);ea(A|0,r|0,4,0);r=s+48|0;q=da(r|0,4,0,0)|0|0;ea(r|0,da(B|0,4,0,0)|0|0,4,0);ea(B|0,q|0,4,0);q=s+168|0;r=da(q|0,4,0,0)|0|0;ea(q|0,da(t|0,4,0,0)|0|0,4,0);ea(t|0,r|0,4,0);ea(D|0,(da(D|0,2,0,0)|0)&-257|(da(s+88|0,2,0,0)|0)&256|0,2,0);ih(s,a);ea(s+80|0,0|0,4,0);Mg(s)|0;md(a)|0;if((d|0)<=-1){s=f;continue}ea(D|0,da(D|0,2,0,0)|0|512|0,2,0);s=f}if((M|0)==7){ea(O|0,7|0,4,0);b=7}else if((M|0)==124){ea(b+65>>0|0,1|0,1,0);b=7;M=127}do if((M|0)==127){c=Rg(da(P+236|0,4,0,0)|0|0,1)|0;lg(P,da(N|0,4,0,0)|0|0);if(!(da(P+65>>0|0,1,0,0)|0)){ea(N|0,jh(P,c)|0|0,4,0);ea(O|0,b|0,4,0);break}else{ea(N|0,0|0,4,0);ea(O|0,7|0,4,0);b=7;break}}while(0);b=Ng(P,b)|0}else{ea(L|0,69408|0,4,0);ea(L+4|0,10788|0,4,0);ad(21,13648,L);b=21}i=Q;return b|0}function Sd(a){a=a|0;return da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}function Td(a){a=a|0;return da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0}function Ud(a,b){a=a|0;b=b|0;var c=0;c=da(a+8|0,4,0,0)|0|0;if(!((da(c+8|0,2,0,0)|0)&8192))c=kh(a,b)|0;else c=da(c+16|0,4,0,0)|0|0;return c|0}function Vd(a,b){a=a|0;b=b|0;var c=0;c=da((da(a+12|0,4,0,0)|0|0)+204|0,4,0,0)|0|0;a:do if(!c)c=0;else{a=da(a+16|0,4,0,0)|0|0;while(1){if((da(c|0,4,0,0)|0|0)==(a|0)?(da(c+4|0,4,0,0)|0|0)==(b|0):0)break;c=da(c+16|0,4,0,0)|0|0;if(!c){c=0;break a}}c=da(c+8|0,4,0,0)|0|0}while(0);return c|0}function Wd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=da(a+12|0,4,0,0)|0|0;do if((b|0)<0)i=14;else{h=f+204|0;e=da(h|0,4,0,0)|0|0;a:do if(e){g=da(a+16|0,4,0,0)|0|0;while(1){if((da(e|0,4,0,0)|0|0)==(g|0)?(da(e+4|0,4,0,0)|0|0)==(b|0):0)break;e=da(e+16|0,4,0,0)|0|0;if(!e){i=8;break a}}if(e){f=da(e+12|0,4,0,0)|0|0;if(f)bc[(fa(f|0,31|0)|0)&31](da(e+8|0,4,0,0)|0|0)}else i=8}else i=8;while(0);if((i|0)==8){e=lh(da(f|0,4,0,0)|0|0,20,0)|0;if(!e){i=14;break}f=e+0|0;g=f+16|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(g|0));ea(e|0,da(a+16|0,4,0,0)|0|0,4,0);ea(e+4|0,b|0,4,0);ea(e+16|0,da(h|0,4,0,0)|0|0,4,0);ea(h|0,e|0,4,0);f=a+25|0;if(!(da(f>>0|0,1,0,0)|0)){ea(a+20|0,0|0,4,0);ea(f>>0|0,1|0,1,0)}}ea(e+8|0,c|0,4,0);ea(e+12|0,d|0,4,0)}while(0);if((i|0)==14?(d|0)!=0:0)bc[(fa(d|0,31|0)|0)&31](c);return}function Xd(a){a=a|0;return da((da(a+8|0,4,0,0)|0|0)+12|0,4,0,0)|0|0}function Yd(a){a=a|0;if(!a)a=0;else a=da(a+84|0,2,0,1)|0|0;return a|0}function Zd(a){a=a|0;if((a|0)!=0?(da(a+20|0,4,0,0)|0|0)!=0:0)a=da(a+84|0,2,0,1)|0|0;else a=0;return a|0}function _d(a,b){a=a|0;b=b|0;var c=0;b=od(mh(a,b)|0)|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function $d(a,b){a=a|0;b=b|0;var c=0;b=Sg(mh(a,b)|0,1)|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function ae(a,b){a=a|0;b=b|0;var c=0;b=Sg(mh(a,b)|0,2)|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function be(a,b){a=a|0;b=b|0;var c=0.0;c=+Tg(mh(a,b)|0);if(a){b=a+80|0;ea(b|0,Ng(da(a|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0)|0|0,4,0)}return +c}function ce(a,b){a=a|0;b=b|0;var c=0;b=Ug(mh(a,b)|0)|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function de(a,b){a=a|0;b=b|0;var c=0,d=0;b=Ug(mh(a,b)|0)|0;c=C;if(a){d=a+80|0;ea(d|0,Ng(da(a|0,4,0,0)|0|0,da(d|0,4,0,0)|0|0)|0|0,4,0)}C=c;return b|0}function ee(a,b){a=a|0;b=b|0;var c=0;b=Rg(mh(a,b)|0,1)|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function fe(a,b){a=a|0;b=b|0;var c=0,d=0;b=mh(a,b)|0;c=b+8|0;d=da(c|0,2,0,1)|0|0;if(d&2048)ea(c|0,d&59391|4096|0,2,0);if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function ge(a,b){a=a|0;b=b|0;var c=0;b=Rg(mh(a,b)|0,2)|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function he(a,b){a=a|0;b=b|0;var c=0;b=da(10064+((da((mh(a,b)|0)+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;if(a){c=a+80|0;ea(c|0,Ng(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0|0,4,0)}return b|0}function ie(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a|0,4,0,0)|0|0;if(!a)c=0;else c=da(a+84|0,2,0,1)|0|0;if((c|0)>(b|0)&(b|0)>-1){b=Rg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,1)|0;c=d+65|0;if(da(c>>0|0,1,0,0)|0){ea(c>>0|0,0|0,1,0);b=0}}else b=0;return b|0}function je(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a|0,4,0,0)|0|0;if(!a)c=0;else c=da(a+84|0,2,0,1)|0|0;if((c|0)>(b|0)&(b|0)>-1){b=Rg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,2)|0;c=d+65|0;if(da(c>>0|0,1,0,0)|0){ea(c>>0|0,0|0,1,0);b=0}}else b=0;return b|0}function ke(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a|0,4,0,0)|0|0;if(!a)c=0;else c=da(a+84|0,2,0,1)|0|0;if((c|0)>(b|0)&(b|0)>-1){b=Rg((da(a+16|0,4,0,0)|0|0)+((c+b|0)*40|0)|0,1)|0;c=d+65|0;if(da(c>>0|0,1,0,0)|0){ea(c>>0|0,0|0,1,0);b=0}}else b=0;return b|0}function le(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a|0,4,0,0)|0|0;if(!a)c=0;else c=da(a+84|0,2,0,1)|0|0;if((c|0)>(b|0)&(b|0)>-1){b=Rg((da(a+16|0,4,0,0)|0|0)+((c+b|0)*40|0)|0,2)|0;c=d+65|0;if(da(c>>0|0,1,0,0)|0){ea(c>>0|0,0|0,1,0);b=0}}else b=0;return b|0}function me(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,d,e,0)|0}function ne(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{bc[(fa(f|0,31|0)|0)&31](c);d=18}}else d=nh(a,b,c,d,f,0)|0;return d|0}function oe(a,b,c){a=a|0;b=b|0;c=+c;var d=0;d=oh(a,b)|0;if(!d)Xg((da(a+60|0,4,0,0)|0|0)+((b+-1|0)*40|0)|0,c);return d|0}function pe(a,b,c){a=a|0;b=b|0;c=c|0;return qe(a,b,c,((c|0)<0)<<31>>31)|0}function qe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=oh(a,b)|0;do if(!e){b=b+-1|0;f=da(a+60|0,4,0,0)|0|0;a=f+(b*40|0)|0;b=f+(b*40|0)+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,d|0,4,0);ea(b|0,4|0,2,0);break}else{Yg(a,c,d);break}}while(0);return e|0}function re(a,b){a=a|0;b=b|0;return oh(a,b)|0}function se(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,d,e,1)|0}function te(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;if(e>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{bc[(fa(f|0,31|0)|0)&31](c);d=18}}else d=nh(a,b,c,d,f,g<<24>>24==4?2:g)|0;return d|0}function ue(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,d,e,2)|0}function ve(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(c+8|0,2,0,0)|0|0;e=da(10064+(d&31)>>0|0,1,0,1)|0|0;do if((e|0)==3)d=nh(a,b,da(c+16|0,4,0,0)|0|0,da(c+12|0,4,0,0)|0|0,-1,da(c+10>>0|0,1,0,0)|0|0)|0;else if((e|0)==2)d=oe(a,b,+(+da(c|0,8,1,0)))|0;else if((e|0)==4)if(!(d&16384)){d=nh(a,b,da(c+16|0,4,0,0)|0|0,da(c+12|0,4,0,0)|0|0,-1,0)|0;break}else{d=we(a,b,da(c|0,4,0,0)|0|0)|0;break}else if((e|0)==1){d=c;d=qe(a,b,da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0}else d=oh(a,b)|0;while(0);return d|0}function we(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=oh(a,b)|0;if(!d)_g((da(a+60|0,4,0,0)|0|0)+((b+-1|0)*40|0)|0,c);return d|0}function xe(a){a=a|0;if(!a)a=0;else a=da(a+68|0,2,0,0)|0|0;return a|0}function ye(a,b){a=a|0;b=b|0;if(!((a|0)==0|(b|0)<1)?(da(a+70|0,2,0,0)|0|0)>=(b|0):0)b=da((da(a+64|0,4,0,0)|0|0)+(b+-1<<2)|0,4,0,0)|0|0;else b=0;return b|0}function ze(a,b){a=a|0;b=b|0;var c=0;if(!b)c=0;else{c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}return ph(a,b,c)|0}function Ae(a,b){a=a|0;b=b|0;var c=0,d=0;if((da(a+68|0,2,0,0)|0|0)==(da(b+68|0,2,0,0)|0|0)){d=b+88|0;c=da(d|0,2,0,0)|0|0;if((c&256)!=0?(da(b+188|0,4,0,0)|0|0)!=0:0)ea(d|0,c|8|0,2,0);c=a+88|0;d=da(c|0,2,0,0)|0|0;if((d&256)!=0?(da(a+188|0,4,0,0)|0|0)!=0:0)ea(c|0,d|8|0,2,0);ih(a,b);c=0}else c=1;return c|0}function Be(a){a=a|0;if(!a)a=0;else a=da(a|0,4,0,0)|0|0;return a|0}function Ce(a){a=a|0;if(!a)a=1;else a=(da(a+88|0,2,0,1)|0|0)>>>6&1;return a|0}function De(a){a=a|0;if((a|0)!=0?(da(a+76|0,4,0,0)|0|0)>-1:0)a=(da(a+40|0,4,0,0)|0|0)==-1108210269;else a=0;return a&1|0}function Ee(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return da(a|0,4,0,0)|0|0}function Fe(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(b<<2)+108|0;b=da(a|0,4,0,0)|0|0;if(c)ea(a|0,0|0,4,0);return b|0}function Ge(a){a=a|0;var b=0,c=0,d=0;c=a+8|0;d=da(c|0,2,0,1)|0|0;b=da(10064+(d&31)>>0|0,1,0,1)|0|0;if((d&15|0)==2){qh(a,0);b=da(10064+((da(c|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0}return b|0}function He(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=i;i=i+16|0;if((i|0)>=(j|0))ba();M=O;N=O+4|0;ea(N|0,0|0,4,0);ea(h|0,0|0,4,0);H=(g|0)!=0;I=H&1;K=lh(a,28,0)|0;do if(K){g=K+0|0;m=g+28|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(m|0));m=lh(a,536,0)|0;if(m){E=a+20|0;F=a+16|0;v=a+24|0;g=K+20|0;w=K+12|0;x=K+24|0;y=a+65|0;z=I^3;A=I|2;B=m+440|0;C=m+72|0;D=m+68|0;l=0;G=1;k=0;while(1){ew(m|0,0,536)|0;ea(m|0,a|0,4,0);lg(a,l);ea(N|0,0|0,4,0);l=da(E|0,4,0,0)|0|0;if((l|0)>0){n=da(F|0,4,0,0)|0|0;p=0;do{o=da(n+(p<<4)+4|0,4,0,0)|0|0;if(o)ea((da(o+4|0,4,0,0)|0|0)+4|0,da(o|0,4,0,0)|0|0,4,0);p=p+1|0}while((p|0)!=(l|0))}u=rh(m,0,c,b)|0;if(!u)break;l=da(u+44>>0|0,1,0,0)|0|0;if(l&16){L=11;break}if(l&32){L=13;break}if(da(u+12|0,4,0,0)|0){L=17;break}t=u+38|0;q=da(t|0,2,0,0)|0|0;a:do if(q<<16>>16>0){p=da(u+4|0,4,0,0)|0|0;o=q<<16>>16;l=0;while(1){n=l+1|0;if(!(cd(da(p+(l*24|0)|0,4,0,0)|0|0,d)|0)){n=l;break a}if((n|0)<(o|0))l=n;else break}}else n=0;while(0);if((n|0)==(q<<16>>16|0)){L=23;break}if(H){if(((da(v|0,4,0,0)|0)&524288|0)!=0?(J=da(u+16|0,4,0,0)|0|0,(J|0)!=0):0){r=J;l=0;do{q=da(r+20|0,4,0,0)|0|0;if((q|0)>0){p=0;do{l=(da(r+(p<<3)+36|0,4,0,0)|0|0)==(n|0)?10280:l;p=p+1|0}while((p|0)<(q|0))}r=da(r+4|0,4,0,0)|0|0}while((r|0)!=0)}else l=0;p=da(u+8|0,4,0,0)|0|0;if(p)do{o=da(p+46|0,2,0,0)|0|0;if(o<<16>>16){s=da(p+4|0,4,0,0)|0|0;q=o&65535;r=0;do{l=(da(s+(r<<1)|0,2,0,0)|0|0)==(n|0)?10296:l;r=r+1|0}while((r|0)<(q|0))}p=da(p+20|0,4,0,0)|0|0}while((p|0)!=0);if(l){L=36;break}}s=uh(m)|0;ea(g|0,s|0,4,0);if(s){r=da(u+68|0,4,0,0)|0|0;b:do if(r){q=da(E|0,4,0,0)|0|0;if((q|0)>0){p=da(F|0,4,0,0)|0|0;l=0;while(1){o=l+1|0;if((da(p+(l<<4)+12|0,4,0,0)|0|0)==(r|0)){o=l;break b}if((o|0)<(q|0))l=o;else break}}else o=0}else o=-1e6;while(0);l=da(r+4|0,4,0,0)|0|0;wh(s,vh(s,4,o,I,da(r|0,4,0,0)|0|0)|0,l,-14);l=s+4|0;p=da(l|0,4,0,0)|0|0;q=s+32|0;if(p)ea(p+(((da(q|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);xh(s,10,10120)|0;p=s+96|0;ea(p|0,da(p|0,4,0,0)|0|1<<o|0,4,0);if((da(q|0,4,0,0)|0|0)>>>0>1){r=da(l|0,4,0,0)|0|0;ea(r+24|0,o|0,4,0);p=u+32|0;ea(r+28|0,da(p|0,4,0,0)|0|0,4,0);ea((da(l|0,4,0,0)|0|0)+32|0,I|0,4,0)}else p=u+32|0;wh(s,1,da(u|0,4,0,0)|0|0,0);yh(s,z);if((da(q|0,4,0,0)|0|0)>>>0>A>>>0){ea((da(l|0,4,0,0)|0|0)+(A*20|0)+8|0,da(p|0,4,0,0)|0|0,4,0);ea((da(l|0,4,0,0)|0|0)+(A*20|0)+12|0,o|0,4,0)}wh(s,A,(da(t|0,2,0,0)|0|0)+1|0,-14);if((da(q|0,4,0,0)|0|0)>>>0>6)ea((da(l|0,4,0,0)|0|0)+128|0,da(t|0,2,0,0)|0|0,4,0);if(!(da(y>>0|0,1,0,0)|0)){ea(B|0,1|0,4,0);ea(C|0,1|0,4,0);ea(D|0,1|0,4,0);zh(s,m)}}ea(K|0,I|0,4,0);ea(w|0,n|0,4,0);ea(x|0,a|0,4,0);if(da(y>>0|0,1,0,0)|0){L=57;break}qe(da(g|0,4,0,0)|0|0,1,e,f)|0;k=Ah(K,e,f,N)|0;if(!((G|0)<50&(k|0)==17)){L=57;break}l=da(N|0,4,0,0)|0|0;G=G+1|0;k=17}if((L|0)==11){ea(M|0,c|0,4,0);sh(m,10160,M)}else if((L|0)==13){ea(M|0,c|0,4,0);sh(m,10192,M)}else if((L|0)==17){ea(M|0,c|0,4,0);sh(m,10232,M)}else if((L|0)==23){lg(a,0);ea(M|0,d|0,4,0);ea(N|0,th(a,10256,M)|0|0,4,0);k=1;L=62;break}else if((L|0)==36){lg(a,0);ea(M|0,l|0,4,0);ea(N|0,th(a,10304,M)|0|0,4,0);k=1;L=62;break}else if((L|0)==57)if(!k){k=1;l=m;L=58;break}else{l=m;L=61;break}l=m+4|0;if(!(da(l|0,4,0,0)|0)){k=1;L=62}else{lg(a,0);ea(N|0,da(l|0,4,0,0)|0|0,4,0);ea(l|0,0|0,4,0);k=1;L=62}}else{k=1;l=m;L=58}}else{k=0;l=0;L=58}while(0);do if((L|0)==58)if(da(a+65>>0|0,1,0,0)|0)if(k){k=0;L=61;break}else{k=0;L=64;break}else{ea(h|0,K|0,4,0);k=0;break}while(0);if((L|0)==61){g=K+20|0;m=l;L=62}if((L|0)==62){l=da(g|0,4,0,0)|0|0;if(!l){l=m;L=64}else{Mg(l)|0;l=m;L=64}}if((L|0)==64)lg(a,K);E=da(N|0,4,0,0)|0|0;ea(M|0,E|0,4,0);tg(a,k,(E|0)!=0?10344:0,M);lg(a,E);Bh(l);lg(a,l);E=Ng(a,k)|0;i=O;return E|0}function Ie(a){a=a|0;var b=0,c=0;if(!a)a=0;else{c=da(a+24|0,4,0,0)|0|0;b=ld(da(a+20|0,4,0,0)|0|0)|0;lg(c,a);a=b}return a|0}function Je(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Dh(a,b,c,d,18)|0}function Ke(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Dh(a,b,c,d,19)|0}function Le(a){a=a|0;if((a|0)!=0?(da(a+20|0,4,0,0)|0|0)!=0:0)a=da(a+4|0,4,0,0)|0|0;else a=0;return a|0}function Me(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();d=g;e=g+8|0;if(!a){ea(d|0,77720|0,4,0);ea(d+4|0,10788|0,4,0);ad(21,13648,d);b=21}else{f=da(a+24|0,4,0,0)|0|0;if(da(a+20|0,4,0,0)|0){b=Ah(a,b,c,e)|0;if(!b)b=0;else{c=da(e|0,4,0,0)|0|0;ea(d|0,c|0,4,0);tg(f,b,(c|0)!=0?10344:0,d);lg(f,c)}}else b=4;b=Ng(f,b)|0}i=g;return b|0}function Ne(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+284|0,b|0,4,0);ea(a+288|0,c|0,4,0);a=da(a+4|0,4,0,0)|0|0;if(a)do{c=a+88|0;ea(c|0,da(c|0,2,0,0)|0|8|0,2,0);a=da(a+52|0,4,0,0)|0|0}while((a|0)!=0);return 0}function Oe(a,b){a=a|0;b=b|0;return (Fh(a,b,10352,0)|0)==0|0}function Pe(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((i|0)>=(j|0))ba();g=x;t=x+12|0;u=x+8|0;ea(u|0,0|0,4,0);do if(Gh(a)|0){f=(b|0)==0?10360:b;v=a+52|0;ea(v|0,0|0,4,0);w=a+236|0;g=da(w|0,4,0,0)|0|0;do if(g){b=g+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(g);break}}while(0);q=(c|0)==0;r=a+24|0;g=0;a:while(1){do{if(g){h=39;break a}if(!(da(f>>0|0,1,0,0)|0)){g=0;h=39;break a}ea(u|0,0|0,4,0);g=hh(a,f,-1,1,0,u,t)|0}while((g|0)!=0);f=da(u|0,4,0,0)|0|0;if(!f){f=da(t|0,4,0,0)|0|0;g=0;continue}p=da(f+84|0,2,0,0)|0|0;n=p&65535;o=n<<3|1;p=p<<16>>16==0;b=0;h=0;k=0;b:do{g=Rd(f)|0;do if(!q){l=(g|0)==100;if(!l){if((g|0)!=101|(k|0)!=0)break b;if(!((da(r|0,4,0,0)|0)&256)){k=0;break}}if(!k){b=lh(a,o,0)|0;if(!b){b=0;h=40;break a}ew(b|0,0,o|0)|0;if(p)m=1;else{k=0;do{ea(b+(k<<2)|0,ie(f,k)|0|0,4,0);k=k+1|0}while((k|0)<(n|0));m=1}}else m=k;c:do if(l){h=b+(n<<2)|0;if(!p){k=0;while(1){l=ee(f,k)|0;ea(b+(k+n<<2)|0,l|0,4,0);if((l|0)==0?(s=da(u|0,4,0,0)|0|0,(he(s,k)|0)!=5):0){g=s;h=27;break a}k=k+1|0;if((k|0)>=(n|0))break c;f=da(u|0,4,0,0)|0|0}}}while(0);if(!(oc[(fa(c|0,31|0)|0)&31](d,n,h,b)|0))k=m;else{f=b;h=31;break a}}while(0);f=da(u|0,4,0,0)|0|0}while((g|0)==100);g=Mg(f)|0;ea(u|0,0|0,4,0);f=da(t|0,4,0,0)|0|0;while(1)if(!((da(10368+(da(f>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1))break;else f=f+1|0;lg(a,b)}do if((h|0)==27){ea(a+65>>0|0,1|0,1,0);f=g;g=100;h=40}else if((h|0)==31){Mg(da(u|0,4,0,0)|0|0)|0;ea(u|0,0|0,4,0);ea(v|0,4|0,4,0);g=da(w|0,4,0,0)|0|0;if(g){b=g+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);b=f;g=4;break}else{ug(g);b=f;g=4;break}}else{b=f;g=4}}else if((h|0)==39){f=da(u|0,4,0,0)|0|0;b=0;h=40}while(0);if((h|0)==40)if(f)Mg(f)|0;lg(a,b);f=Ng(a,g)|0;b=(e|0)!=0;if(!((f|0)!=0&b)){if(!b)break;ea(e|0,0|0,4,0);break}b=Re(a)|0;if(!b)b=1;else{g=b;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;b=(g-b&1073741823)+1|0}g=pg(b,((b|0)<0)<<31>>31)|0;ea(e|0,g|0,4,0);if(g){jw(g|0,Re(a)|0,b|0)|0;break}ea(v|0,7|0,4,0);f=da(w|0,4,0,0)|0|0;if(f){b=f+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);f=7;break}else{ug(f);f=7;break}}else f=7}else{ea(g|0,101334|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);f=21}while(0);i=x;return f|0}function Qe(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return hh(a,b,c,1,0,d,e)|0}function Re(a){a=a|0;var b=0,c=0,d=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){d=da(a+76|0,4,0,0)|0|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){ea(b|0,15248|0,4,0);ad(21,15256,b);ea(b|0,129635|0,4,0);ea(b+4|0,10788|0,4,0);ad(21,13648,b);b=16120;break}if(!(da(a+65>>0|0,1,0,0)|0)){b=Rg(da(a+236|0,4,0,0)|0|0,1)|0;if(!b){b=da(a+52|0,4,0,0)|0|0;if((b|0)!=516){b=b&255;if(b>>>0>26|(b|0)==2)b=16328;else b=da(15488+(b<<2)|0,4,0,0)|0|0}else b=16344}}else b=15776}else b=15776;while(0);i=c;return b|0}function Se(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;r=s+8|0;p=da(a|0,4,0,0)|0|0;ea(r|0,0|0,4,0);k=(b|0)==0;if(k)e=0;else{h=b;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;e=h-b&1073741823}n=e+300|0;m=(d|0)!=0;if(m)ea(d|0,0|0,4,0);do if(!((da(a+24|0,4,0,0)|0)&4194304))if(m){ea(d|0,Zc(25216,q)|0|0,4,0);e=1}else e=1;else{l=(c|0)!=0?c:41192;g=p+40|0;h=qc[(fa(da(g|0,4,0,0)|0|0,127|0)|0)&127](p,b)|0;if(!h){ea(q|0,b|0,4,0);ea(q+4|0,41184|0,4,0);f=Zc(27824,q)|0;if(!f){e=7;break}h=qc[(fa(da(g|0,4,0,0)|0|0,127|0)|0)&127](p,f)|0;Vc(f);if(!h){if(!m){e=1;break}h=Sc(n)|0;ea(r|0,h|0,4,0);ea(d|0,h|0,4,0);if(!h){e=1;break}ea(q|0,b|0,4,0);$c(n,h,41216,q)|0;lc[(fa(da(p+44|0,4,0,0)|0|0,63|0)|0)&63](p,e+299|0,h);e=1;break}else o=h}else o=h;e=p+48|0;h=$b[(fa(da(e|0,4,0,0)|0|0,63|0)|0)&63](p,o,l)|0;if((h|0)==0&(c|0)==0){if(k)h=0;else{h=b;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;h=h-b&1073741823}c=Sc(h+30|0)|0;if(!c){ic[(fa(da(p+52|0,4,0,0)|0|0,15|0)|0)&15](p,o);e=7;break}l=c;k=l;ea(k>>0|0,115|0,1,0);ea(k+1>>0|0,113|0,1,0);ea(k+2>>0|0,108|0,1,0);ea(k+3>>0|0,105|0,1,0);l=l+4|0;ea(l>>0|0,116|0,1,0);ea(l+1>>0|0,101|0,1,0);ea(l+2>>0|0,51|0,1,0);ea(l+3>>0|0,95|0,1,0);while(1){g=h+-1|0;if((h|0)<=0)break;if((da(b+g>>0|0,1,0,0)|0|0)==47)break;else h=g}f=(Ec(b+h|0,41256,3)|0)==0;g=8;f=f?h+3|0:h;while(1){h=da(b+f>>0|0,1,0,0)|0|0;if(h<<24>>24==0|h<<24>>24==46){h=g;break}if(!((da(10368+(h&255)>>0|0,1,0,0)|0)&2))h=g;else{ea(c+g>>0|0,da(9328+(h<<24>>24)>>0|0,1,0,0)|0|0|0,1,0);h=g+1|0}g=h;f=f+1|0}h=c+h|0;ea(h+0>>0|0,da(41264|0,1,0,0)|0|0|0,1,0);ea(h+1>>0|0,da(41265|0,1,0,0)|0|0|0,1,0);ea(h+2>>0|0,da(41266|0,1,0,0)|0|0|0,1,0);ea(h+3>>0|0,da(41267|0,1,0,0)|0|0|0,1,0);ea(h+4>>0|0,da(41268|0,1,0,0)|0|0|0,1,0);ea(h+5>>0|0,da(41269|0,1,0,0)|0|0|0,1,0);h=$b[(fa(da(e|0,4,0,0)|0|0,63|0)|0)&63](p,o,c)|0;e=c;f=c}else{e=0;f=l}if(!h){if(m){if(!f)h=0;else{h=f;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;h=h-f&1073741823}h=h+n|0;g=Sc(h)|0;ea(r|0,g|0,4,0);ea(d|0,g|0,4,0);if(g){ea(q|0,f|0,4,0);ea(q+4|0,b|0,4,0);$c(h,g,41272,q)|0;lc[(fa(da(p+44|0,4,0,0)|0|0,63|0)|0)&63](p,h+-1|0,g)}}ic[(fa(da(p+52|0,4,0,0)|0|0,15|0)|0)&15](p,o);Vc(e);e=1;break}Vc(e);if($b[(fa(h|0,63|0)|0)&63](a,r,13776)|0){if(m){ea(q|0,da(r|0,4,0,0)|0|0,4,0);ea(d|0,Zc(41320,q)|0|0,4,0)}Vc(da(r|0,4,0,0)|0|0);ic[(fa(da(p+52|0,4,0,0)|0|0,15|0)|0)&15](p,o);e=1;break}g=a+168|0;e=((da(g|0,4,0,0)|0)<<2)+4|0;h=lh(a,e,0)|0;if(!h)e=7;else{ew(h|0,0,e|0)|0;e=da(g|0,4,0,0)|0|0;f=a+172|0;if((e|0)>0)jw(h|0,da(f|0,4,0,0)|0|0,e<<2|0)|0;lg(a,da(f|0,4,0,0)|0|0);ea(f|0,h|0,4,0);e=da(g|0,4,0,0)|0|0;ea(g|0,e+1|0,4,0);ea(h+(e<<2)|0,o|0,4,0);e=0}}while(0);o=Ng(a,e)|0;i=s;return o|0}function Te(a){a=a|0;var b=0,c=0,d=0,e=0;b=Kc()|0;if(!b){e=da(2656*4|0,4,0,0)|0|0;a:do if((e|0)>0){c=da(2658*4|0,4,0,0)|0|0;d=0;while(1){b=d+1|0;if((da(c+(d<<2)|0,4,0,0)|0|0)==(a|0)){b=d;break a}if((b|0)<(e|0))d=b;else break}}else b=0;while(0);if((b|0)==(e|0)){b=Wc(da(2658*4|0,4,0,0)|0|0,(e<<2)+4|0)|0;if(!b)b=7;else{ea(2658*4|0,b|0,4,0);c=da(2656*4|0,4,0,0)|0|0;ea(b+(c<<2)|0,a|0,4,0);ea(2656*4|0,c+1|0,4,0);b=0}}else b=0}return b|0}function Ue(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=da(2656*4|0,4,0,0)|0|0;e=da(2658*4|0,4,0,0)|0|0;c=d;while(1){if((c|0)<=0){b=0;break}c=c+-1|0;b=e+(c<<2)|0;if((da(b|0,4,0,0)|0|0)==(a|0)){f=4;break}}if((f|0)==4){c=d+-1|0;ea(2656*4|0,c|0,4,0);ea(b|0,da(e+(c<<2)|0,4,0,0)|0|0,4,0);b=1}return b|0}function Ve(){if(!(Kc()|0)){Vc(da(2658*4|0,4,0,0)|0|0);ea(2658*4|0,0|0,4,0);ea(2656*4|0,0|0,4,0)}return}function We(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return hh(a,b,c,0,0,d,e)|0}function Xe(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Hh(a,b,c,0,d,e)|0}function Ye(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Hh(a,b,c,1,d,e)|0}function Ze(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;if((i|0)>=(j|0))ba();m=u;p=u+4|0;ea(c|0,0|0,4,0);q=(e|0)!=0;if(q)ea(e|0,0|0,4,0);r=(d|0)!=0;if(r)ea(d|0,0|0,4,0);k=(f|0)!=0;if(k)ea(f|0,0|0,4,0);l=p+4|0;ea(l|0,0|0,4,0);s=p+12|0;ea(s|0,0|0,4,0);t=p+16|0;ea(t|0,0|0,4,0);h=p+20|0;ea(h|0,1|0,4,0);n=p+8|0;ea(n|0,20|0,4,0);o=p+24|0;ea(o|0,0|0,4,0);g=Sc(80)|0;ea(p|0,g|0,4,0);a:do if(g){ea(g|0,0|0,4,0);b=Pe(a,b,20,p,f)|0;ea(da(p|0,4,0,0)|0|0,da(h|0,4,0,0)|0|0,4,0);if((b&255|0)==4){_e((da(p|0,4,0,0)|0|0)+4|0);b=da(l|0,4,0,0)|0|0;if(b){if(k){Vc(da(f|0,4,0,0)|0|0);ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(f|0,Zc(10344,m)|0|0,4,0);b=da(l|0,4,0,0)|0|0}Vc(b)}b=da(o|0,4,0,0)|0|0;ea(a+52|0,b|0,4,0);break}Vc(da(l|0,4,0,0)|0|0);if(b){_e((da(p|0,4,0,0)|0|0)+4|0);break}g=da(h|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;do if((da(n|0,4,0,0)|0|0)>>>0>g>>>0){b=Wc(b,g<<2)|0;if(!b){_e((da(p|0,4,0,0)|0|0)+4|0);ea(a+52|0,7|0,4,0);b=7;break a}else{ea(p|0,b|0,4,0);break}}while(0);ea(c|0,b+4|0,4,0);if(q)ea(e|0,da(t|0,4,0,0)|0|0,4,0);if(r){ea(d|0,da(s|0,4,0,0)|0|0,4,0);b=0}else b=0}else{ea(a+52|0,7|0,4,0);b=7}while(0);i=u;return b|0}function _e(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){b=a+-4|0;d=da(b|0,4,0,0)|0|0;c=d;if((d|0)>1){e=1;do{d=da(a+(e+-1<<2)|0,4,0,0)|0|0;if(d)Vc(d);e=e+1|0}while((e|0)<(c|0))}Vc(b)}return}function $e(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Jh(a,b,c,d,0)|0}function af(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Jh(a,b,c,d,e)|0}function bf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;d=m+8|0;ea(d|0,0|0,4,0);e=a+324|0;c=da(e|0,4,0,0)|0|0;if((c|0)!=0?(h=da(c+4|0,4,0,0)|0|0,(h|0)!=0):0){k=lh(a,536,0)|0;if(!k)b=7;else{ew(k|0,0,536)|0;f=k+451|0;ea(f>>0|0,1|0,1,0);ea(k|0,a|0,4,0);ea(k+424|0,1|0,4,0);if(((((Kh(k,b,d)|0)==0?(g=da(k+484|0,4,0,0)|0|0,(g|0)!=0):0)?(da(a+65>>0|0,1,0,0)|0|0)==0:0)?(da(g+12|0,4,0,0)|0|0)==0:0)?((da(g+44>>0|0,1,0,0)|0)&16)==0:0){c=h+4|0;if(!(da(c|0,4,0,0)|0)){l=g+4|0;ea(c|0,da(l|0,4,0,0)|0|0,4,0);g=g+38|0;ea(h+38|0,da(g|0,2,0,0)|0|0|0,2,0);ea(g|0,0|0,2,0);ea(l|0,0|0,4,0)}ea((da(e|0,4,0,0)|0|0)+4|0,0|0,4,0);b=0}else{b=da(d|0,4,0,0)|0|0;ea(l|0,b|0,4,0);tg(a,1,(b|0)!=0?10344:0,l);lg(a,b);b=1}ea(f>>0|0,0|0,1,0);c=da(k+8|0,4,0,0)|0|0;if(c)Mg(c)|0;jg(a,da(k+484|0,4,0,0)|0|0);Bh(k);lg(a,k)}b=Ng(a,b)|0}else{ea(a+52|0,21|0,4,0);c=da(a+236|0,4,0,0)|0|0;do if(c){b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}while(0);ea(l|0,114865|0,4,0);ea(l+4|0,10788|0,4,0);ad(21,13648,l);b=21}i=m;return b|0}function cf(a){a=a|0;return da(10640+((da(a+69>>0|0,1,0,1)|0|0)+-1)>>0|0,1,0,1)|0|0|0}function df(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();e=g;d=g+8|0;ea(d|0,c|0,4,0);do if((b|0)==1){b=da(a+324|0,4,0,0)|0|0;if(!b){ea(e|0,115248|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);f=6;break}else{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea((da(b|0,4,0,0)|0|0)+16>>0|0,c|0,1,0);b=0;break}}else{ea(e|0,115256|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);f=6}while(0);do if((f|0)==6){ea(a+52|0,21|0,4,0);b=da(a+236|0,4,0,0)|0|0;if(b){c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);b=21;break}else{ug(b);b=21;break}}else b=21}while(0);i=g;return b|0}function ef(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=da(a>>0|0,1,0,0)|0|0;a:do if(b<<24>>24){e=b;b=0;b:while(1){d=e<<24>>24;switch(d|0){case 45:{if((da(a+1>>0|0,1,0,0)|0|0)==45){c=e;while(1){d=c<<24>>24==0;e=a+1|0;if(!(c<<24>>24!=10&(d^1)))break;a=e;c=da(e>>0|0,1,0,0)|0|0}if(d){f=13;break b}else c=1}else c=2;break}case 91:{do{a=a+1|0;d=da(a>>0|0,1,0,0)|0|0;c=d<<24>>24==0}while(d<<24>>24!=93&(c^1));if(c){b=0;break a}else c=2;break}case 12:case 10:case 9:case 13:case 32:{c=1;break}case 39:case 34:case 96:{do{a=a+1|0;d=da(a>>0|0,1,0,0)|0|0;c=d<<24>>24==0}while(d<<24>>24!=e<<24>>24&(c^1));if(c){b=0;break a}else c=2;break}case 47:{if((da(a+1>>0|0,1,0,0)|0|0)==42){a=a+2|0;while(1){c=da(a>>0|0,1,0,0)|0|0;if(c<<24>>24==42){a=a+1|0;if((da(a>>0|0,1,0,0)|0|0)==47){c=1;break}else continue}else if(!(c<<24>>24)){b=0;break a}else{a=a+1|0;continue}}}else c=2;break}case 59:{c=0;break}default:if(!((da(10368+(e&255)>>0|0,1,0,0)|0)&70))c=2;else{c=1;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70)){e=c;break}else c=c+1|0;c:do switch(d|0){case 67:case 99:{if((e|0)==6?(Ec(a,10712,6)|0)==0:0){c=4;break c}c=2;break}case 84:case 116:{if((e|0)==7){if(!(Ec(a,10720,7)|0)){c=6;break c}}else if((e|0)==4){if(!(Ec(a,10728,4)|0)){c=5;break c}}else if((e|0)==9?(Ec(a,10736,9)|0)==0:0){c=5;break c}c=2;break}case 69:case 101:{if((e|0)==3){if(!(Ec(a,10752,3)|0)){c=7;break c}}else if((e|0)==7?(Ec(a,10760,7)|0)==0:0){c=3;break c}c=2;break}default:c=2}while(0);a=a+(e+-1)|0}}b=da((c&255)+(10648+((b&255)<<3))>>0|0,1,0,0)|0|0;a=a+1|0;e=da(a>>0|0,1,0,0)|0|0;if(!(e<<24>>24)){f=35;break}}if((f|0)==13){b=b<<24>>24==1&1;break}else if((f|0)==35){b=b<<24>>24==1;f=36;break}}else{b=0;f=36}while(0);if((f|0)==36)b=b&1;return b|0}function ff(a){a=a|0;var b=0,c=0,d=0;b=Kc()|0;if(!b){c=pg(40,0)|0;if(c){b=c+0|0;d=b+40|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(d|0));ea(c+8|0,1|0,2,0);ea(c+32|0,0|0,4,0);Wg(c,a,-1,2,0)|0}b=Rg(c,1)|0;if(!b)b=7;else b=(ef(b)|0)&255;Lh(c)}return b|0}function gf(){return 8632}function hf(){return 10768}function jf(){return 3008009}function kf(){return 0}function lf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+32|0;if((i|0)>=(j|0))ba();c=e;d=e+8|0;if(!(da(2243*4|0,4,0,0)|0)){ea(d|0,b|0,4,0);do switch(a|0){case 5:{if(!(da(2195*4|0,4,0,0)|0)){ea(c|0,16496|0,4,0);lf(4,c)|0}a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(c+0|0,da(2195*4|0,4,0,0)|0|0,4,0);ea(c+4|0,da(2196*4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(2197*4|0,4,0,0)|0|0,4,0);ea(c+12|0,da(2198*4|0,4,0,0)|0|0,4,0);ea(c+16|0,da(2199*4|0,4,0,0)|0|0,4,0);ea(c+20|0,da(2200*4|0,4,0,0)|0|0,4,0);ea(c+24|0,da(2201*4|0,4,0,0)|0|0,4,0);ea(c+28|0,da(2202*4|0,4,0,0)|0|0,4,0);c=0;break}case 17:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2189*4|0,c|0,4,0);c=0;break}case 20:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2190*4|0,c|0,4,0);c=0;break}case 19:{if(!(da(2214*4|0,4,0,0)|0)){ea(c|0,16440|0,4,0);lf(18,c)|0}a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);c=c+0|0;a=8848|0;d=c+52|0;do{ea(c|0,da(a|0,4,0,0)|0|0,4,0);c=c+4|0;a=a+4|0}while((c|0)<(d|0));c=0;break}case 16:{c=da(d|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;ea(d|0,c+4|0,4,0);ea(2250*4|0,a|0,4,0);a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2251*4|0,c|0,4,0);c=0;break}case 13:{c=da(d|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;ea(d|0,c+4|0,4,0);ea(2193*4|0,a|0,4,0);a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2194*4|0,c|0,4,0);c=0;break}case 7:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2237*4|0,c|0,4,0);c=da(d|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;ea(d|0,c+4|0,4,0);ea(2238*4|0,a|0,4,0);a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2239*4|0,c|0,4,0);c=0;break}case 24:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(c|0,152|0,4,0);c=0;break}case 15:{c=1;break}case 4:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2195*4|0,da(c+0|0,4,0,0)|0|0,4,0);ea(2196*4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(2197*4|0,da(c+8|0,4,0,0)|0|0,4,0);ea(2198*4|0,da(c+12|0,4,0,0)|0|0,4,0);ea(2199*4|0,da(c+16|0,4,0,0)|0|0,4,0);ea(2200*4|0,da(c+20|0,4,0,0)|0|0,4,0);ea(2201*4|0,da(c+24|0,4,0,0)|0|0,4,0);ea(2202*4|0,da(c+28|0,4,0,0)|0|0,4,0);c=0;break}case 18:{c=da(d|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;ea(d|0,c+4|0,4,0);c=8848|0;a=a+0|0;d=c+52|0;do{ea(c|0,da(a|0,4,0,0)|0|0,4,0);c=c+4|0;a=a+4|0}while((c|0)<(d|0));c=0;break}case 6:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2234*4|0,c|0,4,0);c=da(d|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;ea(d|0,c+4|0,4,0);ea(2235*4|0,a|0,4,0);a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2236*4|0,c|0,4,0);c=0;break}case 9:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2186*4|0,c|0,4,0);c=0;break}case 22:{ea(d|0,(da(d|0,4,0,0)|0|0)+8|0,4,0);ea(d|0,(da(d|0,4,0,0)|0|0)+8|0,4,0);ea(2230*4|0,0|0,4,0);ea(2231*4|0,0|0,4,0);ea(2232*4|0,0|0,4,0);ea(2233*4|0,0|0,4,0);c=0;break}case 25:{a=da(d|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(d|0,a+4|0,4,0);ea(2242*4|0,c|0,4,0);c=0;break}case 14:{c=0;break}default:c=1}while(0)}else{ea(c|0,127883|0,4,0);ea(c+4|0,10788|0,4,0);ad(21,13648,c);c=21}i=e;return c|0}function mf(a){a=a|0;return da(a+12|0,4,0,0)|0|0}function nf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=a+20|0;b=da(g|0,4,0,0)|0|0;e=(b|0)>0;if(e){d=da(a+16|0,4,0,0)|0|0;f=0;do{c=da(d+(f<<4)+4|0,4,0,0)|0|0;if(c)ea((da(c+4|0,4,0,0)|0|0)+4|0,da(c|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(b|0));if(e){e=a+16|0;d=0;do{c=da((da(e|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;if(c){bc[(fa(da(8744+152|0,4,0,0)|0|0,31|0)|0)&31](da((da((da(da(c+4|0,4,0,0)|0|0,4,0,0)|0|0)+204|0,4,0,0)|0|0)+40|0,4,0,0)|0|0);b=da(g|0,4,0,0)|0|0}d=d+1|0}while((d|0)<(b|0))}}return 0}function of(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;ea(f|0,c|0,4,0);a:do if((b|0)!=1001){c=0;while(1){if((da(10936+(c<<3)|0,4,0,0)|0|0)==(b|0))break;c=c+1|0;if(c>>>0>=2){d=1;break a}}e=da(f|0,4,0,0)|0|0;b=da(e|0,4,0,0)|0|0;ea(f|0,e+4|0,4,0);e=da(f|0,4,0,0)|0|0;g=da(e|0,4,0,0)|0|0;ea(f|0,e+4|0,4,0);f=a+24|0;e=da(f|0,4,0,0)|0|0;if((b|0)<=0)if(!b){b=e&~(da(10940+(c<<3)|0,4,0,0)|0);ea(f|0,b|0,4,0)}else b=e;else{b=da(10940+(c<<3)|0,4,0,0)|0|e;ea(f|0,b|0,4,0)}if((e|0)!=(b|0)?(d=da(a+4|0,4,0,0)|0|0,(d|0)!=0):0)do{b=d+88|0;ea(b|0,da(b|0,2,0,0)|0|8|0,2,0);d=da(d+52|0,4,0,0)|0|0}while((d|0)!=0);if(!g)d=0;else{ea(g|0,((da(10940+(c<<3)|0,4,0,0)|0)&(da(f|0,4,0,0)|0)|0)!=0&1|0,4,0);d=0}}else{e=da(f|0,4,0,0)|0|0;b=da(e|0,4,0,0)|0|0;ea(f|0,e+4|0,4,0);e=da(f|0,4,0,0)|0|0;c=da(e|0,4,0,0)|0|0;ea(f|0,e+4|0,4,0);e=da(f|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;ea(f|0,e+4|0,4,0);d=Mh(a,b,c,d)|0}while(0);i=h;return d|0}function pf(a){a=a|0;a=a+32|0;C=da(a+4|0,4,0,0)|0|0;return da(a|0,4,0,0)|0|0}function qf(a){a=a|0;return da(a+80|0,4,0,0)|0|0}function rf(a){a=a|0;return da(a+84|0,4,0,0)|0|0}function sf(a){a=a|0;return Nh(a,0)|0}function tf(a){a=a|0;return Nh(a,1)|0}function uf(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+444|0,b|0,4,0);ea(a+448|0,c|0,4,0);ea(a+452|0,0|0,4,0);ea(a+492|0,0|0,4,0);return 0}function vf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=(b|0)>0;ea(a+292|0,(e?c:0)|0,4,0);ea(a+300|0,(e?b:0)|0,4,0);ea(a+296|0,(e?d:0)|0,4,0);return}function wf(a,b){a=a|0;b=b|0;var c=0;c=(b|0)>0;ea(a+444|0,(c?74:0)|0,4,0);ea(a+448|0,(c?a:0)|0,4,0);ea(a+452|0,0|0,4,0);ea(a+492|0,(c?b:0)|0,4,0);return 0}function xf(a){a=a|0;ea(a+240|0,1|0,4,0);return}function yf(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return Ng(a,Ph(a,b,c,d,e,f,g,h,0)|0)|0}function zf(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;do if(i){j=lh(a,12,0)|0;if(!j){bc[(fa(i|0,31|0)|0)&31](e);d=1;break}k=j;l=k;ea(l>>0|0,0|0,1,0);ea(l+1>>0|0,0|0,1,0);ea(l+2>>0|0,0|0,1,0);ea(l+3>>0|0,0|0,1,0);k=k+4|0;ea(k>>0|0,0|0,1,0);ea(k+1>>0|0,0|0,1,0);ea(k+2>>0|0,0|0,1,0);ea(k+3>>0|0,0|0,1,0);ea(j+4|0,i|0,4,0);ea(j+8|0,e|0,4,0);d=Ph(a,b,c,d,e,f,g,h,j)|0;if(!(da(j|0,4,0,0)|0)){bc[(fa(i|0,31|0)|0)&31](e);lg(a,j)}}else d=Ph(a,b,c,d,e,f,g,h,0)|0;while(0);return Ng(a,d)|0}function Af(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;b=Qh(a,b,-1)|0;d=Ph(a,b,c,d,e,f,g,h,0)|0;lg(a,b);return Ng(a,d)|0}function Bf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=0;else{d=b;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-b&1073741823}if(!(Rh(a,b,d,c,1,0)|0))d=Ph(a,b,c,1,0,57,0,0,0)|0;else d=0;return Ng(a,d)|0}function Cf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+180|0;d=da(e|0,4,0,0)|0|0;ea(a+176|0,b|0,4,0);ea(e|0,c|0,4,0);return d|0}function Df(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+188|0;d=da(e|0,4,0,0)|0|0;ea(a+184|0,b|0,4,0);ea(e|0,c|0,4,0);return d|0}function Ef(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+192|0;d=da(e|0,4,0,0)|0|0;ea(a+196|0,b|0,4,0);ea(e|0,c|0,4,0);return d|0}function Ff(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+208|0;d=da(e|0,4,0,0)|0|0;ea(a+212|0,b|0,4,0);ea(e|0,c|0,4,0);return d|0}function Gf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+200|0;d=da(e|0,4,0,0)|0|0;ea(a+204|0,b|0,4,0);ea(e|0,c|0,4,0);return d|0}function Hf(a,b){a=a|0;b=b|0;var c=0;if((b|0)>0)c=21;else{b=0;c=0}ea(a+216|0,c|0,4,0);ea(a+220|0,b|0,4,0);return 0}function If(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+220|0;d=da(e|0,4,0,0)|0|0;ea(a+216|0,b|0,4,0);ea(e|0,c|0,4,0);return d|0}function Jf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;if(d)ea(d|0,-1|0,4,0);if(e)ea(e|0,-1|0,4,0);if(c>>>0>3)b=21;else{if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)!=0:0){g=Uh(a,b)|0;if((g|0)<0){ea(f|0,b|0,4,0);tg(a,1,10952,f);b=1}else h=10}else{g=10;h=10}do if((h|0)==10){ea(a+452|0,0|0,4,0);b=Vh(a,g,c,d,e)|0;ea(a+52|0,b|0,4,0);f=da(a+236|0,4,0,0)|0|0;if(f){g=f+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);break}else{ug(f);break}}}while(0);b=Ng(a,b)|0}i=k;return b|0}function Kf(a,b){a=a|0;b=b|0;return Jf(a,b,0,0,0)|0}function Lf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;do if(a){b=da(a+76|0,4,0,0)|0|0;if(!((b|0)==1266094736|(b|0)==-1607883113|(b|0)==-264537850)){ea(e|0,15248|0,4,0);ad(21,15256,e);b=11008;break}f=a+65|0;if(!(da(f>>0|0,1,0,0)|0)){d=a+236|0;b=Rg(da(d|0,4,0,0)|0|0,2)|0;if(!b){c=da(a+52|0,4,0,0)|0|0;if((c|0)!=516){b=c&255;if(b>>>0>26|(b|0)==2)b=16328;else b=da(15488+(b<<2)|0,4,0,0)|0|0}else b=16344;tg(a,c,b,e);b=Rg(da(d|0,4,0,0)|0|0,2)|0}ea(f>>0|0,0|0,1,0)}else b=10976}else b=10976;while(0);i=g;return b|0}function Mf(a){a=a|0;var b=0,c=0,d=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){d=da(a+76|0,4,0,0)|0|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){ea(b|0,15248|0,4,0);ad(21,15256,b);ea(b|0,129704|0,4,0);ea(b+4|0,10788|0,4,0);ad(21,13648,b);a=21;break}if(!(da(a+65>>0|0,1,0,0)|0))a=(da(a+56|0,4,0,0)|0)&(da(a+52|0,4,0,0)|0);else a=7}else a=7;while(0);i=c;return a|0}function Nf(a){a=a|0;var b=0,c=0,d=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){d=da(a+76|0,4,0,0)|0|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){ea(b|0,15248|0,4,0);ad(21,15256,b);ea(b|0,129713|0,4,0);ea(b+4|0,10788|0,4,0);ad(21,13648,b);a=21;break}if(!(da(a+65>>0|0,1,0,0)|0))a=da(a+52|0,4,0,0)|0|0;else a=7}else a=7;while(0);i=c;return a|0}function Of(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=da(15488+(a<<2)|0,4,0,0)|0|0}else a=16344;return a|0}function Pf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0<=11){d=a+(b<<2)+88|0;a=da(d|0,4,0,0)|0|0;if((c|0)>-1){b=da(11088+(b<<2)|0,4,0,0)|0|0;ea(d|0,((b|0)<(c|0)?b:c)|0,4,0)}}else a=-1;return a|0}function Qf(a,b){a=a|0;b=b|0;return Wh(a,b,6,0)|0}function Rf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Wh(a,b,c,d)|0}function Sf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;ea(b|0,0|0,4,0);c=Kc()|0;if(!c){e=pg(40,0)|0;if(e){a=(a|0)==0?11136:a;c=e+0|0;d=c+40|0;do{ea(c>>0|0,0|0,1,0);c=c+1|0}while((c|0)<(d|0));ea(e+8|0,1|0,2,0);ea(e+32|0,0|0,4,0);Wg(e,a,-1,2,0)|0}a=Rg(e,1)|0;if(a){c=Wh(a,b,6,0)|0;if(!c){c=da(b|0,4,0,0)|0|0;a=da((da(c+16|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;if(!((da(a+78|0,2,0,0)|0)&1)){ea(c+62>>0|0,2|0,1,0);ea(a+77>>0|0,2|0,1,0);c=0}else c=0}}else c=7;Lh(e);c=c&255}return c|0}function Tf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ng(a,Xh(a,b,c&255,d,e,0)|0)|0}function Uf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Ng(a,Xh(a,b,c&255,d,e,f)|0)|0}function Vf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Qh(a,b,-1)|0;if(!b)b=0;else{c=Xh(a,b,c&255,d,e,0)|0;lg(a,b);b=c}return Ng(a,b)|0}function Wf(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+224|0,c|0,4,0);ea(a+228|0,0|0,4,0);ea(a+232|0,b|0,4,0);return 0}function Xf(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+224|0,0|0,4,0);ea(a+228|0,c|0,4,0);ea(a+232|0,b|0,4,0);return 0}function Yf(a){a=a|0;return da(a+63>>0|0,1,0,1)|0|0|0}function Zf(){return}function _f(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();u=w;v=w+8|0;ea(v|0,0|0,4,0);m=da(a+20|0,4,0,0)|0|0;if((m|0)>0){l=da(a+16|0,4,0,0)|0|0;o=0;do{n=da(l+(o<<4)+4|0,4,0,0)|0|0;if(n)ea((da(n+4|0,4,0,0)|0|0)+4|0,da(n|0,4,0,0)|0|0,4,0);o=o+1|0}while((o|0)!=(m|0))}l=Yh(a,v)|0;t=(l|0)!=0;a:do if((!t?(r=Zh(a,c,b)|0,(r|0)!=0):0)?(da(r+12|0,4,0,0)|0|0)==0:0){do if(d){q=da(r+38|0,2,0,0)|0|0;b:do if(q<<16>>16>0){b=da(r+4|0,4,0,0)|0|0;m=q<<16>>16;p=0;while(1){n=b+(p*24|0)|0;o=p+1|0;if(!(cd(da(n|0,4,0,0)|0|0,d)|0)){o=p;break b}if((o|0)<(m|0))p=o;else break}}else{o=0;n=0}while(0);if((o|0)==(q<<16>>16|0)){if((da(r+44>>0|0,1,0,0)|0)&32){b=0;q=0;r=0;n=0;p=0;o=0;break a}if(!(_h(d)|0)){b=0;q=0;r=0;n=0;p=0;o=0;break a}s=da(r+36|0,2,0,0)|0|0;m=s<<16>>16;if(s<<16>>16<=-1){b=0;p=0;m=1;s=0;o=11144;break}o=m;n=(da(r+4|0,4,0,0)|0|0)+(m*24|0)|0}if(n){if((da(r+36|0,2,0,0)|0|0)==(o|0))m=((da(r+44>>0|0,1,0,0)|0)&8)!=0;else m=0;b=m&1;p=(da(n+20>>0|0,1,0,0)|0|0)!=0&1;m=(da(n+23>>0|0,1,0,0)|0)&1;s=da(n+16|0,4,0,0)|0|0;o=da(n+12|0,4,0,0)|0|0}else{b=0;p=0;m=1;s=0;o=11144}}else{b=0;p=0;m=1;s=0;o=11144}while(0);q=p;n=m;p=(s|0)==0?11152:s}else{b=0;q=0;r=0;n=0;p=0;o=0}while(0);if(e)ea(e|0,o|0,4,0);if(f)ea(f|0,p|0,4,0);if(g)ea(g|0,q|0,4,0);if(h)ea(h|0,n|0,4,0);if(k)ea(k|0,b|0,4,0);m=da(v|0,4,0,0)|0|0;if(!(t|(r|0)!=0)){lg(a,m);ea(u|0,c|0,4,0);ea(u+4|0,d|0,4,0);m=th(a,11160,u)|0;ea(v|0,m|0,4,0);l=1}ea(u|0,m|0,4,0);tg(a,l,(m|0)!=0?10344:0,u);lg(a,da(v|0,4,0,0)|0|0);t=Ng(a,l)|0;i=w;return t|0}function $f(a){a=a|0;var b=0;if((Kc()|0)==0?(b=da(2254*4|0,4,0,0)|0|0,(b|0)!=0):0)a=(qc[(fa(da(b+60|0,4,0,0)|0|0,127|0)|0)&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function ag(a,b){a=a|0;b=b|0;ea(a+56|0,((b|0)!=0?-1:255)|0,4,0);return 0}function bg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=$h(a,b)|0;do if(b){a=da(b+4|0,4,0,0)|0|0;ea(a+4|0,da(b|0,4,0,0)|0|0,4,0);a=da((da(a|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;if((c|0)==7){ea(d|0,a|0,4,0);b=0;break}b=da(a|0,4,0,0)|0|0;if(!b)b=12;else b=$b[(fa(da(b+40|0,4,0,0)|0|0,63|0)|0)&63](a,c,d)|0}else b=1;while(0);return b|0}function cg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();l=m+24|0;d=m+8|0;c=m;ea(d|0,b|0,4,0);do switch(a|0){case 8:{k=da(d|0,4,0,0)|0|0;h=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);k=da(d|0,4,0,0)|0|0;e=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);k=pg(512,0)|0;c=(k|0)==0;if(!c){ew(k|0,0,512)|0;ea(k|0,h|0,4,0)}a=((h+7|0)/8|0)+1|0;g=pg(a,((a|0)<0)<<31>>31)|0;b=(g|0)==0;if(!b)ew(g|0,0,a|0)|0;f=Sc(512)|0;a:do if(!(c|b|(f|0)==0)){d=0;while(1){c=da(e+(d<<2)|0,4,0,0)|0|0;if((c|0)==5|(c|0)==2|(c|0)==1){n=e+(d+2<<2)|0;b=da(n|0,4,0,0)|0|0;a=b+-1|0;ea(l|0,a|0,4,0);ea(n|0,(da(e+(d+3<<2)|0,4,0,0)|0|0)+b|0,4,0);b=4}else if(!c)break;else{bd(4,l);a=da(l|0,4,0,0)|0|0;b=2}o=e+((d|1)<<2)|0;n=(da(o|0,4,0,0)|0|0)+-1|0;ea(o|0,n|0,4,0);d=((n|0)>0?0:b)+d|0;a=(a&2147483647|0)%(h|0)|0;ea(l|0,a|0,4,0);a=a+1|0;b=1<<(a&7);if(!(c&1)){a=g+(a>>>3)|0;ea(a>>0|0,(da(a>>0|0,1,0,1)|0)&(b^255)|0,1,0);bi(k,(da(l|0,4,0,0)|0|0)+1|0,f);continue}a=g+(a>>>3)|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|b|0,1,0);if((c|0)==5)continue;if(ai(k,(da(l|0,4,0,0)|0|0)+1|0)|0){c=-1;break a}}e=ci(k,h+1|0)|0;a=ci(k,0)|0;a=e-h+a+(da(k|0,4,0,0)|0|0)|0;ea(l|0,1|0,4,0);if((h|0)<1)c=a;else{b=1;while(1){e=((da(g+(b>>3)>>0|0,1,0,1)|0)&1<<(b&7)|0)!=0&1;c=b;b=b+1|0;if((e|0)!=(ci(k,c)|0))break a;ea(l|0,b|0,4,0);if((c|0)>=(h|0)){c=a;break}}}}else c=-1;while(0);Vc(f);Vc(g);di(k);break}case 11:{c=da(2514*4|0,4,0,0)|0|0;l=da(d|0,4,0,0)|0|0;b=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);if(b)ea(2514*4|0,b|0,4,0);break}case 12:{ea(c|0,0|0,4,0);c=da(c|0,4,0,0)|0|0;break}case 13:{l=da(d|0,4,0,0)|0|0;c=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);break}case 22:{c=10;break}case 5:{jw(12672,9064,259)|0;c=0;break}case 6:{jw(9064,12672,259)|0;c=0;break}case 7:{if(!(Kc()|0)){ea(9064|0,0|0,1,0);c=0}else c=0;break}case 14:{k=da(d|0,4,0,0)|0|0;l=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);k=da(d|0,4,0,0)|0|0;c=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);wg(da((da(l+16|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,0,c,0)|0;c=0;break}case 15:{k=da(d|0,4,0,0)|0|0;l=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);k=da(d|0,4,0,0)|0|0;c=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);ea(l+60|0,c|0,2,0);c=0;break}case 16:{l=da(d|0,4,0,0)|0|0;a=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);if(!a)c=0;else{c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-a&1073741823}c=(ei(a,c)|0)!=27;c=c?124:0;break}case 24:{k=da(d|0,4,0,0)|0|0;l=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);k=da(d|0,4,0,0)|0|0;c=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);ea(l+136|0,c|0,4,0);c=0;break}case 23:{c=(da(2243*4|0,4,0,0)|0|0)==0&1;break}case 25:{h=da(d|0,4,0,0)|0|0;c=da(h|0,4,0,0)|0|0;ea(d|0,h+4|0,4,0);h=da(d|0,4,0,0)|0|0;k=da(h|0,4,0,0)|0|0;ea(d|0,h+4|0,4,0);ea(c+144>>0|0,Uh(c,k)|0|0,1,0);k=da(d|0,4,0,0)|0|0;h=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);h=h&255;ea(c+147>>0|0,h|0,1,0);k=c+145|0;ea(k>>0|0,h|0,1,0);h=da(d|0,4,0,0)|0|0;l=da(h|0,4,0,0)|0|0;ea(d|0,h+4|0,4,0);ea(c+140|0,l|0,4,0);if((da(k>>0|0,1,0,0)|0|0)==0&(l|0)>0){Dg(c);c=0}else c=0;break}case 17:{l=da(d|0,4,0,0)|0|0;b=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);l=da(d|0,4,0,0)|0|0;c=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);l=da(d|0,4,0,0)|0|0;a=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);if(b)ea(c|0,fi(b)|0|0,4,0);gi(a);c=0;break}case 18:{l=da(d|0,4,0,0)|0|0;c=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);ea(2253*4|0,c|0,4,0);c=0;break}case 20:{l=da(d|0,4,0,0)|0|0;c=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);ea(2192*4|0,c|0,4,0);c=0;break}case 9:{l=da(d|0,4,0,0)|0|0;c=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);ea(2252*4|0,c|0,4,0);if(!c)c=0;else c=kc[(fa(c|0,127|0)|0)&127](0)|0;break}case 10:{k=da(d|0,4,0,0)|0|0;l=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);k=da(d|0,4,0,0)|0|0;c=da(k|0,4,0,0)|0|0;ea(d|0,k+4|0,4,0);ea(3164*4|0,l|0,4,0);ea(3166*4|0,c|0,4,0);c=0;break}default:c=0}while(0);i=m;return c|0}function dg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)){c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;d=(c-a&1073741823)+1|0;c=da(a+d>>0|0,1,0,0)|0|0;if(c<<24>>24){f=a+d|0;while(1){e=Zv(f,b)|0;d=f;while(1){a=d+1|0;if(!(c<<24>>24))break;c=da(a>>0|0,1,0,0)|0|0;d=a}a=d-f&1073741823;c=f+(a+1)|0;if(!e)break a;else d=c;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;f=f+(a+2+(d-c&1073741823))|0;c=da(f>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=0;break}}}else c=0}else c=0;while(0);return c|0}function eg(a,b,c){a=a|0;b=b|0;c=c|0;a=dg(a,b)|0;b=(c|0)!=0;if(a)b=(hi(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function fg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;b=dg(a,b)|0;if(!b){C=d;i=f;return c|0}else{a=(ii(b,e)|0)==0;b=e;C=a?da(b+4|0,4,0,0)|0|0:d;i=f;return (a?da(b|0,4,0,0)|0|0:c)|0}return 0}function gg(a,b){a=a|0;b=b|0;a=$h(a,b)|0;if(a){a=da(da(a+4|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(a+15>>0|0,1,0,0)|0))a=da(a+168|0,4,0,0)|0|0;else a=10360}else a=0;return a|0}function hg(a,b){a=a|0;b=b|0;a=$h(a,b)|0;if(!a)a=-1;else a=(da((da(a+4|0,4,0,0)|0|0)+22|0,2,0,0)|0)&1;return a|0}function ig(a,b){a=a|0;b=b|0;if(b){Ek(a,da(b+28|0,4,0,0)|0|0);lg(a,da(b|0,4,0,0)|0|0);lg(a,da(b+4|0,4,0,0)|0|0);Fk(a,da(b+12|0,4,0,0)|0|0);Gk(a,da(b+16|0,4,0,0)|0|0);lg(a,b)}return}function jg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;do if(b){f=(a|0)!=0;if(!(f?(da(a+520|0,4,0,0)|0|0)!=0:0))c=4;if((c|0)==4?(d=b+40|0,c=(da(d|0,2,0,0)|0|0)+-1<<16>>16,ea(d|0,c|0,2,0),c<<16>>16!=0):0)break;c=da(b+8|0,4,0,0)|0|0;if(c){e=a+520|0;do{d=c;c=da(c+20|0,4,0,0)|0|0;if(!(f?(da(e|0,4,0,0)|0|0)!=0:0))Hk((da(d+24|0,4,0,0)|0|0)+24|0,da(d|0,4,0,0)|0|0,0)|0;Ik(a,d)}while((c|0)!=0)}c=da(b+16|0,4,0,0)|0|0;if(c){h=(a|0)==0;i=b+68|0;j=a+520|0;do{if(!(!h?(da(j|0,4,0,0)|0|0)!=0:0)){d=c+16|0;g=da(d|0,4,0,0)|0|0;f=c+12|0;e=da(f|0,4,0,0)|0|0;if(!g)Hk((da(i|0,4,0,0)|0|0)+56|0,da(((e|0)==0?c:e)+8|0,4,0,0)|0|0,e)|0;else ea(g+12|0,e|0,4,0);f=da(f|0,4,0,0)|0|0;if(f)ea(f+16|0,da(d|0,4,0,0)|0|0,4,0)}Jk(a,da(c+28|0,4,0,0)|0|0);Jk(a,da(c+32|0,4,0,0)|0|0);d=c;c=da(c+4|0,4,0,0)|0|0;lg(a,d)}while((c|0)!=0)}Kk(a,b);lg(a,da(b|0,4,0,0)|0|0);lg(a,da(b+20|0,4,0,0)|0|0);Lk(a,da(b+12|0,4,0,0)|0|0,1);Mk(a,da(b+24|0,4,0,0)|0|0);if(!((a|0)!=0?(da(a+520|0,4,0,0)|0|0)!=0:0))Nk(0,b)|0;f=b+56|0;c=da(f|0,4,0,0)|0|0;if(c){g=b+52|0;d=da(g|0,4,0,0)|0|0;if((d|0)>0){e=0;do{if((e|0)!=1){lg(a,da((da(f|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0);d=da(g|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(d|0));c=da(f|0,4,0,0)|0|0}lg(a,c)}lg(a,b)}while(0);return}function kg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;bh(da(b+60|0,4,0,0)|0|0,da(b+68|0,2,0,0)|0|0);e=b+16|0;bh(da(e|0,4,0,0)|0|0,(da(b+84|0,2,0,1)|0)<<1);c=da(b+192|0,4,0,0)|0|0;if(c)do{d=c;c=da(c+24|0,4,0,0)|0|0;Ok(a,da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0);lg(a,d)}while((c|0)!=0);c=da(b+70|0,2,0,0)|0|0;if(c<<16>>16>0){d=b+64|0;c=c<<16>>16;do{c=c+-1|0;lg(a,da((da(d|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0)}while((c|0)>0)}Ok(a,da(b+4|0,4,0,0)|0|0,da(b+32|0,4,0,0)|0|0);lg(a,da(e|0,4,0,0)|0|0);lg(a,da(b+168|0,4,0,0)|0|0);lg(a,da(b+172|0,4,0,0)|0|0);return}function lg(a,b){a=a|0;b=b|0;var c=0;do if(b){if(a){if(da(a+520|0,4,0,0)|0){Pk(a,b);break}if((da(a+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(a+280|0,4,0,0)|0|0)>>>0>b>>>0:0){c=a+272|0;ea(b|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0);a=a+252|0;ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0);break}}Vc(b)}while(0);return}function mg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=da(b+24|0,4,0,0)|0|0;if(!e)c=0;else{c=e;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-e&1073741823}d=(((da(9328+(da(e>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c|0)>>>0)%23|0;c=Qk(a,d,e,c)|0;if(!c){ea(b+8|0,0|0,4,0);c=a+(d<<2)|0;ea(b+28|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0)}else{c=c+8|0;ea(b+8|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0)}return}function ng(a){a=a|0;var b=0,c=0;do if(a){b=da(2254*4|0,4,0,0)|0|0;if((b|0)==(a|0)){ea(2254*4|0,da(a+12|0,4,0,0)|0|0,4,0);break}if(b){do{c=b+12|0;b=da(c|0,4,0,0)|0|0}while((b|0)!=(a|0)&(b|0)!=0);if((b|0)==(a|0))ea(c|0,da(a+12|0,4,0,0)|0|0,4,0)}}while(0);return}function og(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function pg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=iw(a|0,b|0,-1,-1)|0;c=C;do if(!(c>>>0>0|(c|0)==0&b>>>0>2147483390)){if(!(da(2186*4|0,4,0,0)|0)){b=kc[(fa(da(8744+36|0,4,0,0)|0|0,127|0)|0)&127](a)|0;break}c=kc[(fa(da(8744+52|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2171*4|0,a|0,4,0);if((da(2181*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2181*4|0,a|0,4,0);a=da(2260*4|0,4,0,0)|0|0;do if(a){b=da(2166*4|0,4,0,0)|0|0;d=9032|0;d=cw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,c|0,((c|0)<0)<<31>>31|0)|0;e=C;if(0<(e|0)|0==(e|0)&b>>>0<d>>>0){ea(2265*4|0,0|0,4,0);break}else{ea(2265*4|0,1|0,4,0);d=da(2261*4|0,4,0,0)|0|0;ea(2260*4|0,0|0,4,0);pc[(fa(a|0,15|0)|0)&15](d,b,0,c);ea(2260*4|0,a|0,4,0);ea(2261*4|0,d|0,4,0);break}}while(0);b=kc[(fa(da(8744+36|0,4,0,0)|0|0,127|0)|0)&127](c)|0;if(b){a=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;a=(da(2166*4|0,4,0,0)|0|0)+a|0;ea(2166*4|0,a|0,4,0);if(a>>>0>(da(2176*4|0,4,0,0)|0|0)>>>0)ea(2176*4|0,a|0,4,0);a=(da(2175*4|0,4,0,0)|0|0)+1|0;ea(2175*4|0,a|0,4,0);if(a>>>0>(da(2185*4|0,4,0,0)|0|0)>>>0)ea(2185*4|0,a|0,4,0)}else b=0}else b=0;while(0);return b|0}function qg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if(a){if((b|0)==0&(c|0)==0){Vc(a);d=0;break}if(!(c>>>0>0|(c|0)==0&b>>>0>2147483391)){g=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;f=kc[(fa(da(8744+52|0,4,0,0)|0|0,127|0)|0)&127](b)|0;if((f|0)!=(g|0)){if(!(da(2186*4|0,4,0,0)|0)){d=qc[(fa(da(8744+44|0,4,0,0)|0|0,127|0)|0)&127](a,f)|0;break}ea(2171*4|0,b|0,4,0);if((da(2181*4|0,4,0,0)|0|0)>>>0<b>>>0)ea(2181*4|0,b|0,4,0);c=f-g|0;d=da(2166*4|0,4,0,0)|0|0;h=9032|0;h=cw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,c|0,((c|0)<0)<<31>>31|0)|0;i=C;if(!(0<(i|0)|0==(i|0)&d>>>0<h>>>0)?(e=da(2260*4|0,4,0,0)|0|0,(e|0)!=0):0){h=da(2261*4|0,4,0,0)|0|0;ea(2260*4|0,0|0,4,0);pc[(fa(e|0,15|0)|0)&15](h,d,0,c);ea(2260*4|0,e|0,4,0);ea(2261*4|0,h|0,4,0)}d=qc[(fa(da(8744+44|0,4,0,0)|0|0,127|0)|0)&127](a,f)|0;c=da(2260*4|0,4,0,0)|0|0;if((d|0)==0&(c|0)!=0){e=da(2166*4|0,4,0,0)|0|0;d=da(2261*4|0,4,0,0)|0|0;ea(2260*4|0,0|0,4,0);pc[(fa(c|0,15|0)|0)&15](d,e,0,b);ea(2260*4|0,c|0,4,0);ea(2261*4|0,d|0,4,0);d=qc[(fa(da(8744+44|0,4,0,0)|0|0,127|0)|0)&127](a,f)|0}if(d){c=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0)-g|0;c=(da(2166*4|0,4,0,0)|0|0)+c|0;ea(2166*4|0,c|0,4,0);if(c>>>0>(da(2176*4|0,4,0,0)|0|0)>>>0)ea(2176*4|0,c|0,4,0)}else d=0}else d=a}else d=0}else d=pg(b,c)|0;while(0);return d|0}function rg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=i;i=i+96|0;if((i|0)>=(j|0))ba();S=U+8|0;T=U;R=U+16|0;if(!b){e=0;f=0;M=0}else{e=b&2;if(!e)f=0;else{B=da(d|0,4,0,0)|0|0;f=da(B|0,4,0,0)|0|0;ea(d|0,B+4|0,4,0)}e=e&255;M=(b&1|0)!=0}L=e<<24>>24==0;I=e<<24>>24!=0;J=f+4|0;K=f+8|0;H=a+12|0;e=0;a:while(1){b=da(c>>0|0,1,0,0)|0|0;if(b<<24>>24==37){b=c;c=e}else if(b<<24>>24){b=c;do{b=b+1|0;B=da(b>>0|0,1,0,0)|0|0}while(!(B<<24>>24==37|B<<24>>24==0));Rk(a,c,b-c|0);if(!(da(b>>0|0,1,0,0)|0))break}else break;e=b+1|0;g=da(e>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){N=10;break}h=g<<24>>24;o=0;l=0;r=0;g=0;t=0;u=0;b:while(1){switch(h|0){case 33:{s=1;break}case 48:{s=l;u=1;break}case 45:{s=l;g=1;break}case 43:{s=l;t=1;break}case 32:{s=l;r=1;break}case 35:{o=1;s=l;break}default:{v=o;s=l;break b}}l=b+2|0;B=da(l>>0|0,1,0,0)|0|0;h=B<<24>>24;if(!(B<<24>>24)){e=l;v=o;break}else{b=e;e=l;l=s}}if((h|0)!=42)if((h+-48|0)>>>0<10){l=0;do{l=h+-48+(l*10|0)|0;e=e+1|0;h=da(e>>0|0,1,0,0)|0|0}while((h+-48|0)>>>0<10);G=g;F=l&2147483647}else{G=g;F=0}else{if(L){B=da(d|0,4,0,0)|0|0;l=da(B|0,4,0,0)|0|0;ea(d|0,B+4|0,4,0)}else l=Sk(f)|0;if((l|0)<0){g=1;l=(l|0)==-2147483648?0:0-l|0}h=e+1|0;e=h;h=da(h>>0|0,1,0,0)|0|0;G=g;F=l}do if((h|0)==46){l=e+1|0;g=da(l>>0|0,1,0,0)|0|0;if(g<<24>>24!=42){h=g<<24>>24;if((g+-48&255)<10)g=0;else{e=l;y=0;break}while(1){g=h+-48+(g*10|0)|0;e=e+2|0;B=da(e>>0|0,1,0,0)|0|0;h=B<<24>>24;if((B+-48&255)<10){B=l;l=e;e=B}else break}y=g&2147483647;break}if(L){B=da(d|0,4,0,0)|0|0;l=da(B|0,4,0,0)|0|0;ea(d|0,B+4|0,4,0)}else l=Sk(f)|0;e=e+2|0;h=da(e>>0|0,1,0,0)|0|0;if((l|0)<0)y=(l|0)==-2147483648?-1:0-l|0;else y=l}else y=-1;while(0);do if((h|0)==108){l=e+1|0;h=da(l>>0|0,1,0,0)|0|0;if(h<<24>>24==108){h=e+2|0;e=h;h=da(h>>0|0,1,0,0)|0|0;l=1;break}else{e=l;h=h<<24>>24;l=0;break}}else l=0;while(0);o=0;while(1){g=48752+(o*6|0)|0;if((h|0)==(da(g>>0|0,1,0,0)|0|0)){h=g;g=o;N=46;break}o=o+1|0;if((o|0)>=23){E=48752;B=0;break}}if((N|0)==46){N=0;if(!(M|g>>>0<20))break;E=h;B=da(48755+(g*6|0)>>0|0,1,0,0)|0|0}c:do switch(B&255|0){case 14:{l=0;N=50;break}case 1:case 16:{N=50;break}case 13:{l=da(d|0,4,0,0)|0|0;b=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);l=da(d|0,4,0,0)|0|0;h=da(l|0,4,0,0)|0|0;ea(d|0,l+4|0,4,0);l=da(b+(h*72|0)+12|0,4,0,0)|0|0;if(l){g=l;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;Rk(a,l,g-l&1073741823);Rk(a,28928,1)}g=da(b+(h*72|0)+16|0,4,0,0)|0|0;if(!g)b=0;else{b=g;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-g&1073741823}Rk(a,g,b);r=c;h=0;b=0;l=0;break}case 4:case 3:case 2:{do if(!L){l=da(J|0,4,0,0)|0|0;if((da(f|0,4,0,0)|0|0)>(l|0)){ea(J|0,l+1|0,4,0);m=+Tg(da((da(K|0,4,0,0)|0|0)+(l<<2)|0,4,0,0)|0|0);N=92;break}else{l=(y|0)<0?6:y;m=0.0;N=94;break}}else{N=da(d|0,4,0,0)|0|0;ea(k|0,da(N|0,4,0,0)|0|0,4,0);ea(k+4|0,da(N+4|0,4,0,0)|0|0,4,0);m=+(+da(k|0,8,1,0));ea(d|0,N+8|0,4,0);N=92}while(0);if((N|0)==92){N=0;l=(y|0)<0?6:y;if(m<0.0){m=-m;D=45}else N=94}if((N|0)==94){N=0;if(!(t<<24>>24))D=r<<24>>24==0?0:32;else D=43}y=B<<24>>24==4;g=((y&(l|0)>0)<<31>>31)+l|0;l=g&4095;if(!l)n=.5;else{n=.5;do{l=l+-1|0;n=n*.1}while((l|0)>0)}x=B<<24>>24==2;if(x)m=m+n;ea(S|0,+m,8,1);ea(T|0,+(+(+da(S|0,8,1,0))),8,1);if(+(+da(S|0,8,1,0))!=+(+da(T|0,8,1,0))){r=48960;h=3;b=F;l=0}else{if(m>0.0){o=0;p=1.0;while(1){q=p*1.e+100;if(m>=q&(o|0)<351){o=o+100|0;p=q}else break}while(1){q=p*1.e+64;if(m>=q&(o|0)<351){o=o+64|0;p=q}else break}while(1){q=p*1.0e8;if(m>=q&(o|0)<351){o=o+8|0;p=q}else break}while(1){q=p*10.0;if((o|0)<351&m>=q){o=o+1|0;p=q}else break}m=m/p;if(m<1.0e-08)do{m=m*1.0e8;o=o+-8|0}while(m<1.0e-08);if(m<1.0)do{m=m*10.0;o=o+-1|0}while(m<1.0);if((o|0)>350){if(D<<24>>24==43)g=48976;else if(D<<24>>24==45)g=48968;else g=48984;c=g;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;r=g;h=c-g&1073741823;b=F;l=0;break c}}else o=0;if(!x){m=n+m;if(!(m>=10.0))A=o;else{m=m*.1;A=o+1|0}}else A=o;if(y){l=(A|0)<-4|(g|0)<(A|0);y=v<<24>>24==0&1;g=g-(l?0:A)|0;l=l?3:2}else{y=s;l=B}z=l<<24>>24==3;c=z?0:A;o=(c|0)>0;l=iw(g|0,((g|0)<0)<<31>>31|0,F|0,((F|0)<0)<<31>>31|0)|0;o=iw(l|0,C|0,(o?c:0)|0,(o?((c|0)<0)<<31>>31:0)|0)|0;l=C;if((l|0)>0|(l|0)==0&o>>>0>55){o=iw(o|0,l|0,15,0)|0;o=pg(o,C)|0;if(!o){N=124;break a}else{r=o;B=o}}else{r=R;B=0}o=((s&255)*10|0)+16|0;w=(s|v)&255|(g|0)>0;if(!(D<<24>>24))x=r;else{ea(r>>0|0,D|0,1,0);x=r+1|0}if((c|0)<0){ea(x>>0|0,48|0,1,0);b=2;l=x+1|0;t=c}else{v=~c;v=(v|0)>-1?v:-1;t=-2-v|0;v=c+v|0;h=x;while(1){if((o|0)<1)b=48;else{l=~~m;b=l+48&255;m=(m-+(l|0))*10.0;o=o+-1|0}ea(h>>0|0,b|0,1,0);if((c|0)>0){h=h+1|0;c=c+-1|0}else break}b=v+3|0;l=x+(v+2)|0}h=(w|0)==0;if(!h){ea(l>>0|0,46|0,1,0);l=x+b|0}if((t+1|0)<0){ew(l|0,48,~t|0)|0;l=l+~t|0;g=g+1+t|0}if((g|0)>0){b=l;c=g;while(1){c=c+-1|0;if((o|0)<1)t=48;else{x=~~m;t=x+48&255;m=(m-+(x|0))*10.0;o=o+-1|0}ea(b>>0|0,t|0,1,0);if((c|0)<=0)break;else b=b+1|0}l=l+g|0}d:do if(!(y<<24>>24==0|h)){h=l;while(1){l=h+-1|0;g=da(l>>0|0,1,0,0)|0|0;if(g<<24>>24==46)break;else if(g<<24>>24!=48){l=h;break d}ea(l>>0|0,0|0,1,0);h=l}if(!(s<<24>>24)){ea(l>>0|0,0|0,1,0);break}else{ea(h>>0|0,48|0,1,0);l=h+1|0;break}}while(0);if(z){h=l+1|0;ea(l>>0|0,da(48912+(da(E+4>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0|0,1,0);g=l+2|0;if((A|0)<0){ea(h>>0|0,45|0,1,0);h=0-A|0}else{ea(h>>0|0,43|0,1,0);h=A}if((h|0)>99){ea(g>>0|0,((h|0)/100|0)+48|0,1,0);c=4;b=5;g=l+3|0;h=(h|0)%100|0}else{c=3;b=4}ea(g>>0|0,((h|0)/10|0)+48|0,1,0);ea(l+c>>0|0,((h|0)%10|0)+48|0,1,0);l=l+b|0}ea(l>>0|0,0|0,1,0);b=r;h=l-b|0;if(!(G<<24>>24==0&u<<24>>24!=0&(F|0)>(h|0))){b=F;l=B;break c}g=F-h|0;if((h|0)>=0){c=F;while(1){ea(r+c>>0|0,da(r+(c-g)>>0|0,1,0,0)|0|0|0,1,0);if((c|0)>(g|0))c=c+-1|0;else break}}if((F|0)==(h|0)){h=F;b=F;l=B;break c}ew(r+(D<<24>>24!=0&1)|0,48,F+b-l|0)|0;h=F;b=F;l=B}break}case 5:{if(L){r=da(H|0,4,0,0)|0|0;b=da(d|0,4,0,0)|0|0;h=da(b|0,4,0,0)|0|0;ea(d|0,b+4|0,4,0);ea(h|0,r|0,4,0);r=c;h=0;b=0;l=0}else{r=c;h=0;b=0;l=0}break}case 8:{ea(R>>0|0,37|0,1,0);r=R;h=1;b=F;l=0;break}case 9:{if(!L){b=Tk(f)|0;if(!b)l=0;else l=da(b>>0|0,1,0,0)|0|0}else{B=da(d|0,4,0,0)|0|0;l=da(B|0,4,0,0)|0|0;ea(d|0,B+4|0,4,0)}if((y|0)>1){g=y+-1|0;b=F-g|0;if(!((b|0)<2|G<<24>>24!=0)){Uk(a,b+-1|0,32);b=0}c=l&255;Uk(a,g,c)}else{c=l&255;b=F}ea(R>>0|0,c|0,1,0);r=R;h=1;l=0;break}case 7:case 6:{if(I)g=Tk(f)|0;else{A=da(d|0,4,0,0)|0|0;g=da(A|0,4,0,0)|0|0;ea(d|0,A+4|0,4,0)}if(!g){c=10360;l=0}else{c=g;l=B<<24>>24!=7|I?0:g}if((y|0)>-1){if((y|0)>0)g=0;else{r=c;h=0;b=F;break c}while(1){h=g+1|0;if(!(da(c+g>>0|0,1,0,0)|0)){r=c;h=g;b=F;break c}if((h|0)<(y|0))g=h;else{r=c;b=F;break}}}else{if(!c){r=0;h=0;b=F;break c}else g=c;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;r=c;h=g-c&1073741823;b=F;break c}break}case 15:case 11:case 10:{v=B<<24>>24==15?34:39;if(L){A=da(d|0,4,0,0)|0|0;l=da(A|0,4,0,0)|0|0;ea(d|0,A+4|0,4,0)}else l=Tk(f)|0;r=(l|0)==0;if(r)l=B<<24>>24==11?20304:48992;e:do if(!y){u=0;h=0}else{o=v&255;g=0;b=y;h=0;while(1){c=da(l+g>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){u=g;break e}h=((c<<24>>24|0)==(o|0)&1)+h|0;g=g+1|0;b=b+-1|0;if(!b){u=g;break}}}while(0);s=B<<24>>24==11&(r^1);g=((s&1)<<1|1)+u+h|0;if((g|0)>70){h=pg(g,((g|0)<0)<<31>>31)|0;if(!h){N=197;break a}else{r=h;t=h}}else{r=R;t=0}if(s){ea(r>>0|0,v|0,1,0);g=1}else g=0;if((u|0)>0){o=v&255;b=0;do{h=da(l+b>>0|0,1,0,0)|0|0;c=g+1|0;ea(r+g>>0|0,h|0,1,0);if((h<<24>>24|0)==(o|0)){ea(r+c>>0|0,h|0,1,0);g=g+2|0}else g=c;b=b+1|0}while((b|0)!=(u|0))}if(s){ea(r+g>>0|0,v|0,1,0);g=g+1|0}ea(r+g>>0|0,0|0,1,0);h=g;b=F;l=t;break}case 12:{B=da(d|0,4,0,0)|0|0;b=da(B|0,4,0,0)|0|0;ea(d|0,B+4|0,4,0);if((b|0)!=0?(Q=da(b+4|0,4,0,0)|0|0,(Q|0)!=0):0){Rk(a,da(b|0,4,0,0)|0|0,Q);r=c;h=0;b=0;l=0}else{r=c;h=0;b=0;l=0}break}default:break a}while(0);if((N|0)==50){N=0;do if(!((da(E+2>>0|0,1,0,0)|0)&1)){if(I){c=Sk(f)|0;o=C;x=0;break}if(!(l<<24>>24)){o=da(d|0,4,0,0)|0|0;c=da(o|0,4,0,0)|0|0;ea(d|0,o+4|0,4,0);o=0;x=0;break}else{x=da(d|0,4,0,0)|0|0;o=x;c=da(o|0,4,0,0)|0|0;o=da(o+4|0,4,0,0)|0|0;ea(d|0,x+8|0,4,0);x=0;break}}else{do if(!I)if(!(l<<24>>24)){h=da(d|0,4,0,0)|0|0;l=da(h|0,4,0,0)|0|0;ea(d|0,h+4|0,4,0);h=((l|0)<0)<<31>>31;break}else{A=da(d|0,4,0,0)|0|0;h=A;l=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;ea(d|0,A+8|0,4,0);break}else{l=Sk(f)|0;h=C}while(0);if((h|0)<0){c=cw(0,0,l|0,h|0)|0;o=C;x=45;break}if(!(t<<24>>24)){c=l;o=h;x=r<<24>>24==0?0:32}else{c=l;o=h;x=43}}while(0);w=(c|0)==0&(o|0)==0;if(!(u<<24>>24))t=y;else{t=F-(x<<24>>24!=0&1)|0;t=(y|0)<(t|0)?t:y}if((t|0)>=60){l=t+10|0;h=pg(l,((l|0)<0)<<31>>31)|0;if(!h){N=69;break}else{b=l;l=h;g=h}}else{b=70;l=0;g=R}u=g+(b+-1)|0;if(B<<24>>24==16){h=tw(c|0,o|0,10,0)|0;if(!(h>>>0<=3?(B=sw(c|0,o|0,10,0)|0,B=tw(B|0,C|0,10,0)|0,!((B|0)==1&(C|0)==0)):0))h=0;B=h<<1;ea(g+(b+-2)>>0|0,da(48896+(B|1)>>0|0,1,0,0)|0|0|0,1,0);h=g+(b+-3)|0;ea(h>>0|0,da(48896+B>>0|0,1,0,0)|0|0|0,1,0)}else h=u;b=da(E+4>>0|0,1,0,1)|0|0;r=da(E+1>>0|0,1,0,1)|0|0;while(1){B=tw(c|0,o|0,r|0,0)|0;g=h+-1|0;ea(g>>0|0,da(48912+(B+b)>>0|0,1,0,0)|0|0|0,1,0);c=sw(c|0,o|0,r|0,0)|0;o=C;if((c|0)==0&(o|0)==0)break;else h=g}c=t-u+g|0;if((c|0)>0){b=h;h=g;while(1){g=b+-2|0;ea(g>>0|0,48|0,1,0);c=c+-1|0;if((c|0)<=0)break;else{b=h;h=g}}}if(x<<24>>24){g=h+-2|0;ea(g>>0|0,x|0,1,0)}if((!(w|v<<24>>24==0)?(O=da(E+5>>0|0,1,0,0)|0|0,O<<24>>24!=0):0)?(P=48952+(O&255)|0,!(O<<24>>24==3|O<<24>>24==6)):0){c=da(P>>0|0,1,0,0)|0|0;h=P;do{g=g+-1|0;ea(g>>0|0,c|0,1,0);h=h+1|0;c=da(h>>0|0,1,0,0)|0|0}while(c<<24>>24!=0)}r=g;h=u-g|0;b=F}g=b-h|0;c=(g|0)<1;if(!(c|G<<24>>24!=0))Uk(a,g,32);Rk(a,r,h);if(!(c|G<<24>>24==0))Uk(a,g,32);if(l)Vc(l);c=e+1|0;e=r}if((N|0)==10)Rk(a,48744,1);else if((N|0)==69){ea(a+25>>0|0,1|0,1,0);ea(a+16|0,0|0,4,0)}else if((N|0)==124){ea(a+25>>0|0,1|0,1,0);ea(a+16|0,0|0,4,0)}else if((N|0)==197){ea(a+25>>0|0,1|0,1,0);ea(a+16|0,0|0,4,0)}i=U;return}function sg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=a+8|0;b=da(d|0,4,0,0)|0|0;do if(((b|0)!=0?(f=a+12|0,ea(b+(da(f|0,4,0,0)|0|0)>>0|0,0|0,1,0),c=da(a+24>>0|0,1,0,0)|0|0,c<<24>>24!=0):0)?(e=a+4|0,(da(d|0,4,0,0)|0|0)==(da(e|0,4,0,0)|0|0)):0){if(c<<24>>24==1){b=(da(f|0,4,0,0)|0|0)+1|0;b=lh(da(a|0,4,0,0)|0|0,b,((b|0)<0)<<31>>31)|0}else b=Sc((da(f|0,4,0,0)|0|0)+1|0)|0;ea(d|0,b|0,4,0);if(!b){ea(a+25>>0|0,1|0,1,0);ea(a+16|0,0|0,4,0);break}else{jw(b|0,da(e|0,4,0,0)|0|0,(da(f|0,4,0,0)|0|0)+1|0)|0;break}}while(0);return da(d|0,4,0,0)|0|0}function tg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=a+52|0;ea(e|0,b|0,4,0);a:do if(!c){ea(e|0,b|0,4,0);b=da(a+236|0,4,0,0)|0|0;if(b){e=b+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(b);break}}}else{g=a+236|0;do if(!(da(g|0,4,0,0)|0)){e=lh(a,40,0)|0;if(!e){ea(g|0,e|0,4,0);break a}else{b=e+0|0;f=b+40|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(f|0));ea(e+8|0,1|0,2,0);ea(e+32|0,a|0,4,0);ea(g|0,e|0,4,0);break}}while(0);ea(h|0,d|0,4,0);e=Vk(a,c,h)|0;b=da(g|0,4,0,0)|0|0;if(b)Wg(b,e,-1,1,75)|0}while(0);i=k;return}function ug(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,2,0,0)|0|0;if(b&8192){Xk(a,da(a|0,4,0,0)|0|0)|0;b=da(c|0,2,0,0)|0|0}b=b&65535;do if(!(b&1024)){if(b&32){Yk(da(a|0,4,0,0)|0|0);break}if(b&64){b=da(a|0,4,0,0)|0|0;a=(da(b|0,4,0,0)|0|0)+180|0;ea(b+4|0,da(a|0,4,0,0)|0|0,4,0);ea(a|0,b|0,4,0)}}else bc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](da(a+16|0,4,0,0)|0|0);while(0);ea(c|0,1|0,2,0);return}function vg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;d=Uh(b,c)|0;do if((d|0)==1){e=lh(a,536,0)|0;if(!e){tg(a,7,15776,f);d=0;break}ew(e|0,0,536)|0;ea(e|0,b|0,4,0);if(!(Zk(e)|0)){lg(a,da(e+4|0,4,0,0)|0|0);Bh(e);lg(a,e);g=7;break}else{b=da(e+12|0,4,0,0)|0|0;d=e+4|0;ea(f|0,da(d|0,4,0,0)|0|0,4,0);tg(a,b,10344,f);lg(a,da(d|0,4,0,0)|0|0);Bh(e);lg(a,e);d=0;break}}else g=7;while(0);do if((g|0)==7)if((d|0)<0){ea(f|0,c|0,4,0);tg(a,1,47448,f);d=0;break}else{d=da((da(b+16|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;break}while(0);i=h;return d|0}function wg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=da(a+4|0,4,0,0)|0|0;ea(h+4|0,da(a|0,4,0,0)|0|0,4,0);g=h+22|0;if(!((da(g|0,2,0,0)|0)&2)){if((c|0)<0)c=(da(h+32|0,4,0,0)|0|0)-(da(h+36|0,4,0,0)|0|0)|0;if(((b+-512|0)>>>0<65025?(b+-1&b|0)==0:0)?(ea(h+32|0,b|0,4,0),e=h+80|0,f=da(e|0,4,0,0)|0|0,(f|0)!=0):0){a=f+-4|0;ea(e|0,a|0,4,0);_k(a);ea(e|0,0|0,4,0)}e=h+32|0;a=$k(da(h|0,4,0,0)|0|0,e,c)|0;ea(h+36|0,(da(e|0,4,0,0)|0|0)-(c&65535)|0,4,0);if(d)ea(g|0,da(g|0,2,0,1)|0|0|2|0,2,0)}else a=8;return a|0}function xg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=i;i=i+16|0;if((i|0)>=(j|0))ba();F=L;E=L+12|0;D=L+8|0;J=da(a+4|0,4,0,0)|0|0;A=J+4|0;ea(A|0,da(a|0,4,0,0)|0|0,4,0);G=a+8|0;e=da(G>>0|0,1,0,0)|0|0;do if(e<<24>>24!=2?(H=(b|0)!=0,e<<24>>24!=1|H):0){I=J+22|0;e=da(I|0,2,0,0)|0|0;if(!((e&1)!=0&H)){if(H)if((da(J+20>>0|0,1,0,0)|0|0)!=2&(e&64)==0)K=8;else K=7;else if(!(e&64))K=8;else K=7;a:do if((K|0)==7){c=da(J+76|0,4,0,0)|0|0;K=12}else if(((K|0)==8?(b|0)>1:0)?(d=da(J+72|0,4,0,0)|0|0,(d|0)!=0):0)do{e=da(d|0,4,0,0)|0|0;if((e|0)!=(a|0)){c=e;K=12;break a}d=da(d+12|0,4,0,0)|0|0}while((d|0)!=0);while(0);if((K|0)==12?(da(c|0,4,0,0)|0|0)!=0:0){c=262;break}c=al(a,1,1)|0;if(!c){e=da(I|0,2,0,1)|0|0;ea(I|0,e&65527|0,2,0);C=J+44|0;if(!(da(C|0,4,0,0)|0))ea(I|0,e|8|0,2,0);w=J+12|0;m=J+32|0;n=J+36|0;o=J+17|0;p=J+18|0;q=J+80|0;r=J+24|0;s=J+26|0;t=J+28|0;u=J+30|0;v=J+21|0;x=J+20|0;y=(b|0)>1;c=0;b:while(1){c:do if(!(da(w|0,4,0,0)|0)){c=bl(da(J|0,4,0,0)|0|0)|0;if(!c){c=cl(J,1,E,0)|0;if(!c){l=da(E|0,4,0,0)|0|0;g=da(l+56|0,4,0,0)|0|0;e=(da(g+29>>0|0,1,0,1)|0)<<16|(da(g+28>>0|0,1,0,1)|0)<<24|(da(g+30>>0|0,1,0,1)|0)<<8|(da(g+31>>0|0,1,0,1)|0);f=da(J|0,4,0,0)|0|0;h=da(f+24|0,4,0,0)|0|0;if((e|0)!=0?(Yv(g+24|0,g+92|0,4)|0)==0:0)k=e;else k=h;d:do if((k|0)>0){e:do if(!(Yv(g,44680,16)|0)){if((da(g+18>>0|0,1,0,1)|0|0)>2)ea(I|0,da(I|0,2,0,1)|0|1|0,2,0);e=da(g+19>>0|0,1,0,0)|0|0;if((e&255)<=2){do if(e<<24>>24==2){if((da(I|0,2,0,0)|0)&16)break;ea(D|0,0|0,4,0);c=dl(f,D)|0;if(c){K=48;break e}if(da(D|0,4,0,0)|0)break;if(!l){c=0;continue b}Ag(da(l+68|0,4,0,0)|0|0);c=0;continue b}while(0);if(Yv(g+21|0,47408,3)|0){c=26;K=48;break}d=(da(g+17>>0|0,1,0,1)|0)<<16|(da(g+16>>0|0,1,0,1)|0)<<8;if((d+16777215&d|0)!=0|d>>>0>65536|d>>>0<257){c=26;K=48;break}f=da(g+20>>0|0,1,0,1)|0|0;e=d-f|0;if((d|0)==(da(m|0,4,0,0)|0|0)){if((k|0)>(h|0)?((da((da(A|0,4,0,0)|0|0)+24|0,4,0,0)|0)&65536|0)==0:0){ea(F|0,55672|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);c=11;K=48;break}if(e>>>0<480){c=26;K=48;break}ea(m|0,d|0,4,0);ea(n|0,e|0,4,0);ea(o>>0|0,((da(g+53>>0|0,1,0,1)|0)<<16|(da(g+52>>0|0,1,0,1)|0)<<24|(da(g+54>>0|0,1,0,1)|0)<<8|(da(g+55>>0|0,1,0,1)|0)|0)!=0&1|0,1,0);ea(p>>0|0,((da(g+65>>0|0,1,0,1)|0)<<16|(da(g+64>>0|0,1,0,1)|0)<<24|(da(g+66>>0|0,1,0,1)|0)<<8|(da(g+67>>0|0,1,0,1)|0)|0)!=0&1|0,1,0);break d}if(l)Ag(da(l+68|0,4,0,0)|0|0);ea(n|0,e|0,4,0);ea(m|0,d|0,4,0);e=da(q|0,4,0,0)|0|0;if(e){c=e+-4|0;ea(q|0,c|0,4,0);_k(c);ea(q|0,0|0,4,0)}c=$k(da(J|0,4,0,0)|0|0,m,f)|0}else{c=26;K=48}}else{c=26;K=48}while(0);if((K|0)==48){K=0;if(l)Ag(da(l+68|0,4,0,0)|0|0);ea(w|0,0|0,4,0)}if(!c){c=0;continue b}else{K=77;break c}}else e=da(n|0,4,0,0)|0|0;while(0);c=((((e<<6)+-768|0)>>>0)/255|0)+65513|0;d=c&65535;ea(r|0,d|0,2,0);f=((((e<<5)+-384|0)>>>0)/255|0)+65513&65535;ea(s|0,f|0,2,0);ea(t|0,e+65501|0,2,0);ea(u|0,f|0,2,0);ea(v>>0|0,((d&65535)>127?127:c&255)|0,1,0);ea(w|0,l|0,4,0);ea(C|0,k|0,4,0);c=0;continue b}else e=0}else e=0}else{f:do if((c|0)==0&H){if((da(I|0,2,0,0)|0)&1){c=8;K=77;break c}k=da(J|0,4,0,0)|0|0;c=da(k+40|0,4,0,0)|0|0;g:do if(!c){ea(k+21>>0|0,(da((da(a|0,4,0,0)|0|0)+64>>0|0,1,0,0)|0|0)==2&1|0,1,0);l=k+16|0;if((da(l>>0|0,1,0,0)|0|0)==1){f=k+208|0;e=da(f|0,4,0,0)|0|0;do if(!e){c=el(k,2)|0;h:do if((c|0)==0&y){e=k+176|0;d=k+180|0;while(1){c=el(k,4)|0;if((c|0)!=5)break h;if(!(kc[(fa(da(e|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)){c=5;break g}}}while(0);if(c)break g}else{do if(da(k+4>>0|0,1,0,0)|0){if(da(e+43>>0|0,1,0,0)|0)break;c=el(k,4)|0;if(c)break g;e=da(f|0,4,0,0)|0|0;d=e+43|0;if(!(da(d>>0|0,1,0,0)|0)){c=da(e+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,(da(e+40|0,2,0,0)|0|0)+3|0,1,5)|0;e=da(f|0,4,0,0)|0|0}ea(d>>0|0,1|0,1,0)}while(0);if(da(e+46>>0|0,1,0,0)|0){c=8;break g}d=e+43|0;if((da(d>>0|0,1,0,0)|0|0)==0?(z=da(e+4|0,4,0,0)|0|0,z=oc[(fa(da((da(z|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](z,0,1,10)|0,(z|0)!=0):0){c=z;break g}c=e+44|0;ea(c>>0|0,1|0,1,0);if(!(Yv(e+52|0,da(da(e+32|0,4,0,0)|0|0,4,0,0)|0|0,48)|0))break;if(!(da(d>>0|0,1,0,0)|0)){d=da(e+4|0,4,0,0)|0|0;oc[(fa(da((da(d|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](d,0,1,9)|0}ea(c>>0|0,0|0,1,0);c=517;break g}while(0);ea(l>>0|0,2|0,1,0);c=da(k+24|0,4,0,0)|0|0;ea(k+36|0,c|0,4,0);ea(k+32|0,c|0,4,0);ea(k+28|0,c|0,4,0);c=k+72|0;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0)}c=Bg(J)|0;break f}while(0);e=(c|0)==0;break c}while(0);if(!c){c=0;break b}else e=0}while(0);if((K|0)==77){K=0;e=(c|0)==0}if((da(x>>0|0,1,0,0)|0|0)==0?(B=da(w|0,4,0,0)|0|0,(B|0)!=0):0){ea(w|0,0|0,4,0);Ag(da(B+68|0,4,0,0)|0|0)}if((c&255|0)!=5){K=86;break}if(da(x>>0|0,1,0,0)|0){K=86;break}if(!(fl(J)|0)){K=86;break}}if((K|0)==86)if(!e){K=96;break}if((da(G>>0|0,1,0,0)|0|0)==0?(z=J+40|0,ea(z|0,(da(z|0,4,0,0)|0|0)+1|0,4,0),(da(a+9>>0|0,1,0,0)|0|0)!=0):0){ea(a+40>>0|0,1|0,1,0);z=J+72|0;ea(a+44|0,da(z|0,4,0,0)|0|0,4,0);ea(z|0,a+32|0,4,0)}e=H?2:1;ea(G>>0|0,e|0,1,0);if((e&255)>(da(x>>0|0,1,0,1)|0|0))ea(x>>0|0,e|0,1,0);if(H){e=da(w|0,4,0,0)|0|0;ea(J+76|0,a|0,4,0);d=da(I|0,2,0,1)|0|0;ea(I|0,(y?d|32:d&65503)|0,2,0);d=e+56|0;z=da(d|0,4,0,0)|0|0;if((da(C|0,4,0,0)|0|0)!=((da(z+29>>0|0,1,0,1)|0)<<16|(da(z+28>>0|0,1,0,1)|0)<<24|(da(z+30>>0|0,1,0,1)|0)<<8|(da(z+31>>0|0,1,0,1)|0)|0)){c=Fg(da(e+68|0,4,0,0)|0|0)|0;if(!c){K=da(d|0,4,0,0)|0|0;c=da(C|0,4,0,0)|0|0;ea(K+28>>0|0,c>>>24|0,1,0);ea(K+29>>0|0,c>>>16|0,1,0);ea(K+30>>0|0,c>>>8|0,1,0);ea(K+31>>0|0,c|0,1,0);c=0;K=96}}else K=96}}}else c=8}else{c=0;K=96}while(0);if((K|0)==96)if((c|0)==0&(b|0)!=0)c=gl(da(J|0,4,0,0)|0|0,da((da(a|0,4,0,0)|0|0)+496|0,4,0,0)|0|0)|0;i=L;return c|0}function yg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();n=r;p=r+8|0;ea(p|0,0|0,4,0);m=d&1;a:do if(!b){ea(n|0,46865|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);e=11}else{ea(a+23>>0|0,1|0,1,0);d=da(a+40|0,4,0,0)|0|0;do if(!d){l=a+204|0;d=da(l|0,4,0,0)|0|0;d=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da(d+40|0,4,0,0)|0|0,b,(da(d+29>>0|0,1,0,1)|0)&3)|0;if(!d){g=da(l|0,4,0,0)|0|0;if((da(g+29>>0|0,1,0,0)|0|0)!=2){f=g+8|0;d=da(f|0,4,0,0)|0|0;b:do if(!d)q=11;else{while(1){if((da(d+26|0,2,0,0)|0|0)==0?((da(d+24|0,2,0,0)|0)&4)==0:0)break;d=da(d+36|0,4,0,0)|0|0;if(!d){q=11;break b}}ea(f|0,d|0,4,0);k=d;q=14}while(0);c:do if((q|0)==11?(ea(f|0,0|0,4,0),h=da(g+4|0,4,0,0)|0|0,(h|0)!=0):0){d=h;do{if(!(da(d+26|0,2,0,0)|0)){k=d;q=14;break c}d=da(d+36|0,4,0,0)|0|0}while((d|0)!=0)}while(0);if((q|0)==14?(e=qc[(fa(da(g+32|0,4,0,0)|0|0,127|0)|0)&127](da(g+36|0,4,0,0)|0|0,k)|0,!((e|0)==0|(e|0)==5)):0)break;e=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da(g+40|0,4,0,0)|0|0,b,2)|0;if(!e){e=7;break}}else e=0}else e=d;g=hl(da(l|0,4,0,0)|0|0,b,e)|0;ea(c|0,g|0,4,0);if(!g)e=7;else{d=g+16|0;e=(m|0)!=0;if(!((da(d|0,4,0,0)|0|0)==0|e)){e=a+184|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);e=0;break a}ea(d|0,a|0,4,0);do if((b|0)>=0?(o=a+152|0,(((da(2514*4|0,4,0,0)|0|0)/(da(o|0,4,0,0)|0|0)|0)+1|0)!=(b|0)):0){if(((da(a+15>>0|0,1,0,0)|0|0)==0?!((da(a+24|0,4,0,0)|0|0)>>>0<b>>>0|e):0)?(da(da(a+60|0,4,0,0)|0|0,4,0,0)|0|0)!=0:0){e=da(a+208|0,4,0,0)|0|0;if(!e)e=0;else{e=jl(e,b,p)|0;if(e)break;e=da(p|0,4,0,0)|0|0}o=a+188|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);e=kl(g,e)|0;if(!e){e=0;break a}else break}if((da(a+156|0,4,0,0)|0|0)>>>0<b>>>0)e=13;else{if(e){e=da(3164*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]();if((da(a+28|0,4,0,0)|0|0)>>>0>=b>>>0)ai(da(a+56|0,4,0,0)|0|0,b)|0;il(a,b)|0;e=da(3166*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]()}ew(da(g+4|0,4,0,0)|0|0,0,da(o|0,4,0,0)|0|0)|0;e=0;break a}}else q=21;while(0);if((q|0)==21){ea(n|0,46945|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);e=11}ll(g)}}else e=d;while(0);if((da(a+120|0,4,0,0)|0|0)==0?(da((da(a+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)==0:0)ml(a);ea(c|0,0|0,4,0)}while(0);i=r;return e|0}function zg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();t=u;r=a+4|0;n=da((da(r|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(n|0,4,0,0)|0|0;q=a+24|0;m=da((da((da(q|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;n=da(n+32|0,4,0,0)|0|0;o=(m|0)<(n|0)?m:n;p=((m|0)<0)<<31>>31;k=rw(m|0,p|0,b|0,0)|0;l=C;if((m|0)==(n|0))a=0;else a=(da(s+15>>0|0,1,0,0)|0|0)==0?0:8;a:do if((a|0)==0&(m|0)>0){b=cw(k|0,l|0,m|0,p|0)|0;h=((n|0)<0)<<31>>31;g=(d|0)==0;f=C;a=n;while(1){ea(t|0,0|0,4,0);d=pw(b|0,f|0,n|0,h|0)|0;if((d|0)!=(((da(2514*4|0,4,0,0)|0|0)>>>0)/(a>>>0)|0|0)){a=yg(s,d+1|0,t,0)|0;e=da(t|0,4,0,0)|0|0;if(!a){a=Fg(e)|0;if(!a){v=qw(b|0,f|0,m|0,p|0)|0;d=da(e+4|0,4,0,0)|0|0;a=qw(b|0,f|0,n|0,h|0)|0;jw(d+a|0,c+v|0,o|0)|0;ea((da(e+8|0,4,0,0)|0)>>0|0,0|0,1,0);if((b|0)==0&(f|0)==0&g){v=da((da((da(q|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;ea(d+(a+28)>>0|0,v>>>24|0,1,0);ea(d+(a+29)>>0|0,v>>>16|0,1,0);ea(d+(a+30)>>0|0,v>>>8|0,1,0);ea(d+(a+31)>>0|0,v|0,1,0);a=0}else a=0}}if(e)Ag(e)}else a=0;b=iw(b|0,f|0,n|0,h|0)|0;d=C;if(!((a|0)==0&((d|0)<(l|0)|(d|0)==(l|0)&b>>>0<k>>>0)))break a;f=d;a=da((da((da(r|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0}}while(0);i=u;return a|0}function Ag(a){a=a|0;var b=0,c=0,d=0;b=da(a+16|0,4,0,0)|0|0;if(!((da(a+24|0,2,0,0)|0)&64)){nl(a);a=da(b+120|0,4,0,0)|0|0}else{d=b+120|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);d=b+136|0;ea(a+12|0,da(d|0,4,0,0)|0|0,4,0);ea(d|0,a|0,4,0);a=c}if((a|0)==0?(da((da(b+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)==0:0)ml(b);return}function Bg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=a+44|0;if(!(da(e|0,4,0,0)|0)){f=da(a+12|0,4,0,0)|0|0;g=da(f+56|0,4,0,0)|0|0;b=Fg(da(f+68|0,4,0,0)|0|0)|0;if(!b){b=g+0|0;c=44680|0;d=b+16|0;do{ea(b>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;c=c+1|0}while((b|0)<(d|0));b=a+32|0;ea(g+16>>0|0,(da(b|0,4,0,0)|0|0)>>>8|0,1,0);ea(g+17>>0|0,(da(b|0,4,0,0)|0|0)>>>16|0,1,0);ea(g+18>>0|0,1|0,1,0);ea(g+19>>0|0,1|0,1,0);ea(g+20>>0|0,(da(b|0,4,0,0)|0|0)-(da(a+36|0,4,0,0)|0|0)|0,1,0);ea(g+21>>0|0,64|0,1,0);ea(g+22>>0|0,32|0,1,0);ea(g+23>>0|0,32|0,1,0);b=g+24|0;d=b+76|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(d|0));ol(f,13);b=a+22|0;ea(b|0,da(b|0,2,0,1)|0|0|2|0,2,0);b=da(a+17>>0|0,1,0,0)|0|0;ea(g+52>>0|0,0|0,1,0);ea(g+53>>0|0,0|0,1,0);ea(g+54>>0|0,0|0,1,0);ea(g+55>>0|0,b|0,1,0);b=da(a+18>>0|0,1,0,0)|0|0;ea(g+64>>0|0,0|0,1,0);ea(g+65>>0|0,0|0,1,0);ea(g+66>>0|0,0|0,1,0);ea(g+67>>0|0,b|0,1,0);ea(e|0,1|0,4,0);ea(g+31>>0|0,1|0,1,0);b=0}}else b=0;return b|0}function Cg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=da(a+4|0,4,0,0)|0|0;ea(e+4|0,da(a|0,4,0,0)|0|0,4,0);a=da(e+12|0,4,0,0)|0|0;d=da(a+56|0,4,0,0)|0|0;a=Fg(da(a+68|0,4,0,0)|0|0)|0;if((a|0)==0?(g=b<<2,ea(d+(g+36)>>0|0,c>>>24|0,1,0),ea(d+(g+37)>>0|0,c>>>16|0,1,0),ea(d+(g+38)>>0|0,c>>>8|0,1,0),f=c&255,ea(d+(g+39)>>0|0,f|0,1,0),(b|0)==7):0)ea(e+18>>0|0,f|0,1,0);return a|0}function Dg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=a+20|0;b=da(g|0,4,0,0)|0|0;c=(b|0)>0;if(c){d=da(a+16|0,4,0,0)|0|0;f=0;do{e=da(d+(f<<4)+4|0,4,0,0)|0|0;if(e)ea((da(e+4|0,4,0,0)|0|0)+4|0,da(e|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(b|0));if(c){f=a+16|0;e=0;do{c=da((da(f|0,4,0,0)|0|0)+(e<<4)+12|0,4,0,0)|0|0;if(c){pl(c);b=da(g|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(b|0))}}b=a+24|0;ea(b|0,(da(b|0,4,0,0)|0)&-3|0,4,0);ql(a);rl(a);return}function Eg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=da(a+4|0,4,0,0)|0|0;h=d+22|0;c=da(h|0,2,0,1)|0|0;ea(h|0,((b|0)==1?c|16:c&65519)|0,2,0);c=xg(a,0)|0;do if(!c){e=d+12|0;f=da((da(e|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;g=f+18|0;d=da(g>>0|0,1,0,0)|0|0;b=b&255;if(d<<24>>24==b<<24>>24?(da(f+19>>0|0,1,0,0)|0|0)==d<<24>>24:0){c=0;break}c=xg(a,2)|0;if(!c){c=Fg(da((da(e|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;if(!c){ea(g>>0|0,b|0,1,0);ea(f+19>>0|0,b|0,1,0);c=0}}}while(0);ea(h|0,(da(h|0,2,0,1)|0)&65519|0,2,0);return c|0}function Fg(a){a=a|0;var b=0;b=da(a+16|0,4,0,0)|0|0;if((da(b+148|0,4,0,0)|0|0)>>>0>(da(b+152|0,4,0,0)|0|0)>>>0)a=sl(a)|0;else a=tl(a)|0;return a|0}function Gg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();p=v+16|0;q=v;f=v+12|0;h=v+8|0;d=da(a+40|0,4,0,0)|0|0;a:do if(!d){u=a+16|0;if((da(u>>0|0,1,0,1)|0|0)>=3){b:do if(!(da(a+15>>0|0,1,0,0)|0)){if(da(a+208|0,4,0,0)|0){g=a+204|0;e=ul(da(g|0,4,0,0)|0|0)|0;ea(h|0,0|0,4,0);if(!e){d=yg(a,1,h,0)|0;e=da(h|0,4,0,0)|0|0;ea(e+12|0,0|0,4,0);if(e){f=e;t=9}}else{f=0;t=9}if((t|0)==9){d=vl(a,e,da(a+24|0,4,0,0)|0|0,1)|0;if(f)Ag(f)}if(d)break a;e=da(g|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if(!d)break;while(1){wl(d);d=da(e|0,4,0,0)|0|0;if(!d)break b}}g=a+18|0;if((da(g>>0|0,1,0,0)|0|0)==0?(da(a+24|0,4,0,0)|0|0)!=0:0){d=yg(a,1,f,0)|0;f=da(f|0,4,0,0)|0|0;if(!d){d=Fg(f)|0;if(!d){xl(f);ea(g>>0|0,1|0,1,0);d=0}}if(f)Ag(f);if(d)break a}if(((b|0)!=0?(da(a+5>>0|0,1,0,0)|0|0)!=4:0)?(s=a+64|0,o=da(s|0,4,0,0)|0|0,(da(o|0,4,0,0)|0|0)!=0):0){ea(a+19>>0|0,1|0,1,0);f=da(b>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){g=0;e=0}else{g=0;e=0;do{g=(f<<24>>24)+g|0;e=e+1|0;f=da(b+e>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}n=a+72|0;d=n;f=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if(!(da(a+8>>0|0,1,0,0)|0))h=d;else{if((f|0)==0&(d|0)==0){f=0;d=0}else{d=iw(f|0,d|0,-1,-1)|0;f=da(a+148|0,4,0,0)|0|0;d=pw(d|0,C|0,f|0,0)|0;d=iw(d|0,C|0,1,0)|0;f=rw(d|0,C|0,f|0,0)|0;d=C}h=n;ea(h|0,f|0,4,0);ea(h+4|0,d|0,4,0);h=d}d=((da(2514*4|0,4,0,0)|0|0)/(da(a+152|0,4,0,0)|0|0)|0)+1|0;ea(p>>0|0,d>>>24|0,1,0);k=p+1|0;ea(k>>0|0,d>>>16|0,1,0);l=p+2|0;ea(l>>0|0,d>>>8|0,1,0);m=p+3|0;ea(m>>0|0,d|0,1,0);d=sc[(fa(da((da(o|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](o,p,4,f,h)|0;if(d)break a;d=da(s|0,4,0,0)|0|0;h=iw(f|0,h|0,4,0)|0;f=C;d=sc[(fa(da((da(d|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](d,b,e,h,f)|0;if(d)break a;d=da(s|0,4,0,0)|0|0;h=iw(h|0,f|0,e|0,((e|0)<0)<<31>>31|0)|0;f=C;ea(p>>0|0,e>>>24|0,1,0);ea(k>>0|0,e>>>16|0,1,0);ea(l>>0|0,e>>>8|0,1,0);ea(m>>0|0,e|0,1,0);d=sc[(fa(da((da(d|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](d,p,4,h,f)|0;if(d)break a;o=da(s|0,4,0,0)|0|0;d=iw(h|0,f|0,4,0)|0;ea(p>>0|0,g>>>24|0,1,0);ea(k>>0|0,g>>>16|0,1,0);ea(l>>0|0,g>>>8|0,1,0);ea(m>>0|0,g|0,1,0);d=sc[(fa(da((da(o|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](o,p,4,d,C)|0;if(d)break a;o=da(s|0,4,0,0)|0|0;d=iw(h|0,f|0,8,0)|0;d=sc[(fa(da((da(o|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](o,14808,8,d,C)|0;if(d)break a;o=e+20|0;d=n;o=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,o|0,((o|0)<0)<<31>>31|0)|0;d=n;ea(d|0,o|0,4,0);ea(d+4|0,C|0,4,0);d=da(s|0,4,0,0)|0|0;d=qc[(fa(da((da(d|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](d,q)|0;if(d)break a;d=q;o=da(d+4|0,4,0,0)|0|0;e=n;f=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if((o|0)>(e|0)|((o|0)==(e|0)?(da(d|0,4,0,0)|0|0)>>>0>f>>>0:0)?(r=da(s|0,4,0,0)|0|0,r=$b[(fa(da((da(r|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](r,f,e)|0,(r|0)!=0):0){d=r;break a}}d=yl(a,0)|0;if(d)break a;e=a+204|0;d=zl(a,ul(da(e|0,4,0,0)|0|0)|0)|0;if(d)break a;d=da(e|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;if(e)do{wl(e);e=da(d|0,4,0,0)|0|0}while((e|0)!=0);e=da(a+24|0,4,0,0)|0|0;if(e>>>0>(da(a+32|0,4,0,0)|0|0)>>>0){d=Al(a,e-((e|0)==(((da(2514*4|0,4,0,0)|0|0)/(da(a+152|0,4,0,0)|0|0)|0)+1|0)&1)|0)|0;if(!(d|c))t=46}else if(!c)t=46;else break;if((t|0)==46)d=Hg(a,b)|0;if(d)break a}else{d=da(a+88|0,4,0,0)|0|0;if(d)do{ea(d+16|0,1|0,4,0);d=da(d+44|0,4,0,0)|0|0}while((d|0)!=0)}while(0);if(!(da(a+208|0,4,0,0)|0)){ea(u>>0|0,5|0,1,0);d=0}else d=0}else d=0}while(0);i=v;return d|0}function Hg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=a+60|0;e=da(d|0,4,0,0)|0|0;f=da(e|0,4,0,0)|0|0;if(!((f|0)!=0?(c=$b[(fa(da(f+40|0,4,0,0)|0|0,63|0)|0)&63](e,21,b)|0,!((c|0)==0|(c|0)==12)):0))if(!(da(a+7>>0|0,1,0,0)|0)){c=da(d|0,4,0,0)|0|0;c=qc[(fa(da((da(c|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](c,da(a+11>>0|0,1,0,1)|0|0)|0}else c=0;return c|0}function Ig(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=da(a+8>>0|0,1,0,0)|0|0;do if(!(d<<24>>24))c=0;else{h=da(a+4|0,4,0,0)|0|0;ea(h+4|0,da(a|0,4,0,0)|0|0,4,0);if(d<<24>>24==2){e=da(h|0,4,0,0)|0|0;f=e+40|0;d=da(f|0,4,0,0)|0|0;do if(!d){d=e+16|0;if(((da(d>>0|0,1,0,0)|0|0)==2?(da(e+4>>0|0,1,0,0)|0|0)!=0:0)?(da(e+5>>0|0,1,0,0)|0|0)==1:0){ea(d>>0|0,1|0,1,0);break}c=e+100|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=Bl(e,da(e+19>>0|0,1,0,1)|0|0,1)|0;e=c&255;if((e|0)==10|(e|0)==13){ea(f|0,c|0,4,0);ea(d>>0|0,6|0,1,0);g=10}else g=10}else{c=d;g=10}while(0);if((g|0)==10?(c|0)!=0&(b|0)==0:0)break;c=a+20|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);ea(h+20>>0|0,1|0,1,0);c=h+60|0;di(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0)}Cl(a);c=0}while(0);return c|0}function Jg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();e=n;a:do if((da(a+8>>0|0,1,0,0)|0|0)==2){m=da(a+4|0,4,0,0)|0|0;ea(m+4|0,da(a|0,4,0,0)|0|0,4,0);do if(da(m+17>>0|0,1,0,0)|0){l=da(m|0,4,0,0)|0|0;c=m+8|0;a=da(c|0,4,0,0)|0|0;if(a)do{k=a+72|0;ea(k>>0|0,(da(k>>0|0,1,0,1)|0)&251|0,1,0);a=da(a+8|0,4,0,0)|0|0}while((a|0)!=0);if(!(da(m+18>>0|0,1,0,0)|0)){k=m+44|0;d=da(k|0,4,0,0)|0|0;if(d>>>0<2)a=0;else{a=d+-2|0;a=a-((a>>>0)%(((((da(m+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;a=((a+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(m+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+a|0}if((a|0)!=(d|0)?(d|0)!=((((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(m+32|0,4,0,0)|0|0)>>>0)|0)+1|0):0){f=m+12|0;g=da((da(f|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;g=(da(g+37>>0|0,1,0,1)|0)<<16|(da(g+36>>0|0,1,0,1)|0)<<24|(da(g+38>>0|0,1,0,1)|0)<<8|(da(g+39>>0|0,1,0,1)|0);h=Dl(m,d,g)|0;if(h>>>0>d>>>0){ea(e|0,56396|0,4,0);ea(e+4|0,10788|0,4,0);ad(11,13600,e);a=11;break a}b:do if(h>>>0<d>>>0){a=da(c|0,4,0,0)|0|0;c:do if(a){while(1){if(a)break;a=da(2*4|0,4,0,0)|0|0;if(!a)break c}a=El(a,0,0)|0;if(a){c=0;break b}}while(0);do{a=Fl(m,h,d,1)|0;d=d+-1|0;c=(a|0)==0}while(d>>>0>h>>>0&c)}else{c=1;a=0}while(0);if(((a|0)==101|c)&(g|0)!=0){a=Fg(da((da(f|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;g=(da((da(f|0,4,0,0)|0|0)+56|0,4,0,0)|0|0)+32|0;ea(g>>0|0,0|0,1,0);ea(g+1>>0|0,0|0,1,0);ea(g+2>>0|0,0|0,1,0);ea(g+3>>0|0,0|0,1,0);g=(da((da(f|0,4,0,0)|0|0)+56|0,4,0,0)|0|0)+36|0;ea(g>>0|0,0|0,1,0);ea(g+1>>0|0,0|0,1,0);ea(g+2>>0|0,0|0,1,0);ea(g+3>>0|0,0|0,1,0);g=da((da(f|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(g+28>>0|0,h>>>24|0,1,0);ea(g+29>>0|0,h>>>16|0,1,0);ea(g+30>>0|0,h>>>8|0,1,0);ea(g+31>>0|0,h|0,1,0);ea(m+19>>0|0,1|0,1,0);ea(k|0,h|0,4,0)}if(!a)break;Gl(l)|0;break a}ea(e|0,56391|0,4,0);ea(e+4|0,10788|0,4,0);ad(11,13600,e);a=11;break a}}while(0);a=da(m|0,4,0,0)|0|0;if(da(m+19>>0|0,1,0,0)|0)ea(a+24|0,da(m+44|0,4,0,0)|0|0,4,0);a=Gg(a,b,0)|0}else a=0;while(0);i=n;return a|0}function Kg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h;g=da(a+4|0,4,0,0)|0|0;ea(g+4|0,da(a|0,4,0,0)|0|0,4,0);a:do if(!b){b=da(g+8|0,4,0,0)|0|0;if(b){while(1){if(b)break;b=da(2*4|0,4,0,0)|0|0;if(!b)break a}b=El(b,0,0)|0;d=(b|0)==0;if(!d){d=d?c:0;f=6}}}else{d=c;f=6}while(0);if((f|0)==6)Hl(a,b,d)|0;if((da(a+8>>0|0,1,0,0)|0|0)==2){Gl(da(g|0,4,0,0)|0|0)|0;if(!(cl(g,1,e,0)|0)){b=da(e|0,4,0,0)|0|0;d=da(b+56|0,4,0,0)|0|0;d=(da(d+29>>0|0,1,0,1)|0)<<16|(da(d+28>>0|0,1,0,1)|0)<<24|(da(d+30>>0|0,1,0,1)|0)<<8|(da(d+31>>0|0,1,0,1)|0);if(!d)d=da((da(g|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;ea(g+44|0,d|0,4,0);if(b)Ag(da(b+68|0,4,0,0)|0|0)}ea(g+20>>0|0,1|0,1,0);d=g+60|0;di(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0)}Cl(a);i=h;return}function Lg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=a+76|0;if((da(g|0,4,0,0)|0|0)==1691352191?(Il(a)|0)==0:0){Jl(a,0);Kl(a);f=a+20|0;h=a+16|0;b=da(h|0,4,0,0)|0|0;if((da(f|0,4,0,0)|0|0)>0){e=0;do{d=b+(e<<4)+4|0;c=da(d|0,4,0,0)|0|0;if((c|0)!=0?(Ll(c),ea(d|0,0|0,4,0),(e|0)!=1):0)ea(b+(e<<4)+12|0,0|0,4,0);e=e+1|0;b=da(h|0,4,0,0)|0|0}while((e|0)<(da(f|0,4,0,0)|0|0))}b=da(b+28|0,4,0,0)|0|0;if(b)pl(b);ql(a);rl(a);e=0;do{b=da(a+(e<<2)+336|0,4,0,0)|0|0;if(b)do{d=b;b=da(b+28|0,4,0,0)|0|0;if(d)do{Ml(a,d);c=d;d=da(d+8|0,4,0,0)|0|0;lg(a,c)}while((d|0)!=0)}while((b|0)!=0);e=e+1|0}while((e|0)!=23);c=a+428|0;b=da(a+436|0,4,0,0)|0|0;if(b)do{e=da(b+8|0,4,0,0)|0|0;d=da(e+16|0,4,0,0)|0|0;if(d)bc[(fa(d|0,31|0)|0)&31](da(e+8|0,4,0,0)|0|0);d=da(e+36|0,4,0,0)|0|0;if(d)bc[(fa(d|0,31|0)|0)&31](da(e+28|0,4,0,0)|0|0);d=da(e+56|0,4,0,0)|0|0;if(d)bc[(fa(d|0,31|0)|0)&31](da(e+48|0,4,0,0)|0|0);lg(a,e);b=da(b|0,4,0,0)|0|0}while((b|0)!=0);Nl(c);e=a+308|0;b=da(a+316|0,4,0,0)|0|0;if(b)do{d=da(b+8|0,4,0,0)|0|0;c=da(d+12|0,4,0,0)|0|0;if(c)bc[(fa(c|0,31|0)|0)&31](da(d+8|0,4,0,0)|0|0);lg(a,d);b=da(b|0,4,0,0)|0|0}while((b|0)!=0);Nl(e);ea(a+52|0,0|0,4,0);c=a+236|0;b=da(c|0,4,0,0)|0|0;do if(b){d=b+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);break}else{ug(b);b=da(c|0,4,0,0)|0|0;break}}else b=0;while(0);Lh(b);d=a+168|0;if((da(d|0,4,0,0)|0|0)>0){b=a+172|0;c=0;do{e=da(a|0,4,0,0)|0|0;ic[(fa(da(e+52|0,4,0,0)|0|0,15|0)|0)&15](e,da((da(b|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(d|0,4,0,0)|0|0))}else b=a+172|0;lg(a,da(b|0,4,0,0)|0|0);ea(g|0,-1254786768|0,4,0);lg(a,da((da(h|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);ea(g|0,-1623446221|0,4,0);if(da(a+251>>0|0,1,0,0)|0)Vc(da(a+276|0,4,0,0)|0|0);Vc(a)}return}function Mg(a){a=a|0;var b=0;b=da(a+40|0,4,0,0)|0|0;if((b|0)==1369188723|(b|0)==-1108210269)b=Og(a)|0;else b=0;Ol(a);return b|0}function Ng(a,b){a=a|0;b=b|0;do if(a)if((da(a+65>>0|0,1,0,0)|0|0)!=0|(b|0)==3082){Pl(a);a=7;break}else{a=(da(a+56|0,4,0,0)|0)&b;break}else a=b&255;while(0);return a|0}function Og(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();c=e;d=da(a|0,4,0,0)|0|0;Ql(a)|0;if((da(a+76|0,4,0,0)|0|0)>-1){gh(a)|0;b=a+44|0;lg(d,da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0);b=a+88|0;c=da(b|0,2,0,0)|0|0;if(c&16)ea(b|0,c|8|0,2,0)}else{b=da(a+80|0,4,0,0)|0|0;if((b|0)!=0?((da(a+88|0,2,0,0)|0)&8)!=0:0){f=a+44|0;g=da(f|0,4,0,0)|0|0;ea(c|0,g|0,4,0);tg(d,b,(g|0)!=0?10344:0,c);lg(d,da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0)}}b=a+44|0;lg(da(a|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0);ea(a+20|0,0|0,4,0);b=a+136|0;ea(b|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(a+40|0,649915045|0,4,0);i=e;return (da(d+56|0,4,0,0)|0)&(da(a+80|0,4,0,0)|0)|0}function Pg(a){a=a|0;var b=0;if((da(a+8|0,2,0,0)|0)&9312)ug(a);b=a+24|0;if(da(b|0,4,0,0)|0){lg(da(a+32|0,4,0,0)|0|0,da(a+20|0,4,0,0)|0|0);ea(b|0,0|0,4,0)}ea(a+16|0,0|0,4,0);return}function Qg(a){a=a|0;var b=0,c=0,d=0;b=a+8|0;if((da(b|0,2,0,0)|0)&16384){c=a+12|0;d=(da(a|0,4,0,0)|0|0)+(da(c|0,4,0,0)|0|0)|0;if(!(dh(a,(d|0)<1?1:d,1)|0)){ew((da(a+16|0,4,0,0)|0|0)+(da(c|0,4,0,0)|0|0)|0,0,da(a|0,4,0,0)|0|0)|0;ea(c|0,(da(c|0,4,0,0)|0|0)+(da(a|0,4,0,0)|0|0)|0,4,0);ea(b|0,(da(b|0,2,0,1)|0|0)&48639|0,2,0);b=0}else b=7}else b=0;return b|0}function Rg(a,b){a=a|0;b=b|0;var c=0;do if(a){c=da(a+8|0,2,0,0)|0|0;if((c&514)==514?(da(a+10>>0|0,1,0,0)|0|0)==b<<24>>24:0){c=da(a+16|0,4,0,0)|0|0;break}if(!(c&1))c=Rl(a,b)|0;else c=0}else c=0;while(0);return c|0}function Sg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;d=da(c|0,2,0,0)|0|0;if(!(d&16))if(!(Rg(a,b)|0))c=0;else{d=da(c|0,2,0,0)|0|0;e=4}else e=4;if((e|0)==4){c=da(a+12|0,4,0,0)|0|0;if(d&16384)c=(da(a|0,4,0,0)|0|0)+c|0}return c|0}function Tg(a){a=a|0;var b=0.0,c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=da(a+8|0,2,0,1)|0|0;do if(!(c&8)){if(c&4){c=a;b=+((da(c|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(c+4|0,4,0,0)|0|0);break}if(!(c&18))b=0.0;else{ea(d|0,+(0.0),8,1);Sl(da(a+16|0,4,0,0)|0|0,d,da(a+12|0,4,0,0)|0|0,da(a+10>>0|0,1,0,0)|0|0)|0;b=+(+da(d|0,8,1,0))}}else b=+(+da(a|0,8,1,0));while(0);i=e;return +b}function Ug(a){a=a|0;var b=0.0,c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=da(a+8|0,2,0,1)|0|0;do if(!(c&4)){if(!(c&8)){if(!(c&18)){a=0;c=0;break}c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);Tl(da(a+16|0,4,0,0)|0|0,d,da(a+12|0,4,0,0)|0|0,da(a+10>>0|0,1,0,0)|0|0)|0;c=d;a=da(c+4|0,4,0,0)|0|0;c=da(c|0,4,0,0)|0|0;break}b=+(+da(a|0,8,1,0));if(!(b<=-9223372036854775808.0))if(!(b>=9223372036854775808.0)){a=+N(b)>=1.0?(b>0.0?~~+$(+M(b/4294967296.0),4294967295.0)>>>0:~~+Z((b-+(~~b>>>0))/4294967296.0)>>>0):0;c=~~b>>>0}else{a=2147483647;c=-1}else{a=-2147483648;c=0}}else{c=a;a=da(c+4|0,4,0,0)|0|0;c=da(c|0,4,0,0)|0|0}while(0);C=a;i=e;return c|0}function Vg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((Wg(da(a|0,4,0,0)|0|0,b,c,d,e)|0)==18){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}return}function Wg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:do if(!b){f=a+8|0;if(!((da(f|0,2,0,0)|0)&9312)){ea(f|0,1|0,2,0);f=0;break}else{ug(a);f=0;break}}else{k=a+32|0;f=da(k|0,4,0,0)|0|0;if(!f)n=1e9;else n=da(f+88|0,4,0,0)|0|0;m=d<<24>>24==0;j=m?16:2;if((c|0)<0){b:do if(d<<24>>24!=1)if((n|0)<0)g=0;else{c=0;while(1){g=c+2|0;if(!((da(b+(c|1)>>0|0,1,0,0)|0|(da(b+c>>0|0,1,0,0)|0))<<24>>24)){g=c;break b}if((g|0)>(n|0))break;else c=g}}else{g=b;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-b&1073741823;g=(g|0)>(n|0)?n+1|0:g}while(0);l=g;i=(j&65535|512)&65535}else{l=c;i=j}do if((e|0)==(-1|0)){if(!(i&512))f=l;else f=l+(d<<24>>24==1?1:2)|0;if((l|0)>(n|0)){f=18;break a}if(eh(a,(f|0)>32?f:32)|0){f=7;break a}jw(da(a+16|0,4,0,0)|0|0,b|0,f|0)|0;j=a+8|0;f=i}else{c=(e|0)==75;h=a+8|0;if(!(((da(h|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);ea(a+16|0,b|0,4,0);if(!c){ea(a+36|0,e|0,4,0);j=h;f=(i&65535|((e|0)==0?2048:1024))&65535;break}ea(a+20|0,b|0,4,0);f=da(k|0,4,0,0)|0|0;do if(!f)f=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;else{if((da(f+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(f+280|0,4,0,0)|0|0)>>>0>b>>>0:0){f=da(f+248|0,2,0,1)|0|0;break}f=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0}while(0);ea(a+24|0,f|0,4,0);j=h;f=i}while(0);i=a+12|0;ea(i|0,l|0,4,0);ea(j|0,f|0,2,0);b=m?1:d;h=a+10|0;ea(h>>0|0,b|0,1,0);do if(b<<24>>24!=1&(l|0)>1){c=a+16|0;g=da(c|0,4,0,0)|0|0;f=da(g>>0|0,1,0,0)|0|0;g=da(g+1>>0|0,1,0,0)|0|0;if(!(f<<24>>24==-1&g<<24>>24==-2))if(g<<24>>24!=-1|f<<24>>24!=-2)break;else f=3;else f=2;if(Ul(a)|0){f=7;break a}b=(da(i|0,4,0,0)|0|0)+-2|0;ea(i|0,b|0,4,0);e=da(c|0,4,0,0)|0|0;kw(e|0,e+2|0,b|0)|0;ea((da(c|0,4,0,0)|0|0)+(da(i|0,4,0,0)|0|0)>>0|0,0|0,1,0);ea((da(c|0,4,0,0)|0|0)+((da(i|0,4,0,0)|0|0)+1)>>0|0,0|0,1,0);ea(j|0,da(j|0,2,0,1)|0|512|0,2,0);ea(h>>0|0,f|0,1,0)}while(0);f=(l|0)>(n|0)?18:0}while(0);return f|0}function Xg(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f+8|0;e=f;c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(a);ea(d|0,+b,8,1);ea(e|0,+(+(+da(d|0,8,1,0))),8,1);if(!(+(+da(d|0,8,1,0))!=+(+da(e|0,8,1,0)))){ea(a|0,+b,8,1);ea(c|0,8|0,2,0)}i=f;return}function Yg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312))ea(d|0,1|0,2,0);else ug(a);ea(a|0,b|0,4,0);ea(a+4|0,c|0,4,0);ea(d|0,4|0,2,0);return}function Zg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;if((da(c|0,2,0,0)|0)&9312)ug(a);ea(a+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(a+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(a+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(a+12|0,da(b+12|0,4,0,0)|0|0,4,0);ea(a+16|0,da(b+16|0,4,0,0)|0|0,4,0);e=da(c|0,2,0,1)|0|0;d=e&64511;ea(c|0,d|0,2,0);if((e&18|0)!=0?((da(b+8|0,2,0,0)|0)&2048)==0:0){ea(c|0,d|4096|0,2,0);c=Ul(a)|0}else c=0;return c|0}function _g(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);ea(c|0,16400|0,2,0);ea(a+12|0,0|0,4,0);ea(a|0,((b|0)<0?0:b)|0,4,0);ea(a+10>>0|0,1|0,1,0);ea(a+16|0,0|0,4,0);return}function $g(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;if(a)if(!(da(a|0,4,0,0)|0)){ad(21,47360,b);a=1}else a=0;else{ad(21,47320,b);a=1}i=c;return a|0}function ah(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if((da(a|0,4,0,0)|0|0)>1?(c=da(a+72|0,4,0,0)|0|0,(c|0)!=0):0)c=qc[(fa(c|0,127|0)|0)&127](a,b)|0;else{c=qc[(fa(da(a+64|0,4,0,0)|0|0,127|0)|0)&127](a,d)|0;f=+(+da(d|0,8,1,0))*864.0e5;a=+N(f)>=1.0?(f>0.0?~~+$(+M(f/4294967296.0),4294967295.0)>>>0:~~+Z((f-+(~~f>>>0))/4294967296.0)>>>0):0;ea(b|0,~~f>>>0|0,4,0);ea(b+4|0,a|0,4,0)}i=e;return c|0}function bh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((a|0)!=0&(b|0)!=0){f=a+(b*40|0)|0;g=da(a+32|0,4,0,0)|0|0;d=g+65|0;e=da(d>>0|0,1,0,0)|0|0;if(da(g+520|0,4,0,0)|0){b=a;while(1){if(da(b+24|0,4,0,0)|0)lg(g,da(b+20|0,4,0,0)|0|0);b=b+40|0;if(b>>>0>=f>>>0)break a}}do{b=a+8|0;if(!((da(b|0,2,0,0)|0)&9312)){c=a+24|0;if(da(c|0,4,0,0)|0){lg(g,da(a+20|0,4,0,0)|0|0);ea(c|0,0|0,4,0)}}else Pg(a);ea(b|0,128|0,2,0);a=a+40|0}while(a>>>0<f>>>0);ea(d>>0|0,e|0,1,0)}while(0);return}function ch(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;ea(f|0,d|0,4,0);d=Vk(b,c,f)|0;lg(b,da(a|0,4,0,0)|0|0);ea(a|0,d|0,4,0);i=e;return}function dh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+24|0;d=da(i|0,4,0,0)|0|0;do if((d|0)<(b|0)){h=(b|0)<32?32:b;b=(d|0)>0;if((c|0)!=0&b?(e=a+16|0,f=da(e|0,4,0,0)|0|0,g=a+20|0,(f|0)==(da(g|0,4,0,0)|0|0)):0){d=Vl(da(a+32|0,4,0,0)|0|0,f,h,((h|0)<0)<<31>>31)|0;ea(g|0,d|0,4,0);ea(e|0,d|0,4,0);c=0}else{d=a+32|0;if(b){b=a+20|0;lg(da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0)}else b=a+20|0;d=lh(da(d|0,4,0,0)|0|0,h,((h|0)<0)<<31>>31)|0;ea(b|0,d|0,4,0)}if(!d){c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(a);ea(a+16|0,0|0,4,0);ea(i|0,0|0,4,0);c=7;break}b=da(a+32|0,4,0,0)|0|0;do if(!b)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0;else{if((da(b+276|0,4,0,0)|0|0)>>>0<=d>>>0?(da(b+280|0,4,0,0)|0|0)>>>0>d>>>0:0){b=da(b+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0}while(0);ea(i|0,b|0,4,0);l=21}else l=21;while(0);if((l|0)==21){if(((c|0)!=0?(j=da(a+16|0,4,0,0)|0|0,(j|0)!=0):0)?(k=da(a+20|0,4,0,0)|0|0,(j|0)!=(k|0)):0)jw(k|0,j|0,da(a+12|0,4,0,0)|0|0)|0;b=a+8|0;c=da(b|0,2,0,0)|0|0;if(!(c&1024))d=a+16|0;else{d=a+16|0;bc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](da(d|0,4,0,0)|0|0);c=da(b|0,2,0,0)|0|0}ea(d|0,da(a+20|0,4,0,0)|0|0,4,0);ea(b|0,c&58367|0,2,0);c=0}return c|0}function eh(a,b){a=a|0;b=b|0;if((da(a+24|0,4,0,0)|0|0)<(b|0))a=dh(a,b,0)|0;else{ea(a+16|0,da(a+20|0,4,0,0)|0|0,4,0);a=a+8|0;ea(a|0,(da(a|0,2,0,1)|0|0)&13|0,2,0);a=0}return a|0}
function lq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;_=i;i=i+192|0;if((i|0)>=(j|0))ba();V=_+48|0;T=_+24|0;S=_+160|0;z=_+156|0;J=_+152|0;D=_+148|0;M=_+144|0;G=_+140|0;y=_+16|0;Y=_;p=_+128|0;o=_+116|0;q=_+96|0;e=_+88|0;Z=a+8|0;W=da(Z|0,4,0,0)|0|0;X=da(a|0,4,0,0)|0|0;ea(Y+0|0,da(9286*4|0,4,0,0)|0|0,4,0);ea(Y+4|0,da(9287*4|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(9288*4|0,4,0,0)|0|0,4,0);a:do switch(b|0){case 35:{e=da(a+(X<<4)+20|0,4,0,0)|0|0;d=da(a+(X<<4)+16|0,4,0,0)|0|0;if((e|0)==5?(Ec(d,20456,5)|0)==0:0){ea(Y>>0|0,32|0,1,0);break a}ea(Y>>0|0,0|0,1,0);ea(V|0,e|0,4,0);ea(V+4|0,d|0,4,0);sh(W,20464,V);break}case 38:{V=da(a+(X+-2<<4)+16|0,4,0,0)|0|0;ea(Y|0,V|0,4,0);ea(Y+4|0,(da(W+504|0,4,0,0)|0|0)-V+(da(W+508|0,4,0,0)|0|0)|0,4,0);break}case 9:{e=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;d=da(W|0,4,0,0)|0|0;if((Rq(W,22,37104,0,0)|0)==0?(w=Nq(W)|0,(w|0)!=0):0){if((e|0)!=7?(x=d+20|0,(da(x|0,4,0,0)|0|0)>0):0){e=(e|0)==9?2:1;d=w+96|0;g=0;do{vh(w,4,g,e,0)|0;ea(d|0,da(d|0,4,0,0)|0|1<<g|0,4,0);g=g+1|0}while((g|0)<(da(x|0,4,0,0)|0|0))}vh(w,3,0,0,0)|0}break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{ea(Y|0,0|0,4,0);break}case 27:{ea((da(W|0,4,0,0)|0|0)+250>>0|0,0|0,1,0);U=a+(X<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{ea(Y|0,1|0,4,0);break}case 32:{Uq(W,a+(X+-2<<4)+16|0,a+(X+-1<<4)+16|0,da(a+(X<<4)+16>>0|0,1,0,0)|0|0,0);break}case 33:{V=a+(X<<4)+16|0;Uq(W,0,0,0,da(V|0,4,0,0)|0|0);Lk(da(W|0,4,0,0)|0|0,da(V|0,4,0,0)|0|0,1);break}case 34:{ea(Y>>0|0,0|0,1,0);break}case 62:{Zq(W,0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0);break}case 63:{_q(W,0,0,0,0,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0,0,0)|0;break}case 74:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+4|0,255|0,4,0);break}case 76:{ea(Y|0,7|0,4,0);break}case 75:{ea(Y|0,(da(a+(X<<4)+16|0,4,0,0)|0)<<8|0,4,0);ea(Y+4|0,65280|0,4,0);break}case 77:{ea(Y|0,8|0,4,0);break}case 78:{ea(Y|0,9|0,4,0);break}case 79:{ea(Y|0,6|0,4,0);break}case 80:{ea(Y|0,0|0,4,0);break}case 103:case 100:case 98:case 82:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 86:{ea(Y+4|0,0|0,4,0);ea(Y|0,0|0,4,0);break}case 6:{ea(W+450>>0|0,1|0,1,0);ea(W+440|0,0|0,4,0);break}case 8:{q=da(W|0,4,0,0)|0|0;t=q+65|0;if(((da(t>>0|0,1,0,0)|0|0)==0?(da(W+18>>0|0,1,0,0)|0|0)==0:0)?(Q=W+64|0,(da(Q|0,4,0,0)|0|0)==0):0){s=Nq(W)|0;if(s){do{}while((Oq(s,61)|0)!=0);vh(s,24,0,0,0)|0;do if(!(da(t>>0|0,1,0,0)|0)){h=W+332|0;n=da(h|0,4,0,0)|0|0;if((n|0)==0?(da(W+316|0,4,0,0)|0|0)==0:0)break;k=s+32|0;l=da(k|0,4,0,0)|0|0;if(l)ea((da(s+4|0,4,0,0)|0|0)+8|0,l|0,4,0);ea((da(s+24|0,4,0,0)|0|0)+88|0,l+-1|0,4,0);o=q+20|0;b:do if((da(o|0,4,0,0)|0|0)>0){c=s+96|0;d=W+328|0;e=q+16|0;f=q+145|0;g=s+4|0;m=0;while(1){p=1<<m;if(((p&n|0)!=0?(ea(c|0,da(c|0,4,0,0)|0|p|0,4,0),V=da((da((da(e|0,4,0,0)|0|0)+(m<<4)+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,wh(s,vh(s,4,m,((da(d|0,4,0,0)|0)&p|0)!=0&1,da(W+(m<<2)+336|0,4,0,0)|0|0)|0,V,-14),(da(f>>0|0,1,0,0)|0|0)==0):0)?(F=da(g|0,4,0,0)|0|0,(F|0)!=0):0)ea(F+(((da(k|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);m=m+1|0;if((m|0)>=(da(o|0,4,0,0)|0|0))break b;n=da(h|0,4,0,0)|0|0}}while(0);k=W+452|0;if((da(k|0,4,0,0)|0|0)>0){h=W+520|0;g=0;do{l=da((da((da(h|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;c:do if(!l)l=0;else while(1){if((da(l|0,4,0,0)|0|0)==(q|0))break c;l=da(l+24|0,4,0,0)|0|0;if(!l){l=0;break}}while(0);wh(s,vh(s,146,0,0,0)|0,l,-10);g=g+1|0}while((g|0)<(da(k|0,4,0,0)|0|0))}ea(k|0,0|0,4,0);k=Nq(W)|0;h=W+396|0;if((da(h|0,4,0,0)|0|0)>0){g=W+400|0;f=0;do{T=da(g|0,4,0,0)|0|0;V=da(T+(f<<4)+12|0,4,0,0)|0|0;wh(k,vh(k,145,da(T+(f<<4)|0,4,0,0)|0|0,da(T+(f<<4)+4|0,4,0,0)|0|0,da(T+(f<<4)+8>>0|0,1,0,1)|0|0)|0,V,-2);f=f+1|0}while((f|0)<(da(h|0,4,0,0)|0|0))}d=da(W+8|0,4,0,0)|0|0;l=da(W+404|0,4,0,0)|0|0;if(l){c=(da(W|0,4,0,0)|0|0)+16|0;m=d+32|0;n=d+4|0;do{h=da(l+8|0,4,0,0)|0|0;k=da(l+12|0,4,0,0)|0|0;Pq(W,0,h,da((da((da(c|0,4,0,0)|0|0)+(h<<4)+12|0,4,0,0)|0|0)+72|0,4,0,0)|0|0,54);h=k+1|0;vh(d,28,0,k,h)|0;g=da(m|0,4,0,0)|0|0;e=k+-1|0;f=da(da(l+4|0,4,0,0)|0|0,4,0,0)|0|0;wh(d,vh(d,97,0,e,0)|0,f,0);f=g+9|0;vh(d,108,0,f,0)|0;vh(d,47,0,0,k)|0;vh(d,78,e,g+7|0,k)|0;e=da(n|0,4,0,0)|0|0;if(e)ea(e+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);vh(d,103,0,h,0)|0;vh(d,47,0,1,k)|0;vh(d,16,0,f,0)|0;vh(d,9,0,g+2|0,0)|0;vh(d,25,0,k,0)|0;vh(d,61,0,0,0)|0;l=da(l|0,4,0,0)|0|0}while((l|0)!=0)}k=da(W+316|0,4,0,0)|0|0;if((k|0)!=0?(ea(W+23>>0|0,0|0,1,0),(da(k|0,4,0,0)|0|0)>0):0){h=k+4|0;g=0;do{V=da(h|0,4,0,0)|0|0;Qq(W,da(V+(g*20|0)|0,4,0,0)|0|0,da(V+(g*20|0)+16|0,4,0,0)|0|0);g=g+1|0}while((g|0)<(da(k|0,4,0,0)|0|0))}vh(s,16,0,1,0)|0}while(0);if((da(Q|0,4,0,0)|0|0)==0?(da(t>>0|0,1,0,0)|0|0)==0:0){if((da(W+404|0,4,0,0)|0|0)!=0?(R=W+68|0,(da(R|0,4,0,0)|0|0)==0):0)ea(R|0,1|0,4,0);zh(s,W);ea(W+12|0,101|0,4,0);ea(W+16>>0|0,0|0,1,0)}else U=48}else U=48;if((U|0)==48)ea(W+12|0,1|0,4,0);ea(W+68|0,0|0,4,0);ea(W+72|0,0|0,4,0);ea(W+76|0,0|0,4,0);ea(W+440|0,0|0,4,0);ea(W+332|0,0|0,4,0)}break}case 5:{ea(W+450>>0|0,0|0,1,0);ea(W+440|0,0|0,4,0);break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{U=a+(X<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break}case 44:{e=a+(X<<4)+16|0;d=da(W+484|0,4,0,0)|0|0;if((d|0)!=0?(g=da(d+38|0,2,0,0)|0|0,g<<16>>16>=1):0){V=(g<<16>>16)+-1|0;U=da(d+4|0,4,0,0)|0|0;W=Vq(da(W|0,4,0,0)|0|0,e)|0;ea(U+(V*24|0)+12|0,W|0,4,0);ea(U+(V*24|0)+21>>0|0,Wq(W,U+(V*24|0)+22|0)|0|0,1,0)}break}case 58:{ea(p|0,Yq(W,157,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(p+4|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);ea(p+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);Xq(W,p);break}case 59:{V=a+(X<<4)+16|0;ea(o|0,Yq(W,97,0,0,V)|0|0,4,0);V=da(V|0,4,0,0)|0|0;ea(o+4|0,V|0,4,0);ea(o+8|0,V+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);Xq(W,o);break}case 61:{d=da(a+(X<<4)+16|0,4,0,0)|0|0;e=da(W+484|0,4,0,0)|0|0;if((e|0)!=0?(h=da(e+38|0,2,0,0)|0|0,h<<16>>16>=1):0)ea((da(e+4|0,4,0,0)|0|0)+(((h<<16>>16)+-1|0)*24|0)+20>>0|0,d|0,1,0);break}case 117:case 115:case 16:case 15:case 14:{ea(Y|0,da(a+(X<<4)+14>>0|0,1,0,1)|0|0,4,0);break}case 18:case 17:{if((Rq(W,22,37136,0,0)|0)==0?(s=Nq(W)|0,(s|0)!=0):0)vh(s,3,1,0,0)|0;break}case 19:{if((Rq(W,22,37120,0,0)|0)==0?(r=Nq(W)|0,(r|0)!=0):0)vh(r,3,1,1,0)|0;break}case 39:{p=a+(X<<4)+16|0;n=da(W|0,4,0,0)|0|0;d=da(W+484|0,4,0,0)|0|0;d:do if(d){o=d+38|0;if((da(o|0,2,0,0)|0|0)>=(da(n+96|0,4,0,0)|0|0)){ea(V|0,da(d|0,4,0,0)|0|0,4,0);sh(W,36528,V);break}m=Vq(n,p)|0;if(m){k=da(o|0,2,0,0)|0|0;c=k<<16>>16;e:do if(k<<16>>16>0){l=da(9328+(da(m>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0;g=da(d+4|0,4,0,0)|0|0;h=m+1|0;e=0;while(1){f=da(g+(e*24|0)|0,4,0,0)|0|0;if(l<<24>>24==(da(9328+(da(f>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0)?(cd(h,f+1|0)|0)==0:0)break;e=e+1|0;if((e|0)>=(c|0))break e}ea(V|0,m|0,4,0);sh(W,36552,V);lg(n,m);break d}else g=da(d+4|0,4,0,0)|0|0;while(0);h=d+4|0;do if(!(c&7)){g=qo(n,g,(c*24|0)+192|0,0)|0;if(!g){lg(n,m);break d}else{ea(h|0,g|0,4,0);k=da(o|0,2,0,0)|0|0;break}}while(0);V=k<<16>>16;U=g+(V*24|0)|0;ea(U+0|0,0|0,4,0);ea(U+4|0,0|0,4,0);ea(U+8|0,0|0,4,0);ea(U+12|0,0|0,4,0);ea(U+16|0,0|0,4,0);ea(U+20|0,0|0,4,0);ea(U|0,m|0,4,0);ea(g+(V*24|0)+21>>0|0,65|0,1,0);ea(g+(V*24|0)+22>>0|0,1|0,1,0);ea(o|0,(da(o|0,2,0,0)|0|0)+1<<16>>16|0,2,0)}}while(0);T=p;V=da(T+4|0,4,0,0)|0|0;U=Y;ea(U|0,da(T|0,4,0,0)|0|0,4,0);ea(U+4|0,V|0,4,0);ea(W+324|0,0|0,4,0);break}case 46:{W=da(a+(X+-3<<4)+16|0,4,0,0)|0|0;ea(Y|0,W|0,4,0);ea(Y+4|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)-W|0,4,0);break}case 47:{W=da(a+(X+-5<<4)+16|0,4,0,0)|0|0;ea(Y|0,W|0,4,0);ea(Y+4|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)-W|0,4,0);break}case 49:{W=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;ea(Y|0,W|0,4,0);ea(Y+4|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)-W|0,4,0);break}case 92:case 54:{U=a+(X<<4)+16|0;V=da(U+4|0,4,0,0)|0|0;W=W+320|0;ea(W|0,da(U|0,4,0,0)|0|0,4,0);ea(W+4|0,V|0,4,0);break}case 57:case 55:{Xq(W,a+(X<<4)+16|0);break}case 64:{$q(W,da(a+(X+-1<<4)+16|0,4,0,0)|0|0);break}case 65:{ar(W,0,a+(X+-2<<4)+16|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0);break}case 66:{d=da(a+(X<<4)+16|0,4,0,0)|0|0;e=da(W+484|0,4,0,0)|0|0;if((e|0)!=0?(m=da(e+16|0,4,0,0)|0|0,(m|0)!=0):0)ea(m+24>>0|0,d|0,1,0);break}case 67:{g=da(W+484|0,4,0,0)|0|0;if((g|0)!=0?(A=(da(g+38|0,2,0,0)|0|0)+-1|0,n=da(W|0,4,0,0)|0|0,u=Vq(n,a+(X<<4)+16|0)|0,(u|0)!=0):0){if(!(br(W,u)|0)){lg(n,u);break a}k=g+4|0;lg(n,da((da(k|0,4,0,0)|0|0)+(A*24|0)+16|0,4,0,0)|0|0);ea((da(k|0,4,0,0)|0|0)+(A*24|0)+16|0,u|0,4,0);e=da(g+8|0,4,0,0)|0|0;if(e)do{if((da(da(e+4|0,4,0,0)|0|0,2,0,0)|0|0)==(A|0))ea(da(e+32|0,4,0,0)|0|0,da((da(k|0,4,0,0)|0|0)+(A*24|0)+16|0,4,0,0)|0|0,4,0);e=da(e+20|0,4,0,0)|0|0}while((e|0)!=0)}break}case 56:{Xq(W,a+(X+-1<<4)+16|0);break}case 7:{ea(W+450>>0|0,2|0,1,0);ea(W+440|0,0|0,4,0);break}case 226:{e=X+-1|0;d=a+(e<<4)+16|0;h=a+(X<<4)+16|0;g=or(da(W|0,4,0,0)|0|0,0,d,h)|0;k=X+-3|0;f=Yq(W,75,da(a+(k<<4)+16|0,4,0,0)|0|0,0,0)|0;ea(Y|0,f|0,4,0);if(!f){Co(da(W|0,4,0,0)|0|0,g);g=0}else{ea(f+20|0,jr(W,0,g,0,0,0,0,0,0,0)|0|0,4,0);g=da(Y|0,4,0,0)|0|0;V=g+4|0;ea(V|0,da(V|0,4,0,0)|0|2099200|0,4,0);xr(W,g)}if(da(a+(X+-2<<4)+16|0,4,0,0)|0)ea(Y|0,Yq(W,19,g,0,0)|0|0,4,0);ea(Y+4|0,da(a+(k<<4)+20|0,4,0,0)|0|0,4,0);c=da(h|0,4,0,0)|0|0;if(!c)c=(da(d|0,4,0,0)|0|0)+(da(a+(e<<4)+20|0,4,0,0)|0|0)|0;else c=c+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0;ea(Y+8|0,c|0,4,0);break}case 225:{e=X+-4|0;c=Yq(W,75,da(a+(e<<4)+16|0,4,0,0)|0|0,0,0)|0;ea(Y|0,c|0,4,0);if(!c){Lk(da(W|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,1);c=0}else{ea(c+20|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);c=da(Y|0,4,0,0)|0|0;V=c+4|0;ea(V|0,da(V|0,4,0,0)|0|2099200|0,4,0);xr(W,c)}if(da(a+(X+-3<<4)+16|0,4,0,0)|0)ea(Y|0,Yq(W,19,c,0,0)|0|0,4,0);ea(Y+4|0,da(a+(e<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 227:{c=Yq(W,20,0,0,0)|0;ea(Y|0,c|0,4,0);if(!c)Lk(da(W|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,1);else{ea(c+20|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);V=c+4|0;ea(V|0,da(V|0,4,0,0)|0|2099200|0,4,0);xr(W,c)}ea(Y+4|0,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 228:{d=Yq(W,136,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,0,0)|0;ea(Y|0,d|0,4,0);if(!d){Mk(da(W|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0);Fk(da(W|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0)}else{e=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;c=da(a+(X+-2<<4)+16|0,4,0,0)|0|0;if(e)c=kr(W,c,e)|0;ea(d+20|0,c|0,4,0);xr(W,da(Y|0,4,0,0)|0|0)}ea(Y+4|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 291:case 240:{ea(Y|0,2|0,4,0);break}case 241:{ea(Y|0,0|0,4,0);break}case 239:{_q(W,a+(X+-7<<4)+16|0,a+(X+-6<<4)+16|0,or(da(W|0,4,0,0)|0|0,0,a+(X+-4<<4)+16|0,0)|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X+-10<<4)+16|0,4,0,0)|0|0,a+(X+-11<<4)+16|0,da(a+(X<<4)+16|0,4,0,0)|0|0,0,da(a+(X+-8<<4)+16|0,4,0,0)|0|0)|0;break}case 229:{ea(Y|0,kr(W,kr(W,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0)|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 230:{ea(Y|0,kr(W,kr(W,0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0)|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 237:{ea(Y|0,kr(W,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 238:{ea(Y|0,kr(W,0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 245:{c=kr(W,0,ur(W,0,a+(X+-1<<4)+16|0,1)|0)|0;ea(Y|0,c|0,4,0);lr(W,c,a+(X+-2<<4)+16|0,1);if(c){if((da(c|0,4,0,0)|0|0)>(da((da(W|0,4,0,0)|0|0)+96|0,4,0,0)|0|0)){ea(V|0,20632|0,4,0);sh(W,34544,V)}ea((da(c+4|0,4,0,0)|0|0)+(((da(c|0,4,0,0)|0|0)+-1|0)*20|0)+12>>0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,1,0)}break}case 244:{c=ur(W,0,a+(X+-1<<4)+16|0,1)|0;c=kr(W,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,c)|0;ea(Y|0,c|0,4,0);lr(W,c,a+(X+-2<<4)+16|0,1);if(c){if((da(c|0,4,0,0)|0|0)>(da((da(W|0,4,0,0)|0|0)+96|0,4,0,0)|0|0)){ea(V|0,20632|0,4,0);sh(W,34544,V)}ea((da(c+4|0,4,0,0)|0|0)+(((da(c|0,4,0,0)|0|0)+-1|0)*20|0)+12>>0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,1,0)}break}case 248:{n=da(a+(X<<4)+16|0,4,0,0)|0|0;k=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;m=da(W|0,4,0,0)|0|0;do if((da(m+65>>0|0,1,0,0)|0|0)==0?(Fn(W)|0)==0:0){h=n+12|0;d=aq(m,da(n+16|0,4,0,0)|0|0,da(h|0,4,0,0)|0|0)|0;if(!d){if(!k){ea(V|0,n|0,4,0);ea(V+4|0,0|0,4,0);sh(W,33056,V)}else yr(W,da(h|0,4,0,0)|0|0);ea(W+17>>0|0,1|0,1,0);break}if((da(d+51>>0|0,1,0,0)|0)&3){ea(V|0,0|0,4,0);sh(W,33080,V);break}k=da(d+24|0,4,0,0)|0|0;f:do if(k){h=da(m+20|0,4,0,0)|0|0;if((h|0)>0){g=da(m+16|0,4,0,0)|0|0;l=0;while(1){f=l+1|0;if((da(g+(l<<4)+12|0,4,0,0)|0|0)==(k|0)){f=l;break f}if((f|0)<(h|0))l=f;else break}}else f=0}else f=-1e6;while(0);k=da(d+12|0,4,0,0)|0|0;h=m+16|0;g=da((da(h|0,4,0,0)|0|0)+(f<<4)|0,4,0,0)|0|0;e=(f|0)==1?13184:13208;if(((Rq(W,9,e,0,g)|0)==0?(Rq(W,(f|0)==0?10:12,da(d|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,g)|0)==0:0)?(B=Nq(W)|0,(B|0)!=0):0){U=da(W+408|0,4,0,0)|0|0;U=(U|0)==0?W:U;zr(W,f);T=U+328|0;ea(T|0,da(T|0,4,0,0)|0|1<<f|0,4,0);U=U+20|0;ea(U>>0|0,da(U>>0|0,1,0,1)|0|1|0,1,0);U=da(d|0,4,0,0)|0|0;ea(V|0,da((da(h|0,4,0,0)|0|0)+(f<<4)|0,4,0,0)|0|0,4,0);ea(V+4|0,e|0,4,0);ea(V+8|0,U|0,4,0);Ar(W,33160,V);Br(W,f,28536,da(d|0,4,0,0)|0|0);Cr(W,f);Dr(W,da(d+40|0,4,0,0)|0|0,f);W=da(d|0,4,0,0)|0|0;wh(B,vh(B,125,f,0,0)|0,W,0)}}while(0);Co(m,n);break}case 246:{ea(Y|0,0|0,4,0);ea(Y+4|0,0|0,4,0);break}case 250:case 249:{c=Nq(W)|0;if(c){vh(c,13,0,0,0)|0;W=c+96|0;ea(W|0,da(W|0,4,0,0)|0|1|0,4,0)}break}case 251:{Er(W,a+(X+-1<<4)+16|0,a+(X<<4)+16|0,0,0);break}case 252:{Er(W,a+(X+-3<<4)+16|0,a+(X+-2<<4)+16|0,a+(X<<4)+16|0,0);break}case 253:{Er(W,a+(X+-4<<4)+16|0,a+(X+-3<<4)+16|0,a+(X+-1<<4)+16|0,0);break}case 254:{Er(W,a+(X+-3<<4)+16|0,a+(X+-2<<4)+16|0,a+(X<<4)+16|0,1);break}case 255:{Er(W,a+(X+-4<<4)+16|0,a+(X+-3<<4)+16|0,a+(X+-1<<4)+16|0,1);break}case 264:{c=da(a+(X+-3<<4)+16|0,4,0,0)|0|0;e=(da(a+(X<<4)+16|0,4,0,0)|0|0)-c+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0;d=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;U=W+488|0;r=da(U|0,4,0,0)|0|0;s=da(W|0,4,0,0)|0|0;ea(U|0,0|0,4,0);g:do if((da(W+64|0,4,0,0)|0|0)==0&(r|0)!=0){q=da(r|0,4,0,0)|0|0;f=r+20|0;n=da(f|0,4,0,0)|0|0;h:do if(n){m=da(s+20|0,4,0,0)|0|0;if((m|0)>0){k=da(s+16|0,4,0,0)|0|0;g=0;while(1){h=g+1|0;if((da(k+(g<<4)+12|0,4,0,0)|0|0)==(n|0))break h;if((h|0)<(m|0))g=h;else{g=h;break}}}else g=0}else g=-1e6;while(0);ea(r+28|0,d|0,4,0);p=(d|0)==0;if(!p){k=d;do{ea(k+4|0,r|0,4,0);k=da(k+32|0,4,0,0)|0|0}while((k|0)!=0)}ea(S|0,q|0,4,0);if(!q)k=0;else{k=q;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;k=k-q&1073741823}ea(S+4|0,k|0,4,0);ea(T|0,W|0,4,0);o=s+16|0;n=da(o|0,4,0,0)|0|0;ea(T+12|0,da(n+(g<<4)|0,4,0,0)|0|0,4,0);ea(T+4|0,da(n+(g<<4)+12|0,4,0,0)|0|0,4,0);ea(T+16|0,10720|0,4,0);ea(T+20|0,S|0,4,0);n=(g|0)==1;ea(T+8|0,n&1|0,4,0);if(!p)do{if(er(T,da(d+8|0,4,0,0)|0|0)|0){d=0;e=r;break g}if(Fr(T,da(d+20|0,4,0,0)|0|0)|0){d=0;e=r;break g}if(Gr(T,da(d+24|0,4,0,0)|0|0)|0){d=0;e=r;break g}d=da(d+32|0,4,0,0)|0|0}while((d|0)!=0);if(!(Fr(T,da(r+12|0,4,0,0)|0|0)|0)){k=s+145|0;if(!(da(k>>0|0,1,0,0)|0)){h=Nq(W)|0;if(!h){d=0;e=r;break}U=da(W+408|0,4,0,0)|0|0;zr(W,g);U=((U|0)==0?W:U)+328|0;ea(U|0,da(U|0,4,0,0)|0|1<<g|0,4,0);if((c|0)!=0?(l=iw(e|0,0,1,0)|0,l=lh(s,l,C)|0,(l|0)!=0):0){jw(l|0,c|0,e|0)|0;ea(l+e>>0|0,0|0,1,0)}else l=0;U=da(r+4|0,4,0,0)|0|0;ea(V|0,da((da(o|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0,4,0);ea(V+4|0,(n?13184:13208)|0,4,0);ea(V+8|0,q|0,4,0);ea(V+12|0,U|0,4,0);ea(V+16|0,l|0,4,0);Ar(W,30008,V);lg(s,l);Cr(W,g);ea(V|0,q|0,4,0);Hr(h,g,th(s,30072,V)|0);if(!(da(k>>0|0,1,0,0)|0)){d=0;e=r;break}}e=Hk((da((da(o|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0)+40|0,q,r)|0;if(e){ea(s+65>>0|0,1|0,1,0);d=0;break}d=da(f|0,4,0,0)|0|0;if((d|0)==(da(r+24|0,4,0,0)|0|0)){d=an(d+8|0,da(r+4|0,4,0,0)|0|0,V)|0;if(!d)d=0;else d=da(d+8|0,4,0,0)|0|0;d=d+64|0;ea(r+32|0,da(d|0,4,0,0)|0|0,4,0);ea(d|0,r|0,4,0);d=0}else d=0}else{d=0;e=r}}else e=r;while(0);ig(s,e);Ek(s,d);break}case 265:{u=a+(X+-7<<4)+16|0;v=X+-6|0;w=a+(v<<4)+16|0;h=da(a+(X+-5<<4)+16|0,4,0,0)|0|0;x=X+-4|0;t=da(a+(x<<4)+16|0,4,0,0)|0|0;x=da(a+(x<<4)+20|0,4,0,0)|0|0;y=da(a+(X+-2<<4)+16|0,4,0,0)|0|0;z=da(a+(X<<4)+16|0,4,0,0)|0|0;d=da(a+(X+-8<<4)+16|0,4,0,0)|0|0;A=da(W|0,4,0,0)|0|0;r=(da(a+(X+-10<<4)+16|0,4,0,0)|0|0)!=0;do if(r)if(!(da(a+(v<<4)+20|0,4,0,0)|0)){ea(T|0,u|0,4,0);if(!y){k=0;l=0;break}else{n=1;U=483;break}}else{sh(W,29664,V);k=0;l=0;break}else{n=dr(W,u,w,T)|0;if((n|0)>-1&(y|0)!=0)U=483;else{k=0;l=0}}while(0);do if((U|0)==483){c=A+65|0;if(!(da(c>>0|0,1,0,0)|0)){p=A+145|0;if((da(p>>0|0,1,0,0)|0|0)!=0&(n|0)!=1){U=y+12|0;lg(A,da(U|0,4,0,0)|0|0);ea(U|0,0|0,4,0)}o=Ir(W,y)|0;if((da(p>>0|0,1,0,0)|0|0)==0?((o|0)!=0?(da(a+(v<<4)+20|0,4,0,0)|0|0)==0:0):0)n=(da(o+68|0,4,0,0)|0|0)==(da((da(A+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)?1:n;if((da(c>>0|0,1,0,0)|0|0)==0?(K=da(T|0,4,0,0)|0|0,U=da(W|0,4,0,0)|0|0,ea(S|0,W|0,4,0),U=da(U+16|0,4,0,0)|0|0,ea(S+12|0,da(U+(n<<4)|0,4,0,0)|0|0,4,0),ea(S+4|0,da(U+(n<<4)+12|0,4,0,0)|0|0,4,0),ea(S+16|0,10720|0,4,0),ea(S+20|0,K|0,4,0),ea(S+8|0,(n|0)==1&1|0,4,0),(Jr(S,y)|0)==0):0){p=Ir(W,y)|0;if(!p){if((da(A+144>>0|0,1,0,0)|0|0)!=1){k=0;l=0;break}ea(A+146>>0|0,1|0,1,0);k=0;l=0;break}if((da(p+44>>0|0,1,0,0)|0)&16){sh(W,29712,V);k=0;l=0;break}l=Vq(A,K)|0;if(l)if(!(Kr(W,l)|0)){s=A+16|0;m=an((da((da(s|0,4,0,0)|0|0)+(n<<4)+12|0,4,0,0)|0|0)+40|0,l,J)|0;if((m|0)!=0?(da(m+8|0,4,0,0)|0|0)!=0:0)if(!d){ea(V|0,K|0,4,0);sh(W,29760,V);k=0;break}else{zr(W,n);k=0;break}q=da(p|0,4,0,0)|0|0;if(!(Ec(q,25568,7)|0)){sh(W,29792,V);k=W+64|0;ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);k=0;break}m=da(p+12|0,4,0,0)|0|0;if((m|0)!=0&(h|0)!=49){ea(V|0,((h|0)==35?29872:29880)|0,4,0);ea(V+4|0,y|0,4,0);ea(V+8|0,0|0,4,0);sh(W,29832,V);k=0;break}g=(h|0)==49;if((m|0)==0&g){ea(V|0,y|0,4,0);ea(V+4|0,0|0,4,0);sh(W,29888,V);k=0;break}f=p+68|0;p=da(f|0,4,0,0)|0|0;i:do if(p){o=da(A+20|0,4,0,0)|0|0;if((o|0)>0){d=da(s|0,4,0,0)|0|0;e=0;while(1){c=e+1|0;if((da(d+(e<<4)+12|0,4,0,0)|0|0)==(p|0)){c=e;break i}if((c|0)<(o|0))e=c;else break}}else c=0}else c=-1e6;while(0);p=da(s|0,4,0,0)|0|0;d=da(p+(c<<4)|0,4,0,0)|0|0;if(r)o=da(p+16|0,4,0,0)|0|0;else o=d;p=(c|0)==1;if((Rq(W,p|r?5:7,l,q,o)|0)==0?(Rq(W,18,p?13184:13208,0,d)|0)==0:0){k=lh(A,36,0)|0;if(!k){k=0;break}q=k+0|0;d=q+36|0;do{ea(q>>0|0,0|0,1,0);q=q+1|0}while((q|0)<(d|0));ea(k|0,l|0,4,0);ea(k+4|0,jh(A,da(y+16|0,4,0,0)|0|0)|0|0,4,0);ea(k+20|0,da((da(s|0,4,0,0)|0|0)+(n<<4)+12|0,4,0,0)|0|0,4,0);ea(k+24|0,da(f|0,4,0,0)|0|0,4,0);ea(k+8>>0|0,t|0,1,0);ea(k+9>>0|0,(g|(h|0)==35?1:2)|0,1,0);ea(k+12|0,Lr(A,z,1,0)|0|0,4,0);ea(k+16|0,Mr(A,x)|0|0,4,0);ea(W+488|0,k|0,4,0);l=0}else k=0}else k=0;else{k=0;l=0}}else{k=0;l=0}}else{k=0;l=0}}while(0);lg(A,l);Co(A,y);Gk(A,x);Fk(A,z);if(!(da(W+488|0,4,0,0)|0))ig(A,k);if(!(da(a+(v<<4)+20|0,4,0,0)|0)){U=u;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break a}else{U=w;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break a}}case 269:case 266:{ea(Y|0,35|0,4,0);break}case 267:{ea(Y|0,31|0,4,0);break}case 268:{ea(Y|0,49|0,4,0);break}case 284:{e=da(W|0,4,0,0)|0|0;d=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;c=da(a+(X<<4)+16|0,4,0,0)|0|0;f=da(a+(X+-5<<4)+16>>0|0,1,0,0)|0|0;g=Nr(e,110,a+(X+-4<<4)+16|0)|0;if(g){ea(g+24|0,Or(e,d,1)|0|0,4,0);ea(g+20|0,Lr(e,c,1,0)|0|0,4,0);ea(g+1>>0|0,f|0,1,0)}Mk(e,d);Fk(e,c);ea(Y|0,g|0,4,0);break}case 271:case 270:{ea(Y|0,da(a+(X<<4)+14>>0|0,1,0,1)|0|0,4,0);ea(Y+4|0,0|0,4,0);break}case 272:{ea(Y|0,110|0,4,0);ea(Y+4|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 296:case 275:{ea(Y|0,0|0,4,0);break}case 297:case 276:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 277:{V=a+(X+-1<<4)+16|0;W=a+(X+-2<<4)+16|0;ea((da((da(W|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+32|0,da(V|0,4,0,0)|0|0,4,0);ea((da(W|0,4,0,0)|0|0)+36|0,da(V|0,4,0,0)|0|0,4,0);ea(Y|0,da(W|0,4,0,0)|0|0,4,0);break}case 278:{W=a+(X+-1<<4)+16|0;V=da(W|0,4,0,0)|0|0;ea(V+36|0,V|0,4,0);ea(Y|0,da(W|0,4,0,0)|0|0,4,0);break}case 282:{sh(W,20736,V);break}case 280:{S=a+(X<<4)+16|0;U=da(S+4|0,4,0,0)|0|0;T=Y;ea(T|0,da(S|0,4,0,0)|0|0,4,0);ea(T+4|0,U|0,4,0);sh(W,20640,V);break}case 283:{sh(W,20824,V);break}case 286:{c=da(W|0,4,0,0)|0|0;d=da(a+(X<<4)+16|0,4,0,0)|0|0;e=Nr(c,109,a+(X+-2<<4)+16|0)|0;if(e){ea(e+20|0,Lr(c,d,1,0)|0|0,4,0);ea(e+1>>0|0,10|0,1,0)}Fk(c,d);ea(Y|0,e|0,4,0);break}case 287:{e=da(W|0,4,0,0)|0|0;g=da(a+(X<<4)+16|0,4,0,0)|0|0;c=lh(e,40,0)|0;if(!c){Lk(e,g,1);c=0}else{q=c+0|0;d=q+40|0;do{ea(q>>0|0,0|0,1,0);q=q+1|0}while((q|0)<(d|0));ea(c>>0|0,119|0,1,0);ea(c+8|0,g|0,4,0);ea(c+1>>0|0,10|0,1,0)}ea(Y|0,c|0,4,0);break}case 285:{g=da(W|0,4,0,0)|0|0;f=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;e=da(a+(X<<4)+16|0,4,0,0)|0|0;d=da(a+(X+-4<<4)+16>>0|0,1,0,0)|0|0;c=Nr(g,108,a+(X+-2<<4)+16|0)|0;if(!c)Gk(g,f);else{ea(c+8|0,fr(g,e,1)|0|0,4,0);ea(c+28|0,f|0,4,0);ea(c+1>>0|0,d|0,1,0)}Lk(g,e,1);ea(Y|0,c|0,4,0);break}case 288:{c=Yq(W,57,0,0,0)|0;ea(Y|0,c|0,4,0);if(c)ea(c+1>>0|0,4|0,1,0);ea(Y+4|0,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 289:{c=Yq(W,57,0,0,a+(X+-1<<4)+16|0)|0;ea(Y|0,c|0,4,0);if(c)ea(c+1>>0|0,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,1,0);ea(Y+4|0,da(a+(X+-5<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 290:{ea(Y|0,1|0,4,0);break}case 292:{ea(Y|0,3|0,4,0);break}case 293:{d=da(a+(X<<4)+16|0,4,0,0)|0|0;c=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;o=da(W|0,4,0,0)|0|0;do if((da(o+65>>0|0,1,0,0)|0|0)==0?(Fn(W)|0)==0:0){p=da(d+12|0,4,0,0)|0|0;n=da(d+16|0,4,0,0)|0|0;m=o+20|0;if((da(m|0,4,0,0)|0|0)>0){g=(p|0)==0;f=o+16|0;e=0;k=0;do{h=(e|0)<2^e;l=da(f|0,4,0,0)|0|0;if(!(!g?(cd(da(l+(h<<4)|0,4,0,0)|0|0,p)|0)!=0:0)){l=an((da(l+(h<<4)+12|0,4,0,0)|0|0)+40|0,n,D)|0;if(l){k=da(l+8|0,4,0,0)|0|0;if(k)break}else k=0}e=e+1|0}while((e|0)<(da(m|0,4,0,0)|0|0));if(k){Pr(W,k);break}}if(!c){ea(V|0,d|0,4,0);ea(V+4|0,0|0,4,0);sh(W,29600,V)}else yr(W,p);ea(W+17>>0|0,1|0,1,0)}while(0);Co(o,d);break}case 294:{V=da(a+(X+-3<<4)+16|0,4,0,0)|0|0;Qr(W,24,29360,V,V,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0);break}case 303:{Sr(W,a+(X+-1<<4)+16|0,a+(X<<4)+16|0);break}case 304:{r=da(a+(X+-3<<4)+16|0,4,0,0)|0|0;p=a+(X<<4)+16|0;q=da(W|0,4,0,0)|0|0;d=q+24|0;e=da(d|0,4,0,0)|0|0;do if((da(q+65>>0|0,1,0,0)|0|0)==0?(P=Tr(W,0,r+8|0)|0,(P|0)!=0):0){l=da(W|0,4,0,0)|0|0;s=P+68|0;n=da(s|0,4,0,0)|0|0;j:do if(n){m=da(l+20|0,4,0,0)|0|0;if((m|0)>0){l=da(l+16|0,4,0,0)|0|0;h=0;while(1){k=h+1|0;if((da(l+(h<<4)+12|0,4,0,0)|0|0)==(n|0)){k=h;break j}if((k|0)<(m|0))h=k;else break}}else k=0}else k=-1e6;while(0);c=da((da(q+16|0,4,0,0)|0|0)+(k<<4)|0,4,0,0)|0|0;ea(d|0,da(d|0,4,0,0)|0|2097152|0,4,0);g=Vq(q,p)|0;if(g){if((Zh(q,g,c)|0)==0?(aq(q,g,c)|0)==0:0){if(Ur(W,da(P|0,4,0,0)|0|0)|0)break;if(Kr(W,g)|0)break;l=da(P|0,4,0,0)|0|0;if(da(P+12|0,4,0,0)|0){ea(V|0,l|0,4,0);sh(W,26088,V);break}if(Rq(W,26,c,l,0)|0)break;if(gr(W,P)|0)break;if(!((da(P+44>>0|0,1,0,0)|0)&16))f=0;else{l=da(P+60|0,4,0,0)|0|0;k:do if(!l)l=0;else while(1){if((da(l|0,4,0,0)|0|0)==(q|0))break k;l=da(l+24|0,4,0,0)|0|0;if(!l){l=0;break}}while(0);f=(da((da(da(l+8|0,4,0,0)|0|0,4,0,0)|0|0)+76|0,4,0,0)|0|0)==0?0:l}l=Nq(W)|0;if(!l)break;U=(f|0)!=0;h=W+408|0;T=da(h|0,4,0,0)|0|0;T=(T|0)==0?W:T;zr(W,k);S=T+328|0;ea(S|0,da(S|0,4,0,0)|0|1<<k|0,4,0);T=T+20|0;ea(T>>0|0,da(T>>0|0,1,0,1)|0|U&1|0,1,0);Cr(W,k);if(U){T=W+72|0;U=(da(T|0,4,0,0)|0|0)+1|0;ea(T|0,U|0,4,0);wh(l,vh(l,97,0,U,0)|0,g,0);wh(l,vh(l,152,U,0,0)|0,f,-10);U=da(h|0,4,0,0)|0|0;ea(((U|0)==0?W:U)+21>>0|0,1|0,1,0)}p=da(P|0,4,0,0)|0|0;o=Mn(p,-1)|0;do if(((da(d|0,4,0,0)|0)&524288|0)!=0?(L=an((da(s|0,4,0,0)|0|0)+56|0,p,M)|0,(L|0)!=0):0){l=da(L+8|0,4,0,0)|0|0;if(!l)break;h=l;l=0;do{l=Vr(da(W|0,4,0,0)|0|0,l,da(da(h|0,4,0,0)|0|0,4,0,0)|0|0)|0;h=da(h+12|0,4,0,0)|0|0}while((h|0)!=0);if(!l)break;ea(V|0,c|0,4,0);ea(V+4|0,((k|0)==1?13184:13208)|0,4,0);ea(V+8|0,p|0,4,0);ea(V+12|0,g|0,4,0);ea(V+16|0,l|0,4,0);Ar(W,26120,V);lg(q,l)}while(0);ea(V|0,c|0,4,0);ea(V+4|0,((k|0)==1?13184:13208)|0,4,0);ea(V+8|0,g|0,4,0);ea(V+12|0,g|0,4,0);ea(V+16|0,g|0,4,0);ea(V+20|0,g|0,4,0);ea(V+24|0,g|0,4,0);ea(V+28|0,o|0,4,0);ea(V+32|0,p|0,4,0);Ar(W,26192,V);if(Zh(q,26576,c)|0){U=da(P|0,4,0,0)|0|0;ea(V|0,c|0,4,0);ea(V+4|0,g|0,4,0);ea(V+8|0,U|0,4,0);Ar(W,26592,V)}k=Wr(W,P)|0;if(k){ea(V|0,g|0,4,0);ea(V+4|0,g|0,4,0);ea(V+8|0,k|0,4,0);Ar(W,26656,V);lg(q,k)}do if((da(d|0,4,0,0)|0)&524288){k=an((da(s|0,4,0,0)|0|0)+56|0,da(P|0,4,0,0)|0|0,V)|0;if(!k)break;k=da(k+8|0,4,0,0)|0|0;if(!k)break;do{h=da(k|0,4,0,0)|0|0;if((h|0)!=(P|0))Xr(W,h,da(h|0,4,0,0)|0|0);k=da(k+12|0,4,0,0)|0|0}while((k|0)!=0)}while(0);Xr(W,P,g);break}ea(V|0,g|0,4,0);sh(W,26024,V)}else g=0}else g=0;while(0);Co(q,r);lg(q,g);ea(d|0,e|0,4,0);break}case 295:{V=da(a+(X<<4)+16|0,4,0,0)|0|0;Qr(W,25,29176,V,0,0,V);break}case 300:{Rr(W,0,0);break}case 302:{Sr(W,0,0);break}case 301:{Rr(W,a+(X+-1<<4)+16|0,a+(X<<4)+16|0);break}case 305:{q=da(W|0,4,0,0)|0|0;if((da(W+64|0,4,0,0)|0|0)==0?(E=q+65|0,(da(E>>0|0,1,0,0)|0|0)==0):0){e=da(W+484|0,4,0,0)|0|0;l=da(e+68|0,4,0,0)|0|0;l:do if(l){k=da(q+20|0,4,0,0)|0|0;if((k|0)>0){h=da(q+16|0,4,0,0)|0|0;f=0;while(1){g=f+1|0;if((da(h+(f<<4)+12|0,4,0,0)|0|0)==(l|0)){s=f;break l}if((g|0)<(k|0))f=g;else{s=g;break}}}else s=0}else s=-1e6;while(0);c=da((da(q+16|0,4,0,0)|0|0)+(s<<4)|0,4,0,0)|0|0;d=(da(e|0,4,0,0)|0|0)+16|0;m=(da(e+38|0,2,0,0)|0|0)+-1|0;k=da(e+4|0,4,0,0)|0|0;l=da(k+(m*24|0)+4|0,4,0,0)|0|0;r=Zh(q,d,c)|0;if(!(Rq(W,26,c,da(r|0,4,0,0)|0|0,0)|0)){if(!l)n=0;else n=(da(l>>0|0,1,0,0)|0|0)==101?0:l;if((da(k+(m*24|0)+23>>0|0,1,0,0)|0)&1){sh(W,25608,V);break a}if(da(e+8|0,4,0,0)|0){sh(W,25640,V);break a}p=q+24|0;if(((da(p|0,4,0,0)|0)&524288|0)!=0?(da(e+16|0,4,0,0)|0|0)!=0&(n|0)!=0:0){sh(W,25672,V);break a}o=(n|0)!=0;if(!((da(k+(m*24|0)+20>>0|0,1,0,0)|0|0)==0|o)){sh(W,25736,V);break a}do if(o){ea(G|0,0|0,4,0);if(Yr(q,n,1,65,G)|0){ea(E>>0|0,1|0,1,0);break a}l=da(G|0,4,0,0)|0|0;if(!l){sh(W,25792,V);break a}else{Lh(l);break}}while(0);l=da(a+(X<<4)+16|0,4,0,0)|0|0;k=a+(X<<4)+20|0;h=da(k|0,4,0,0)|0|0;if((l|0)!=0?(N=iw(h|0,0,1,0)|0,N=lh(q,N,C)|0,(N|0)!=0):0){jw(N|0,l|0,h|0)|0;ea(N+h>>0|0,0|0,1,0);l=(da(k|0,4,0,0)|0|0)+-1|0;h=da(p|0,4,0,0)|0|0;m:do if((l|0)>0){k=N+l|0;do{l=da(k>>0|0,1,0,0)|0|0;if(l<<24>>24!=59?((da(10368+(l&255)>>0|0,1,0,0)|0)&1)==0:0)break m;ea(k>>0|0,0|0,1,0);k=k+-1|0}while(k>>>0>N>>>0)}while(0);ea(p|0,da(p|0,4,0,0)|0|2097152|0,4,0);T=da(e+48|0,4,0,0)|0|0;ea(V|0,c|0,4,0);ea(V+4|0,((s|0)==1?13184:13208)|0,4,0);ea(V+8|0,T|0,4,0);ea(V+12|0,N|0,4,0);ea(V+16|0,T+1|0,4,0);ea(V+20|0,d|0,4,0);Ar(W,25840,V);lg(q,N);ea(p|0,h|0,4,0)}l=o?3:2;n=Nq(W)|0;if(n){k=W+19|0;g=da(k>>0|0,1,0,0)|0|0;do if(g<<24>>24){V=g+-1<<24>>24;ea(k>>0|0,V|0,1,0);h=da(W+((V&255)<<2)+24|0,4,0,0)|0|0;if(!(V<<24>>24)){k=da(W+72|0,4,0,0)|0|0;U=663;break}else{d=g+-2<<24>>24;ea(k>>0|0,d|0,1,0);d=da(W+((d&255)<<2)+24|0,4,0,0)|0|0;break}}else{h=W+72|0;k=(da(h|0,4,0,0)|0|0)+1|0;ea(h|0,k|0,4,0);h=k;U=663}while(0);if((U|0)==663){d=k+1|0;ea(W+72|0,d|0,4,0)}vh(n,51,s,h,2)|0;f=n+96|0;ea(f|0,da(f|0,4,0,0)|0|1<<s|0,4,0);vh(n,25,l,d,0)|0;f=vh(n,83,d,0,h)|0;e=n+4|0;g=da(e|0,4,0,0)|0|0;k=n+32|0;if(g)ea(g+(((da(k|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);vh(n,52,s,2,d)|0;k=da(k|0,4,0,0)|0|0;if(k>>>0>f>>>0)ea((da(e|0,4,0,0)|0|0)+(f*20|0)+8|0,k|0,4,0);ea((da(n+24|0,4,0,0)|0|0)+88|0,k+-1|0,4,0);Zr(W,h);Zr(W,d)}Xr(W,r,da(r|0,4,0,0)|0|0)}}break}case 306:{o=da(W|0,4,0,0)|0|0;ea(o+250>>0|0,0|0,1,0);c=da(a+(X<<4)+16|0,4,0,0)|0|0;p=o+65|0;do if((da(p>>0|0,1,0,0)|0|0)==0?(I=Tr(W,0,c+8|0)|0,(I|0)!=0):0){if((da(I+44>>0|0,1,0,0)|0)&16){sh(W,25400,V);break}if(da(I+12|0,4,0,0)|0){sh(W,25440,V);break}if(!(Ur(W,da(I|0,4,0,0)|0|0)|0)){k=da(I+68|0,4,0,0)|0|0;n:do if(k){h=da(o+20|0,4,0,0)|0|0;if((h|0)>0){g=da(o+16|0,4,0,0)|0|0;l=0;while(1){f=l+1|0;if((da(g+(l<<4)+12|0,4,0,0)|0|0)==(k|0)){f=l;break n}if((f|0)<(h|0))l=f;else break}}else f=0}else f=-1e6;while(0);n=lh(o,76,0)|0;if(n){q=n+0|0;d=q+76|0;do{ea(q>>0|0,0|0,1,0);q=q+1|0}while((q|0)<(d|0));ea(W+484|0,n|0,4,0);h=n+40|0;ea(h|0,1|0,2,0);l=da(I+38|0,2,0,0)|0|0;g=n+38|0;ea(g|0,l|0,2,0);l=((((l<<16>>16)+-1|0)/8|0)*192|0)+192|0;k=lh(o,l,0)|0;if(k)ew(k|0,0,l|0)|0;l=n+4|0;ea(l|0,k|0,4,0);ea(V|0,da(I|0,4,0,0)|0|0,4,0);V=th(o,25472,V)|0;ea(n|0,V|0,4,0);k=da(l|0,4,0,0)|0|0;if((k|0)==0|(V|0)==0){ea(p>>0|0,1|0,1,0);break}jw(k|0,da(I+4|0,4,0,0)|0|0,(da(g|0,2,0,0)|0|0)*24|0)|0;if((da(g|0,2,0,0)|0|0)>0){k=0;do{V=da(l|0,4,0,0)|0|0;U=V+(k*24|0)|0;ea(U|0,jh(o,da(U|0,4,0,0)|0|0)|0|0,4,0);V=V+(k*24|0)+4|0;k=k+1|0;ea(V+0|0,0|0,4,0);ea(V+4|0,0|0,4,0);ea(V+8|0,0|0,4,0);ea(V+12|0,0|0,4,0)}while((k|0)<(da(g|0,2,0,0)|0|0))}ea(n+68|0,da((da(o+16|0,4,0,0)|0|0)+(f<<4)+12|0,4,0,0)|0|0,4,0);ea(n+48|0,da(I+48|0,4,0,0)|0|0,4,0);ea(h|0,1|0,2,0);V=da(W+408|0,4,0,0)|0|0;zr(W,f);V=((V|0)==0?W:V)+328|0;ea(V|0,da(V|0,4,0,0)|0|1<<f|0,4,0);if(Nq(W)|0)Cr(W,f)}}}while(0);Co(o,c);break}case 309:{_r(W,0);break}case 310:{_r(W,a+(X<<4)+16|0);break}case 311:{d=a+(X<<4)+16|0;Tq(W,a+(X+-3<<4)+16|0,a+(X+-2<<4)+16|0,0,0,1,da(a+(X+-4<<4)+16|0,4,0,0)|0|0);l=da(W+484|0,4,0,0)|0|0;if(l){c=da(W|0,4,0,0)|0|0;k=da(l+68|0,4,0,0)|0|0;o:do if(k){h=da(c+20|0,4,0,0)|0|0;if((h|0)>0){f=da(c+16|0,4,0,0)|0|0;e=0;while(1){g=e+1|0;if((da(f+(e<<4)+12|0,4,0,0)|0|0)==(k|0)){g=e;break o}if((g|0)<(h|0))e=g;else break}}else g=0}else g=-1e6;while(0);e=l+44|0;ea(e>>0|0,da(e>>0|0,1,0,1)|0|16|0,1,0);ea(l+52|0,0|0,4,0);$r(c,l,Vq(c,d)|0);$r(c,l,0);$r(c,l,jh(c,da(l|0,4,0,0)|0|0)|0);ea(W+500|0,(da(d|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)-(da(W+496|0,4,0,0)|0|0)|0,4,0);e=da(l+56|0,4,0,0)|0|0;if(e)Rq(W,29,da(l|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,da((da((da(W|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0)|0}break}case 322:{ea(Y|0,0|0,4,0);break}case 324:case 323:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 325:{ea(Y|0,bs(W,0,a+(X+-5<<4)+16|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 326:{ea(Y|0,bs(W,da(a+(X+-7<<4)+16|0,4,0,0)|0|0,a+(X+-5<<4)+16|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 314:{as(W);ea(W+512|0,0|0,4,0);ea(W+516|0,0|0,4,0);break}case 318:case 317:case 316:{e=W+512|0;d=da(e|0,4,0,0)|0|0;c=da(a+(X<<4)+16|0,4,0,0)|0|0;if(!d){ea(e|0,c|0,4,0);c=da(a+(X<<4)+20|0,4,0,0)|0|0}else c=c+(da(a+(X<<4)+20|0,4,0,0)|0|0)-d|0;ea(W+516|0,c|0,4,0);break}case 13:{ea(Y|0,7|0,4,0);break}case 70:{ea(Y|0,0|0,4,0);break}case 71:{ea(Y|0,(da(a+(X+-1<<4)+16|0,4,0,0)|0)&~(da(a+(X<<4)+20|0,4,0,0)|0)|(da(a+(X<<4)+16|0,4,0,0)|0)|0,4,0);break}case 73:case 72:{ea(Y|0,0|0,4,0);ea(Y+4|0,0|0,4,0);break}case 93:{Zq(W,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,0);break}case 94:{_q(W,0,0,0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0,0,0)|0;break}case 95:{$q(W,da(a+(X+-2<<4)+16|0,4,0,0)|0|0);break}case 87:{U=a+(X+-1<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break}case 90:{ea(W+324|0,0|0,4,0);break}case 99:{ea(Y|0,10|0,4,0);break}case 101:{ea(Y>>0|0,10|0,1,0);break}case 102:{ea(Y>>0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,1,0);break}case 104:{ea(Y|0,4|0,4,0);break}case 105:{ea(Y|0,5|0,4,0);break}case 106:{cr(W,da(a+(X<<4)+16|0,4,0,0)|0|0,0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0);break}case 96:{ar(W,da(a+(X+-6<<4)+16|0,4,0,0)|0|0,a+(X+-3<<4)+16|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0);d=da(a+(X<<4)+16|0,4,0,0)|0|0;e=da(W+484|0,4,0,0)|0|0;if((e|0)!=0?(v=da(e+16|0,4,0,0)|0|0,(v|0)!=0):0)ea(v+24>>0|0,d|0,1,0);break}case 109:{c=X+-7|0;h=a+(X+-3<<4)+16|0;g=a+(X+-2<<4)+16|0;p=da(a+(X<<4)+16|0,4,0,0)|0|0;l=da(a+(X+-6<<4)+16|0,4,0,0)|0|0;k=da(a+(X+-4<<4)+16|0,4,0,0)|0|0;ea(z|0,0|0,4,0);o=da(W|0,4,0,0)|0|0;if((da(W+440|0,4,0,0)|0|0)>0){sh(W,35440,V);Lk(o,p,1);break a}Tq(W,h,g,l,1,0,k);e=da(W+484|0,4,0,0)|0|0;if((e|0)!=0?(da(W+64|0,4,0,0)|0|0)==0:0){dr(W,h,g,z)|0;l=da(e+68|0,4,0,0)|0|0;p:do if(l){h=da(o+20|0,4,0,0)|0|0;if((h|0)>0){g=da(o+16|0,4,0,0)|0|0;f=0;while(1){k=f+1|0;if((da(g+(f<<4)+12|0,4,0,0)|0|0)==(l|0)){k=f;break p}if((k|0)<(h|0))f=k;else break}}else k=0}else k=-1e6;while(0);V=da(z|0,4,0,0)|0|0;U=da(W|0,4,0,0)|0|0;ea(S|0,W|0,4,0);U=da(U+16|0,4,0,0)|0|0;ea(S+12|0,da(U+(k<<4)|0,4,0,0)|0|0,4,0);ea(S+4|0,da(U+(k<<4)+12|0,4,0,0)|0|0,4,0);ea(S+16|0,35480|0,4,0);ea(S+20|0,V|0,4,0);ea(S+8|0,(k|0)==1&1|0,4,0);if(er(S,p)|0){Lk(o,p,1);break a}ea(e+12|0,fr(o,p,1)|0|0,4,0);Lk(o,p,1);if(da(o+65>>0|0,1,0,0)|0)break a;if(!(da(o+145>>0|0,1,0,0)|0))gr(W,e)|0;g=W+504|0;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;V=T;ea(V|0,f|0,4,0);ea(V+4|0,g|0,4,0);V=da(f>>0|0,1,0,0)|0|0;if(!(V<<24>>24==59|V<<24>>24==0)){f=f+g|0;ea(T|0,f|0,4,0)}h=T+4|0;ea(h|0,0|0,4,0);k=da(a+(c<<4)+16|0,4,0,0)|0|0;g=f-k|0;do{V=g;g=g+-1|0;e=k+g|0;if((V|0)<=0)break}while(((da(10368+(da(e>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1)!=0);ea(T|0,e|0,4,0);ea(h|0,1|0,4,0);Uq(W,0,T,0,0);break a}Lk(o,p,1);break}case 110:{cr(W,da(a+(X<<4)+16|0,4,0,0)|0|0,1,da(a+(X+-1<<4)+16|0,4,0,0)|0|0);break}case 111:{ea(q+0|0,da(5124*4|0,4,0,0)|0|0,4,0);ea(q+4|0,da(5125*4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(5126*4|0,4,0,0)|0|0,4,0);ea(q+12|0,da(5127*4|0,4,0,0)|0|0,4,0);ea(q+16|0,da(5128*4|0,4,0,0)|0|0,4,0);V=a+(X<<4)+16|0;hr(W,da(V|0,4,0,0)|0|0,q)|0;Lk(da(W|0,4,0,0)|0|0,da(V|0,4,0,0)|0|0,1);break}case 112:{l=da(a+(X<<4)+16|0,4,0,0)|0|0;do if(l){ea(l+68|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);e=da(l+52|0,4,0,0)|0|0;if(e){f=128;g=1;h=l;k=0;while(1){ea(h+56|0,k|0,4,0);T=h+6|0;U=da(T|0,2,0,1)|0|64;ea(T|0,U|0,2,0);f=U&f;if(!e)break;U=e;e=da(e+52|0,4,0,0)|0|0;g=g+1|0;k=h;h=U}if(f){W=l+6|0;ea(W|0,da(W|0,2,0,1)|0|256|0,2,0);break}U=da((da(W|0,4,0,0)|0|0)+104|0,4,0,0)|0|0;if((U|0)>0&(g|0)>(U|0))sh(W,20520,V)}}else Pn(da(W|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0);while(0);ea(Y|0,l|0,4,0);break}case 119:case 113:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 114:{c=da(a+(X<<4)+16|0,4,0,0)|0|0;do if(c){if(da(c+52|0,4,0,0)|0){ea(e+4|0,0|0,4,0);c=jr(W,0,ir(W,0,0,0,e,c,0,0)|0,0,0,0,0,0,0,0)|0;if(!c){U=192;break}}V=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;ea(c+4>>0|0,V|0,1,0);ea(c+52|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,4,0);if((V|0)!=116)ea(W+22>>0|0,1|0,1,0)}else U=192;while(0);if((U|0)==192){Lk(da(W|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,1);c=0}ea(Y|0,c|0,4,0);break}case 116:{ea(Y|0,116|0,4,0);break}case 169:{c=da(a+(X+-5<<4)+16|0,4,0,0)|0|0;if(c){V=W+532|0;ea(c+4|0,da(V|0,4,0,0)|0|0,4,0);ea(V|0,c|0,4,0);ea(W+449>>0|0,1|0,1,0)}V=a+(X+-2<<4)+16|0;nr(W,da(V|0,4,0,0)|0|0,a+(X+-1<<4)+16|0);qr(W,da(V|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0);break}case 176:{c=da(a+(X+-6<<4)+16|0,4,0,0)|0|0;if(c){V=W+532|0;ea(c+4|0,da(V|0,4,0,0)|0|0,4,0);ea(V|0,c|0,4,0);ea(W+449>>0|0,1|0,1,0)}sr(W,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X+-5<<4)+16>>0|0,1,0,1)|0|0);break}case 173:{V=kr(W,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,V|0,4,0);lr(W,V,a+(X+-2<<4)+16|0,1);break}case 174:{V=kr(W,0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,V|0,4,0);lr(W,V,a+(X+-2<<4)+16|0,1);break}case 175:{c=da(a+(X+-5<<4)+16|0,4,0,0)|0|0;if(c){V=W+532|0;ea(c+4|0,da(V|0,4,0,0)|0|0,4,0);ea(V|0,c|0,4,0);ea(W+449>>0|0,1|0,1,0)}sr(W,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X+-4<<4)+16>>0|0,1,0,1)|0|0);break}case 181:{ea(Y|0,tr(da(W|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,a+(X<<4)+16|0)|0|0,4,0);break}case 182:{ea(Y|0,tr(da(W|0,4,0,0)|0|0,0,a+(X<<4)+16|0)|0|0,4,0);break}case 183:{W=a+(X<<4)+16|0;ea(Y+0|0,da(W+0|0,4,0,0)|0|0,4,0);ea(Y+4|0,da(W+4|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(W+8|0,4,0,0)|0|0,4,0);break}case 177:{ea(Y>>0|0,da(a+(X<<4)+16>>0|0,1,0,0)|0|0|0,1,0);break}case 178:{ea(Y>>0|0,5|0,1,0);break}case 184:{ea(Y|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+4|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 191:case 190:case 185:{V=a+(X<<4)+16|0;ea(Y|0,Yq(W,da(a+(X<<4)+14>>0|0,1,0,1)|0|0,0,0,V)|0|0,4,0);W=da(V|0,4,0,0)|0|0;ea(Y+4|0,W|0,4,0);ea(Y+8|0,W+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 187:case 186:{V=a+(X<<4)+16|0;ea(Y|0,Yq(W,27,0,0,V)|0|0,4,0);W=da(V|0,4,0,0)|0|0;ea(Y+4|0,W|0,4,0);ea(Y+8|0,W+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 188:{U=a+(X+-2<<4)+16|0;V=a+(X<<4)+16|0;ea(Y|0,Yq(W,122,Yq(W,27,0,0,U)|0,Yq(W,27,0,0,V)|0,0)|0|0,4,0);ea(Y+4|0,da(U|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(V|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 189:{U=a+(X+-4<<4)+16|0;V=a+(X<<4)+16|0;ea(Y|0,Yq(W,122,Yq(W,27,0,0,U)|0,Yq(W,122,Yq(W,27,0,0,a+(X+-2<<4)+16|0)|0,Yq(W,27,0,0,V)|0,0)|0,0)|0|0,4,0);ea(Y+4|0,da(U|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(V|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 192:{p=a+(X<<4)+16|0;o=a+(X<<4)+20|0;do if(((da(o|0,4,0,0)|0|0)>>>0>1?(f=da(p|0,4,0,0)|0|0,(da(f>>0|0,1,0,0)|0|0)==35):0)?((da(f+1>>0|0,1,0,1)|0|0)+-48|0)>>>0<10:0){if(!(da(W+18>>0|0,1,0,0)|0)){ea(V|0,p|0,4,0);sh(W,20432,V);ea(Y|0,0|0,4,0);break}h=Yq(W,159,0,0,p)|0;ea(Y|0,h|0,4,0);if(h)Cn((da(p|0,4,0,0)|0|0)+1|0,h+28|0)|0}else U=298;while(0);q:do if((U|0)==298?(H=Yq(W,135,0,0,p)|0,ea(Y|0,H|0,4,0),O=da(p|0,4,0,0)|0|0,ea(Y+4|0,O|0,4,0),ea(Y+8|0,O+(da(o|0,4,0,0)|0|0)|0,4,0),O=da(W|0,4,0,0)|0|0,(H|0)!=0):0){r=da(H+8|0,4,0,0)|0|0;h=r+1|0;do if(da(h>>0|0,1,0,0)|0){q=(r|0)==0;if(q)s=0;else{l=r;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;s=l-r&1073741823}r:do if((da(r>>0|0,1,0,0)|0|0)==63){T=Tl(h,y,s+-1|0,1)|0;f=y;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;l=g&65535;ea(H+32|0,l|0,2,0);h=da(O+124|0,4,0,0)|0|0;U=((h|0)<0)<<31>>31;if((f|0)<0|(f|0)==0&g>>>0<1|(T|0)!=0|((f|0)>(U|0)|(f|0)==(U|0)&g>>>0>h>>>0)){ea(V|0,h|0,4,0);sh(W,33296,V);l=0}h=W+440|0;U=da(h|0,4,0,0)|0|0;T=((U|0)<0)<<31>>31;if((f|0)>(T|0)|(f|0)==(T|0)&g>>>0>U>>>0)ea(h|0,g|0,4,0)}else{h=da(W+444|0,4,0,0)|0|0;s:do if((h|0)>0){g=da(W+472|0,4,0,0)|0|0;l=0;e=0;while(1){f=da(g+(l<<2)|0,4,0,0)|0|0;if((f|0)!=0?(Zv(f,r)|0)==0:0)break;e=e+1<<16>>16;l=e<<16>>16;if((l|0)>=(h|0)){U=315;break s}}l=l+1&65535;h=H+32|0;ea(h|0,l|0,2,0);if(l<<16>>16)break r}else U=315;while(0);if((U|0)==315)h=H+32|0;U=W+440|0;l=(da(U|0,4,0,0)|0|0)+1|0;ea(U|0,l|0,4,0);l=l&65535;ea(h|0,l|0,2,0)}while(0);f=l<<16>>16;if(l<<16>>16>0){l=W+444|0;if((f|0)>(da(l|0,4,0,0)|0|0)){h=W+472|0;g=qo(O,da(h|0,4,0,0)|0|0,f<<2,0)|0;if(!g)break q;ea(h|0,g|0,4,0);U=da(l|0,4,0,0)|0|0;ew(g+(U<<2)|0,0,f-U<<2|0)|0;ea(l|0,f|0,4,0)}if((da(r>>0|0,1,0,0)|0|0)==63){h=f+-1|0;if(!(da((da(W+472|0,4,0,0)|0|0)+(h<<2)|0,4,0,0)|0))l=0;else break}else{l=f+-1|0;h=l;l=da((da(W+472|0,4,0,0)|0|0)+(l<<2)|0,4,0,0)|0|0}g=W+472|0;lg(O,l);if(!q?(k=iw(s|0,0,1,0)|0,k=lh(O,k,C)|0,(k|0)!=0):0){jw(k|0,r|0,s|0)|0;ea(k+s>>0|0,0|0,1,0)}else k=0;ea((da(g|0,4,0,0)|0|0)+(h<<2)|0,k|0,4,0)}}else{T=W+440|0;U=(da(T|0,4,0,0)|0|0)+1|0;ea(T|0,U|0,4,0);ea(H+32|0,U|0,2,0)}while(0);if((da(W+64|0,4,0,0)|0|0)==0?(da(W+440|0,4,0,0)|0|0)>(da(O+124|0,4,0,0)|0|0):0)sh(W,33344,V)}while(0);W=da(p|0,4,0,0)|0|0;ea(Y+4|0,W|0,4,0);ea(Y+8|0,W+(da(o|0,4,0,0)|0|0)|0,4,0);break}case 196:{V=a+(X+-3<<4)+16|0;ea(Y|0,vr(W,0,V)|0|0,4,0);ea(Y+4|0,da(V|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 197:{V=a+(X<<4)+16|0;ea(Y|0,vr(W,0,V)|0|0,4,0);W=da(V|0,4,0,0)|0|0;ea(Y+4|0,W|0,4,0);ea(Y+8|0,W+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 193:{U=X+-2|0;V=a+(X<<4)+16|0;ea(Y|0,ur(W,da(a+(U<<4)+16|0,4,0,0)|0|0,V,1)|0|0,4,0);ea(Y+4|0,da(a+(U<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(V|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 194:{ea(Y|0,Yq(W,38,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,0,a+(X+-1<<4)+16|0)|0|0,4,0);ea(Y+4|0,da(a+(X+-5<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 195:{e=a+(X+-1<<4)+16|0;c=da(e|0,4,0,0)|0|0;if(c){if((da(c|0,4,0,0)|0|0)>(da((da(W|0,4,0,0)|0|0)+112|0,4,0,0)|0|0)){ea(V|0,a+(X+-4<<4)+16|0,4,0);sh(W,20576,V);c=da(e|0,4,0,0)|0|0}}else c=0;V=a+(X+-4<<4)+16|0;c=vr(W,c,V)|0;ea(Y|0,c|0,4,0);ea(Y+4|0,da(V|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);if(!((c|0)==0?1:(da(a+(X+-2<<4)+16|0,2,0,0)|0|0)==0)){W=c+4|0;ea(W|0,da(W|0,4,0,0)|0|16|0,4,0)}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{V=X+-2|0;ea(Y|0,Yq(W,da(a+(X+-1<<4)+14>>0|0,1,0,1)|0|0,da(a+(V<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,0)|0|0,4,0);ea(Y+4|0,da(a+(V<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);break}case 206:{U=a+(X<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);ea(Y+8|0,0|0,4,0);break}case 207:{U=a+(X<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);ea(Y+8|0,1|0,4,0);break}case 208:{e=X+-2|0;V=X+-1|0;c=vr(W,kr(W,kr(W,0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0,da(a+(e<<4)+16|0,4,0,0)|0|0)|0,a+(V<<4)+16|0)|0;ea(Y|0,c|0,4,0);if(da(a+(V<<4)+24|0,4,0,0)|0){c=Yq(W,19,c,0,0)|0;ea(Y|0,c|0,4,0)}ea(Y+4|0,da(a+(e<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);if(c){W=c+4|0;ea(W|0,da(W|0,4,0,0)|0|128|0,4,0)}break}case 210:{V=X+-1|0;ea(Y|0,Yq(W,da(a+(X<<4)+14>>0|0,1,0,1)|0|0,da(a+(V<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(Y+4|0,da(a+(V<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 209:{e=X+-4|0;V=X+-3|0;c=vr(W,kr(W,kr(W,kr(W,0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0)|0,da(a+(e<<4)+16|0,4,0,0)|0|0)|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0,a+(V<<4)+16|0)|0;ea(Y|0,c|0,4,0);if(da(a+(V<<4)+24|0,4,0,0)|0){c=Yq(W,19,c,0,0)|0;ea(Y|0,c|0,4,0)}ea(Y+4|0,da(a+(e<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);if(c){W=c+4|0;ea(W|0,da(W|0,4,0,0)|0|128|0,4,0)}break}case 223:{e=a+(X+-1<<4)+16|0;c=da(e|0,4,0,0)|0|0;do if(c){if((da(c|0,4,0,0)|0|0)==1){V=da(c+4|0,4,0,0)|0|0;c=da(V|0,4,0,0)|0|0;ea(V|0,0|0,4,0);Mk(da(W|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0);if(c){V=c+4|0;ea(V|0,(da(V|0,4,0,0)|0)&-769|512|0,4,0)}ea(Y|0,Yq(W,(da(a+(X+-3<<4)+16|0,4,0,0)|0|0)!=0?78:79,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,c,0)|0|0,4,0);break}c=Yq(W,75,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,0,0)|0;ea(Y|0,c|0,4,0);if(!c){Mk(da(W|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0);c=0}else{ea(c+20|0,da(e|0,4,0,0)|0|0,4,0);c=da(Y|0,4,0,0)|0|0;xr(W,c)}if(da(a+(X+-3<<4)+16|0,4,0,0)|0)ea(Y|0,Yq(W,19,c,0,0)|0|0,4,0)}else{ea(Y|0,Yq(W,132,0,0,20616+((da(a+(X+-3<<4)+16|0,4,0,0)|0)<<3)|0)|0|0,4,0);Fk(da(W|0,4,0,0)|0|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0)}while(0);ea(Y+4|0,da(a+(X+-4<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 211:{V=X+-2|0;ea(Y|0,Yq(W,77,da(a+(V<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(Y+4|0,da(a+(V<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 212:{T=X+-2|0;U=a+(X<<4)+16|0;V=Yq(W,73,da(a+(T<<4)+16|0,4,0,0)|0|0,da(U|0,4,0,0)|0|0,0)|0;ea(Y|0,V|0,4,0);ea(Y+4|0,da(a+(T<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);wr(W,da(U|0,4,0,0)|0|0,V,76);break}case 213:{T=X+-3|0;U=a+(X<<4)+16|0;V=Yq(W,148,da(a+(T<<4)+16|0,4,0,0)|0|0,da(U|0,4,0,0)|0|0,0)|0;ea(Y|0,V|0,4,0);ea(Y+4|0,da(a+(T<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);wr(W,da(U|0,4,0,0)|0|0,V,77);break}case 215:case 214:{V=X+-1|0;ea(Y|0,Yq(W,da(a+(V<<4)+14>>0|0,1,0,1)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(Y+4|0,da(a+(V<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);break}case 216:{ea(Y|0,Yq(W,157,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(Y+4|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);break}case 217:{ea(Y|0,Yq(W,158,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(Y+4|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);break}case 220:{d=kr(W,kr(W,0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0)|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0;e=X+-4|0;c=Yq(W,74,da(a+(e<<4)+16|0,4,0,0)|0|0,0,0)|0;ea(Y|0,c|0,4,0);if(!c)Mk(da(W|0,4,0,0)|0|0,d);else ea(c+20|0,d|0,4,0);if(da(a+(X+-3<<4)+16|0,4,0,0)|0)ea(Y|0,Yq(W,19,da(Y|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(Y+4|0,da(a+(e<<4)+20|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);break}case 224:{c=Yq(W,119,0,0,0)|0;ea(Y|0,c|0,4,0);if(!c)Lk(da(W|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,1);else{ea(c+20|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);V=da(Y|0,4,0,0)|0|0;U=V+4|0;ea(U|0,da(U|0,4,0,0)|0|2099200|0,4,0);xr(W,V)}ea(Y+4|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+8|0,(da(a+(X<<4)+16|0,4,0,0)|0|0)+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);break}case 120:{ea(Y|0,jr(W,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,0,0,0,0,0,128,0,0)|0|0,4,0);break}case 118:{ea(Y|0,jr(W,da(a+(X+-6<<4)+16|0,4,0,0)|0|0,da(a+(X+-5<<4)+16|0,4,0,0)|0|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X+-7<<4)+16|0,2,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+20|0,4,0,0)|0|0)|0|0,4,0);break}case 121:{c=jr(W,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,0,0,0,0,0,128,0,0)|0;if(!c){ea(Y|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,4,0);break a}else{ea(c+4>>0|0,116|0,1,0);ea(c+52|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,4,0);ea(Y|0,c|0,4,0);break a}}case 122:{ea(Y|0,1|0,2,0);break}case 124:case 123:{ea(Y|0,0|0,2,0);break}case 243:case 125:{ea(Y|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);break}case 242:case 236:case 161:case 154:case 126:{ea(Y|0,0|0,4,0);break}case 127:{e=X+-1|0;g=kr(W,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,da(a+(e<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,g|0,4,0);if(da(a+(X<<4)+20|0,4,0,0)|0)lr(W,g,a+(X<<4)+16|0,1);k=da(W|0,4,0,0)|0|0;if(g){h=(da(g+4|0,4,0,0)|0|0)+(((da(g|0,4,0,0)|0|0)+-1|0)*20|0)+8|0;lg(k,da(h|0,4,0,0)|0|0);f=da(a+(e<<4)+20|0,4,0,0)|0|0;g=(da(a+(e<<4)+24|0,4,0,0)|0|0)-f|0;if((f|0)!=0?(c=iw(g|0,((g|0)<0)<<31>>31|0,1,0)|0,c=lh(k,c,C)|0,(c|0)!=0):0){jw(c|0,f|0,g|0)|0;ea(c+g>>0|0,0|0,1,0)}else c=0;ea(h|0,c|0,4,0)}break}case 133:{e=lh(da(W|0,4,0,0)|0|0,80,0)|0;if(e){q=e+0|0;d=q+80|0;do{ea(q>>0|0,0|0,1,0);q=q+1|0}while((q|0)<(d|0))}ea(Y|0,e|0,4,0);break}case 134:{g=da(a+(X<<4)+16|0,4,0,0)|0|0;ea(Y|0,g|0,4,0);if(g){e=da(g|0,4,0,0)|0|0;d=e+-1|0;if((d|0)>0)while(1){ea(g+(d*72|0)+44>>0|0,da(g+((e+-2|0)*72|0)+44>>0|0,1,0,0)|0|0|0,1,0);e=d+-1|0;if((e|0)>0){W=d;d=e;e=W}else break}ea(g+44>>0|0,0|0,1,0)}break}case 128:{U=da(W|0,4,0,0)|0|0;ea(V|0,0|0,4,0);ea(V+4|0,0|0,4,0);V=mr(U,116,V,0)|0;ea(Y|0,kr(W,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,V)|0|0,4,0);break}case 132:{ea(Y+4|0,0|0,4,0);break}case 129:{V=Yq(W,116,0,0,a+(X<<4)+16|0)|0;V=Yq(W,122,Yq(W,27,0,0,a+(X+-2<<4)+16|0)|0,V,0)|0;ea(Y|0,kr(W,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,V)|0|0,4,0);break}case 136:{ea(Y|0,0|0,4,0);break}case 137:{V=ir(W,da(a+(X+-6<<4)+16|0,4,0,0)|0|0,a+(X+-5<<4)+16|0,a+(X+-4<<4)+16|0,a+(X+-3<<4)+16|0,0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,V|0,4,0);nr(W,V,a+(X+-2<<4)+16|0);break}case 135:{c=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;ea(Y|0,c|0,4,0);if((c|0)!=0?(t=da(c|0,4,0,0)|0|0,(t|0)>0):0)ea(c+((t+-1|0)*72|0)+44>>0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,1,0);break}case 138:{ea(Y|0,ir(W,da(a+(X+-6<<4)+16|0,4,0,0)|0|0,0,0,a+(X+-2<<4)+16|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 139:{e=a+(X+-6<<4)+16|0;g=da(e|0,4,0,0)|0|0;if((((g|0)==0?(da(a+(X+-2<<4)+20|0,4,0,0)|0|0)==0:0)?(da(a+(X+-1<<4)+16|0,4,0,0)|0|0)==0:0)?(da(a+(X<<4)+16|0,4,0,0)|0|0)==0:0){ea(Y|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,4,0);break a}k=a+(X+-4<<4)+16|0;d=da(k|0,4,0,0)|0|0;h=da(d|0,4,0,0)|0|0;if((h|0)==1){e=ir(W,g,0,0,a+(X+-2<<4)+16|0,0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,e|0,4,0);if(e){S=(da(e|0,4,0,0)|0|0)+-1|0;V=da(k|0,4,0,0)|0|0;U=V+16|0;ea(e+(S*72|0)+16|0,da(U|0,4,0,0)|0|0,4,0);T=V+12|0;ea(e+(S*72|0)+12|0,da(T|0,4,0,0)|0|0,4,0);V=V+28|0;ea(e+(S*72|0)+28|0,da(V|0,4,0,0)|0|0,4,0);ea(T|0,0|0,4,0);ea(U|0,0|0,4,0);ea(V|0,0|0,4,0)}Co(da(W|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0);break a}if(d){f=h+-1|0;if((f|0)>0){g=h;while(1){ea(d+(f*72|0)+44>>0|0,da(d+((g+-2|0)*72|0)+44>>0|0,1,0,0)|0|0|0,1,0);g=f+-1|0;if((g|0)>0){V=f;f=g;g=V}else break}}ea(d+44>>0|0,0|0,1,0)}V=jr(W,0,d,0,0,0,0,512,0,0)|0;ea(Y|0,ir(W,da(e|0,4,0,0)|0|0,0,0,a+(X+-2<<4)+16|0,V,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0)|0|0,4,0);break}case 149:case 140:{ea(Y|0,0|0,4,0);ea(Y+4|0,0|0,4,0);break}case 144:{ea(Y|0,pr(W,a+(X+-1<<4)+16|0,0,0)|0|0,4,0);break}case 145:{ea(Y|0,pr(W,a+(X+-2<<4)+16|0,a+(X+-1<<4)+16|0,0)|0|0,4,0);break}case 146:{ea(Y|0,pr(W,a+(X+-3<<4)+16|0,a+(X+-2<<4)+16|0,a+(X+-1<<4)+16|0)|0|0,4,0);break}case 233:case 231:case 171:case 164:case 147:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 234:case 232:case 170:case 163:case 148:{ea(Y|0,0|0,4,0);break}case 151:{ea(Y|0,0|0,4,0);ea(Y+4|0,1|0,4,0);break}case 143:{ea(Y|0,1|0,4,0);break}case 142:{ea(Y|0,or(da(W|0,4,0,0)|0|0,0,a+(X+-1<<4)+16|0,a+(X<<4)+16|0)|0|0,4,0);break}case 235:case 162:case 155:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 156:{c=kr(W,da(a+(X+-3<<4)+16|0,4,0,0)|0|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,c|0,4,0);if(c)ea((da(c+4|0,4,0,0)|0|0)+(((da(c|0,4,0,0)|0|0)+-1|0)*20|0)+12>>0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,1,0);break}case 157:{c=kr(W,0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0)|0;ea(Y|0,c|0,4,0);if((c|0)!=0?(d=da(c+4|0,4,0,0)|0|0,(d|0)!=0):0)ea(d+12>>0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,1,0);break}case 179:case 153:{ea(Y|0,0|0,4,0);break}case 180:case 152:{ea(Y|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);break}case 159:{ea(Y|0,1|0,4,0);break}case 165:{ea(Y|0,0|0,4,0);ea(Y+4|0,0|0,4,0);break}case 166:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+4|0,0|0,4,0);break}case 167:{ea(Y|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+4|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 168:{ea(Y+4|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0,4,0);ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 172:{e=da(a+(X+-7<<4)+16|0,4,0,0)|0|0;if(e){U=W+532|0;ea(e+4|0,da(U|0,4,0,0)|0|0,4,0);ea(U|0,e|0,4,0);ea(W+449>>0|0,1|0,1,0)}f=a+(X+-4<<4)+16|0;nr(W,da(f|0,4,0,0)|0|0,a+(X+-3<<4)+16|0);g=a+(X+-1<<4)+16|0;e=da(g|0,4,0,0)|0|0;if(e){if((da(e|0,4,0,0)|0|0)>(da((da(W|0,4,0,0)|0|0)+96|0,4,0,0)|0|0)){ea(V|0,20560|0,4,0);sh(W,34544,V);e=da(g|0,4,0,0)|0|0}}else e=0;rr(W,da(f|0,4,0,0)|0|0,e,da(a+(X<<4)+16|0,4,0,0)|0|0,da(a+(X+-5<<4)+16>>0|0,1,0,1)|0|0);break}case 160:case 158:{ea(Y|0,0|0,4,0);break}case 22:{Sq(W,0,a+(X<<4)+16|0);break}case 23:{Sq(W,1,a+(X<<4)+16|0);break}case 24:{Sq(W,2,a+(X<<4)+16|0);break}case 26:{Tq(W,a+(X+-1<<4)+16|0,a+(X<<4)+16|0,da(a+(X+-4<<4)+16|0,4,0,0)|0|0,0,0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0);break}default:{}}while(0);c=da(20912+(b<<1)>>0|0,1,0,0)|0|0;h=c&255;g=da(20913+(b<<1)>>0|0,1,0,0)|0|0;f=g&255;k=(da(a|0,4,0,0)|0|0)-f|0;ea(a|0,k|0,4,0);e=da(22184+((da(21568+((da(a+(X-f<<4)+12|0,2,0,1)|0)<<1)|0,2,0,0)|0|0)+h<<1)|0,2,0,0)|0|0;d=e&65535;do if((e&65535)<642)if(!(g<<24>>24)){jq(a,d,h,Y);break}else{ea(a|0,k+1|0,4,0);X=1-f+X|0;ea(a+(X<<4)+12|0,e|0,2,0);ea(a+(X<<4)+14>>0|0,c|0,1,0);X=a+(X<<4)+16|0;ea(X+0|0,da(Y+0|0,4,0,0)|0|0,4,0);ea(X+4|0,da(Y+4|0,4,0,0)|0|0,4,0);ea(X+8|0,da(Y+8|0,4,0,0)|0|0,4,0);break}else{c=da(Z|0,4,0,0)|0|0;if((k|0)>-1)do On(a);while((da(a|0,4,0,0)|0|0)>-1);ea(Z|0,c|0,4,0)}while(0);i=_;return}function mq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;Z=i;i=i+64|0;if((i|0)>=(j|0))ba();Y=Z+8|0;T=Z;h=Z+24|0;d=Z+16|0;f=wq(a,0,d)|0;do if(!f){if(da(d|0,4,0,0)|0){f=cs(a,b)|0;if(!f)c=0;else e=4}else{f=1;e=4}if((e|0)==4){X=a+43|0;e=(da(X>>0|0,1,0,0)|0|0)==0;do if(!((da(a+46>>0|0,1,0,0)|0)&2)){if(e?(g=a+4|0,W=da(g|0,4,0,0)|0|0,$b[(fa(da((da(W|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](W,24,0)|0,g=da(g|0,4,0,0)|0|0,g=oc[(fa(da((da(g|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](g,0,1,10)|0,(g|0)!=0):0){d=f;c=g;break}W=a+44|0;ea(W>>0|0,1|0,1,0);e=wq(a,0,d)|0;if(!e){d=cs(a,b)|0;if(!d){d=0;c=0}else{V=da(a+45>>0|0,1,0,1)|0|0;U=V+1|0;V=7-V|0;if(!((da(X>>0|0,1,0,0)|0|0)==0?(c=da(a+4|0,4,0,0)|0|0,c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,U,V,10)|0,(c|0)!=0):0)){f=a+52|0;e=f+48|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(e|0));N=a+8|0;c=da(N|0,4,0,0)|0|0;c=qc[(fa(da((da(c|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](c,T)|0;a:do if(!c){O=T;M=da(O+4|0,4,0,0)|0|0;b:do if((M|0)>0|(M|0)==0&(da(O|0,4,0,0)|0|0)>>>0>32){c=da(N|0,4,0,0)|0|0;c=sc[(fa(da((da(c|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](c,h,32,0,0)|0;if(c)break a;g=da(h+3>>0|0,1,0,1)|0|0;e=(da(h+9>>0|0,1,0,1)|0)<<16|(da(h+8>>0|0,1,0,1)|0)<<24;c=(da(h+10>>0|0,1,0,1)|0)<<8;f=e|c|(da(h+11>>0|0,1,0,1)|0);if((((da(h+1>>0|0,1,0,1)|0)<<16|(da(h>>0|0,1,0,1)|0)<<24|(da(h+2>>0|0,1,0,1)|0)<<8|g&254|0)==931071618?!((f+-1&f|0)!=0|(f|0)>65536|(f|0)<512):0)?(O=g&1,P=a+65|0,ea(P>>0|0,O|0,1,0),Q=a+36|0,ea(Q|0,f|0,4,0),ea(a+104|0,(da(h+13>>0|0,1,0,1)|0)<<16|(da(h+12>>0|0,1,0,1)|0)<<24|(da(h+14>>0|0,1,0,1)|0)<<8|(da(h+15>>0|0,1,0,1)|0)|0,4,0),R=a+84|0,S=h+16|0,L=S,L=da(L>>0|0,1,0,1)|0|(da(L+1>>0|0,1,0,1)|0)<<8|(da(L+2>>0|0,1,0,1)|0)<<16|(da(L+3>>0|0,1,0,1)|0)<<24,S=S+4|0,S=da(S>>0|0,1,0,1)|0|(da(S+1>>0|0,1,0,1)|0)<<8|(da(S+2>>0|0,1,0,1)|0)<<16|(da(S+3>>0|0,1,0,1)|0)<<24,M=R,K=M,ea(K>>0|0,L|0,1,0),ea(K+1>>0|0,L>>8|0,1,0),ea(K+2>>0|0,L>>16|0,1,0),ea(K+3>>0|0,L>>24|0,1,0),M=M+4|0,ea(M>>0|0,S|0,1,0),ea(M+1>>0|0,S>>8|0,1,0),ea(M+2>>0|0,S>>16|0,1,0),ea(M+3>>0|0,S>>24|0,1,0),S=a+76|0,xq(O^1,h,24,0,S),(da(S|0,4,0,0)|0|0)==((da(h+25>>0|0,1,0,1)|0)<<16|(da(h+24>>0|0,1,0,1)|0)<<24|(da(h+26>>0|0,1,0,1)|0)<<8|(da(h+27>>0|0,1,0,1)|0)|0)):0){M=a+80|0;if((da(M|0,4,0,0)|0|0)!=((da(h+29>>0|0,1,0,1)|0)<<16|(da(h+28>>0|0,1,0,1)|0)<<24|(da(h+30>>0|0,1,0,1)|0)<<8|(da(h+31>>0|0,1,0,1)|0)|0)){f=0;c=0;break}if(((da(h+5>>0|0,1,0,1)|0)<<16|(da(h+4>>0|0,1,0,1)|0)<<24|(da(h+6>>0|0,1,0,1)|0)<<8|(da(h+7>>0|0,1,0,1)|0)|0)!=3007e3){ea(Y|0,49983|0,4,0);ea(Y+4|0,10788|0,4,0);ad(14,14848,Y);c=14;break a}J=f+24|0;O=Sc(J)|0;if(!O){c=7;break a}K=O+24|0;L=((J|0)<0)<<31>>31;h=iw(J|0,L|0,32,0)|0;f=C;g=T;I=da(g+4|0,4,0,0)|0|0;c:do if(!((f|0)>(I|0)|((f|0)==(I|0)?h>>>0>(da(g|0,4,0,0)|0|0)>>>0:0))){q=O+8|0;r=O+1|0;s=O+2|0;t=O+3|0;u=O+16|0;v=O+17|0;w=O+18|0;x=O+19|0;y=O+20|0;z=O+21|0;A=O+22|0;B=O+23|0;D=O+4|0;E=O+5|0;F=O+6|0;G=O+7|0;H=a+68|0;I=a+72|0;o=(e>>>16|c)&65535;p=a+66|0;k=32;g=0;m=f;f=0;l=0;n=1;while(1){c=da(N|0,4,0,0)|0|0;c=sc[(fa(da((da(c|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](c,O,J,k,g)|0;if(c){e=36;break}if(Yv(R,q,8)|0){c=l;e=37;break}g=(da(r>>0|0,1,0,1)|0)<<16|(da(O>>0|0,1,0,1)|0)<<24|(da(s>>0|0,1,0,1)|0)<<8|(da(t>>0|0,1,0,1)|0);if(!g){c=l;e=37;break}k=(da(P>>0|0,1,0,0)|0|0)==0&1;xq(k,O,8,S,S);xq(k,K,da(Q|0,4,0,0)|0|0,S,S);if((da(S|0,4,0,0)|0|0)!=((da(v>>0|0,1,0,1)|0)<<16|(da(u>>0|0,1,0,1)|0)<<24|(da(w>>0|0,1,0,1)|0)<<8|(da(x>>0|0,1,0,1)|0)|0)){c=l;e=37;break}if((da(M|0,4,0,0)|0|0)!=((da(z>>0|0,1,0,1)|0)<<16|(da(y>>0|0,1,0,1)|0)<<24|(da(A>>0|0,1,0,1)|0)<<8|(da(B>>0|0,1,0,1)|0)|0)){c=l;break c}e=(da(E>>0|0,1,0,1)|0)<<16|(da(D>>0|0,1,0,1)|0)<<24|(da(F>>0|0,1,0,1)|0)<<8|(da(G>>0|0,1,0,1)|0);c=Zo(a,n,g)|0;if(c){e=36;break}if(!e)c=l;else{ea(H|0,n|0,4,0);ea(I|0,e|0,4,0);ea(p|0,o|0,2,0);f=da(S|0,4,0,0)|0|0;c=da(M|0,4,0,0)|0|0}g=iw(h|0,m|0,J|0,L|0)|0;e=C;k=T;l=da(k+4|0,4,0,0)|0|0;if((e|0)>(l|0)|((e|0)==(l|0)?g>>>0>(da(k|0,4,0,0)|0|0)>>>0:0))break c;else{_=m;k=h;h=g;m=e;l=c;n=n+1|0;g=_}}if((e|0)==36){Vc(O);break a}else if((e|0)==37){Vc(O);break b}}else{f=0;c=0}while(0);Vc(O)}else{f=0;c=0}}else{f=0;c=0}while(0);ea(a+76|0,f|0,4,0);ea(a+80|0,c|0,4,0);_o(a);e=da(da(a+32|0,4,0,0)|0|0,4,0,0)|0|0;ea(e+96|0,0|0,4,0);ea(e+100|0,0|0,4,0);c=e+104|0;ea(c|0,-1|0,4,0);ea(e+108|0,-1|0,4,0);ea(e+112|0,-1|0,4,0);ea(e+116|0,-1|0,4,0);e=a+68|0;f=da(e|0,4,0,0)|0|0;if(f)ea(c|0,f|0,4,0);if(!(da(a+72|0,4,0,0)|0))c=0;else{c=da(a+100|0,4,0,0)|0|0;ea(Y|0,da(e|0,4,0,0)|0|0,4,0);ea(Y+4|0,c|0,4,0);ad(283,14888,Y);c=0}}while(0);if(!(da(X>>0|0,1,0,0)|0)){T=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(T|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](T,U,V,9)|0}}ea(b|0,1|0,4,0)}}else{d=f;c=e}ea(W>>0|0,0|0,1,0);if(!(da(X>>0|0,1,0,0)|0)){X=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(X|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](X,0,1,9)|0}}else if(e){d=a+4|0;c=da(d|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,0,1,6)|0;if(!c)if(!(da(X>>0|0,1,0,0)|0)){d=da(d|0,4,0,0)|0|0;oc[(fa(da((da(d|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](d,0,1,5)|0;d=f;c=264}else{d=f;c=264}else d=f}else{d=f;c=264}while(0);if(d)break}if((da(a+52|0,4,0,0)|0|0)!=3007e3){ea(Y|0,50909|0,4,0);ea(Y+4|0,10788|0,4,0);ad(14,14848,Y);c=14}}else c=f;while(0);i=Z;return c|0}function nq(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=da(e|0,4,0,0)|0|0;n=da(d|0,4,0,0)|0|0;h=(m|0)>0;g=(c|0)>0;if(h|g){k=g;i=0;l=0;j=0;while(1){do if(k){g=b+(i<<1)|0;if(h?(o=n+(j<<1)|0,(da(a+((da(g|0,2,0,1)|0|0)<<2)|0,4,0,0)|0|0)>>>0>=(da(a+((da(o|0,2,0,1)|0|0)<<2)|0,4,0,0)|0|0)>>>0):0){h=o;p=7;break}i=i+1|0;h=g}else{h=n+(j<<1)|0;p=7}while(0);if((p|0)==7){p=0;j=j+1|0}k=da(h|0,2,0,0)|0|0;h=da(a+((k&65535)<<2)|0,4,0,0)|0|0;g=l+1|0;ea(f+(l<<1)|0,k|0,2,0);if((i|0)<(c|0))i=((da(a+((da(b+(i<<1)|0,2,0,1)|0|0)<<2)|0,4,0,0)|0|0)==(h|0)&1)+i|0;h=(j|0)<(m|0);k=(i|0)<(c|0);if(!(h|k))break;else l=g}}else g=0;ea(d|0,b|0,4,0);ea(e|0,g|0,4,0);jw(b|0,f|0,g<<1|0)|0;return}function oq(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);a=da((da(d|0,4,0,0)|0|0)+204|0,4,0,0)|0|0;ea(a+16|0,b|0,4,0);d=da(2217*4|0,4,0,0)|0|0;c=da(a+40|0,4,0,0)|0|0;if((b|0)>-1)a=b;else{b=rw(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(da(a+24|0,4,0,0)|0|0)+(da(a+20|0,4,0,0)|0|0)|0;a=pw(b|0,C|0,a|0,((a|0)<0)<<31>>31|0)|0}ic[(fa(d|0,15|0)|0)&15](c,a);return}function pq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=(da(a+12|0,4,0,0)|0|0)+136|0;c=e;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;do if((d|0)==0&(c|0)==0)if(!(ah(da(da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0,0)|0|0,e)|0)){c=e;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;f=5;break}else{c=e;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=b;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=1;break}else f=5;while(0);if((f|0)==5){e=b;ea(e|0,d|0,4,0);ea(e+4|0,c|0,4,0);if((c|0)>0|(c|0)==0&d>>>0>0){ea(b+42>>0|0,1|0,1,0);c=0}else c=1}return c|0}function qq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();l=n;ea(l|0,b|0,4,0);b=a;a=0;a:while(1){f=da(l|0,4,0,0)|0|0;e=da(f|0,4,0,0)|0|0;ea(l|0,f+4|0,4,0);f=da(l|0,4,0,0)|0|0;g=da(f|0,4,0,0)|0|0;ea(l|0,f+4|0,4,0);f=da(l|0,4,0,0)|0|0;h=da(f|0,4,0,0)|0|0;ea(l|0,f+4|0,4,0);f=da(l|0,4,0,0)|0|0;k=da(f|0,4,0,0)|0|0;ea(l|0,f+4|0,4,0);f=da(l|0,4,0,0)|0|0;c=da(f|0,4,0,0)|0|0;ea(l|0,f+4|0,4,0);if(!e){d=b;b=0}else{d=b;b=0;do{e=e+-1|0;f=da(d>>0|0,1,0,0)|0|0;if(((f&255)+-48|0)>>>0>=10)break a;b=(b*10|0)+-48+(f<<24>>24)|0;d=d+1|0}while((e|0)!=0)}if((b|0)<(g|0)|(b|0)>(h|0))break;if(!k){m=9;break}if((k|0)!=(da(d>>0|0,1,0,0)|0|0))break;ea(c|0,b|0,4,0);b=d+1|0;a=a+1|0}if((m|0)==9){ea(c|0,b|0,4,0);a=a+1|0}i=n;return a|0}function rq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0,h=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+64|0;if((i|0)>=(j|0))ba();o=q;m=q+56|0;n=q+52|0;c=q+48|0;k=q+44|0;l=q+40|0;ea(o|0,2|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,24|0,4,0);ea(o+12|0,58|0,4,0);ea(o+16|0,c|0,4,0);ea(o+20|0,2|0,4,0);ea(o+24|0,0|0,4,0);ea(o+28|0,59|0,4,0);ea(o+32|0,0|0,4,0);ea(o+36|0,k|0,4,0);do if((qq(a,o)|0)==2){g=a+5|0;if((da(g>>0|0,1,0,0)|0|0)==58){ea(o|0,2|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,59|0,4,0);ea(o+12|0,0|0,4,0);ea(o+16|0,l|0,4,0);if((qq(a+6|0,o)|0)!=1){c=1;break}g=a+8|0;if((da(g>>0|0,1,0,0)|0|0)==46?(d=a+9|0,e=da(d>>0|0,1,0,0)|0|0,((e&255)+-48|0)>>>0<10):0){h=0.0;f=1.0;do{h=h*10.0+ +(e<<24>>24)+-48.0;f=f*10.0;d=d+1|0;e=da(d>>0|0,1,0,0)|0|0}while(((e&255)+-48|0)>>>0<10);f=h/f}else{d=g;f=0.0}}else{ea(l|0,0|0,4,0);d=g;f=0.0}ea(b+42>>0|0,0|0,1,0);ea(b+41>>0|0,1|0,1,0);ea(b+20|0,da(c|0,4,0,0)|0|0,4,0);ea(b+24|0,da(k|0,4,0,0)|0|0,4,0);ea(b+32|0,+(f+ +(da(l|0,4,0,0)|0|0)),8,1);while(1){c=d+1|0;if(!((da(10368+(da(d>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1)){g=d;break}else d=c}a=b+28|0;ea(a|0,0|0,4,0);d=da(g>>0|0,1,0,0)|0|0;if(d<<24>>24==45){e=-1;p=14}else if(d<<24>>24!=43)if((d&-33)<<24>>24==90){e=0;p=16}else c=0;else{e=1;p=14}if((p|0)==14){ea(o|0,2|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,14|0,4,0);ea(o+12|0,58|0,4,0);ea(o+16|0,m|0,4,0);ea(o+20|0,2|0,4,0);ea(o+24|0,0|0,4,0);ea(o+28|0,59|0,4,0);ea(o+32|0,0|0,4,0);ea(o+36|0,n|0,4,0);if((qq(c,o)|0)!=2){c=1;break}e=_(((da(m|0,4,0,0)|0|0)*60|0)+(da(n|0,4,0,0)|0|0)|0,e)|0;ea(a|0,e|0,4,0);c=g+6|0;p=16}if((p|0)==16)while(1){d=da(c>>0|0,1,0,0)|0|0;if(!((da(10368+(d&255)>>0|0,1,0,0)|0)&1)){c=e;break}else c=c+1|0}if(!(d<<24>>24)){ea(b+43>>0|0,(c|0)!=0&1|0,1,0);c=0}else c=1}else c=1;while(0);i=q;return c|0}function sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0.0,m=0;k=i;i=i+112|0;if((i|0)>=(j|0))ba();f=k+48|0;h=k;g=k+96|0;d=f+0|0;e=a+0|0;a=d+48|0;do{ea(d|0,da(e|0,4,0,0)|0|0,4,0);d=d+4|0;e=e+4|0}while((d|0)<(a|0));no(f);oo(f);a=f+8|0;if(((da(a|0,4,0,0)|0|0)+-1971|0)>>>0>66){ea(a|0,2e3|0,4,0);ea(f+12|0,1|0,4,0);ea(f+16|0,1|0,4,0);ea(f+20|0,0|0,4,0);ea(f+24|0,0|0,4,0);ea(f+32|0,+(0.0),8,1)}else{d=f+32|0;ea(d|0,+(+(~~(+(+da(d|0,8,1,0))+.5)|0)),8,1)}ea(f+28|0,0|0,4,0);ea(f+42>>0|0,0|0,1,0);mo(f);e=f;d=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;a=pw(d|0,e|0,1e3,0)|0;a=iw(a|0,C|0,-413362496,0)|0;ea(g|0,a|0,4,0);a=Ub(g|0)|0;a=(da(2253*4|0,4,0,0)|0|0)!=0?0:a;if(!a){ea(b+20|0,1|0,4,0);ea(b+25>>0|0,1|0,1,0);Wg(da(b|0,4,0,0)|0|0,20056,-1,1,-1)|0;ea(c|0,1|0,4,0);d=0;a=0}else{f=da(a+4|0,4,0,0)|0|0;g=da(a+8|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;m=(da(a+16|0,4,0,0)|0|0)+1|0;l=+(da(a|0,4,0,0)|0|0);ea(h+8|0,(da(a+20|0,4,0,0)|0|0)+1900|0,4,0);ea(h+12|0,m|0,4,0);ea(h+16|0,b|0,4,0);ea(h+20|0,g|0,4,0);ea(h+24|0,f|0,4,0);ea(h+32|0,+l,8,1);ea(h+40>>0|0,1|0,1,0);ea(h+41>>0|0,1|0,1,0);ea(h+42>>0|0,0|0,1,0);ea(h+43>>0|0,0|0,1,0);mo(h);ea(c|0,0|0,4,0);a=h;a=cw(da(a|0,4,0,0)|0|0,da(a+4|0,4,0,0)|0|0,d|0,e|0)|0;d=C}C=d;i=k;return a|0}function tq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n+12|0;h=n;l=n+8|0;g=n+16|0;ea(b>>0|0,0|0,1,0);d=qc[(fa(da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](a,h)|0;f=h;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if(!((d|0)!=0|((f|0)<0|(f|0)==0&e>>>0<16))){d=iw(e|0,f|0,-16,-1)|0;d=ds(a,d,C,m)|0;if(!d){k=da(m|0,4,0,0)|0|0;if(!(k>>>0>=c>>>0|(k|0)==0)){d=h;d=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,-12,-1)|0;d=ds(a,d,C,l)|0;if(!d){d=h;d=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,-8,-1)|0;d=sc[(fa(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](a,g,8,d,C)|0;if(!d)if(!(Yv(g,14808,8)|0)){d=h;d=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,-16,-1)|0;d=cw(d|0,C|0,k|0,0)|0;d=sc[(fa(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](a,b,k,d,C)|0;if(!d){e=da(l|0,4,0,0)|0|0;f=0;while(1){c=da(b+f>>0|0,1,0,0)|0|0;d=e-c|0;f=f+1|0;if(f>>>0>=k>>>0)break;else e=d}ea(l|0,d|0,4,0);if((e|0)==(c|0))d=k;else{ea(m|0,0|0,4,0);d=0}ea(b+d>>0|0,0|0,1,0);d=0}}else d=0}}else d=0}}i=n;return d|0}function uq(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();k=r+8|0;p=r+4|0;n=r;q=a+72|0;g=q;h=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((h|0)==0&(g|0)==0){l=0;m=0;h=da(a+148|0,4,0,0)|0|0}else{l=iw(h|0,g|0,-1,-1)|0;h=da(a+148|0,4,0,0)|0|0;l=pw(l|0,C|0,h|0,0)|0;l=iw(l|0,C|0,1,0)|0;l=rw(l|0,C|0,h|0,0)|0;m=C}o=q;ea(o|0,l|0,4,0);ea(o+4|0,m|0,4,0);o=a+148|0;h=iw(h|0,0,l|0,m|0)|0;g=C;do if(!((g|0)>(d|0)|(g|0)==(d|0)&h>>>0>c>>>0)){if((b|0)==0?(h=a+80|0,(l|0)==(da(h|0,4,0,0)|0|0)?(m|0)==(da(h+4|0,4,0,0)|0|0):0):0)c=a+64|0;else{h=a+64|0;d=da(h|0,4,0,0)|0|0;d=sc[(fa(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](d,k,8,l,m)|0;if(d)break;if(!(Yv(k,14808,8)|0))c=h;else{d=101;break}}k=da(c|0,4,0,0)|0|0;d=iw(l|0,m|0,8,0)|0;d=ds(k,d,C,e)|0;if(!d){e=da(c|0,4,0,0)|0|0;d=iw(l|0,m|0,12,0)|0;d=ds(e,d,C,a+48|0)|0;if(!d){e=da(c|0,4,0,0)|0|0;d=iw(l|0,m|0,16,0)|0;d=ds(e,d,C,f)|0;if(!d){g=q;h=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((h|0)==0&(g|0)==0){f=da(c|0,4,0,0)|0|0;d=iw(l|0,m|0,20,0)|0;d=ds(f,d,C,n)|0;if(d)break;f=da(c|0,4,0,0)|0|0;d=iw(l|0,m|0,24,0)|0;d=ds(f,d,C,p)|0;if(d)break;c=da(p|0,4,0,0)|0|0;if(!c){g=da(a+152|0,4,0,0)|0|0;ea(p|0,g|0,4,0)}else g=c;c=da(n|0,4,0,0)|0|0;if(g>>>0<512|c>>>0<32|g>>>0>65536|c>>>0>65536){d=101;break}if(g+-1&g){d=101;break}if(c+-1&c){d=101;break}d=$k(a,p,-1)|0;ea(o|0,c|0,4,0);g=q;h=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0}else{c=da(o|0,4,0,0)|0|0;d=0}l=iw(h|0,g|0,c|0,0)|0;m=q;ea(m|0,l|0,4,0);ea(m+4|0,C|0,4,0)}}}}else d=101;while(0);i=r;return d|0}function vq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((i|0)>=(j|0))ba();s=x+8|0;l=x+4|0;o=x;v=da(a+200|0,4,0,0)|0|0;w=(d|0)!=0;m=da((w?a+64|0:a+68|0)|0,4,0,0)|0|0;f=b;f=ds(m,da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0,l)|0;do if(!f){u=a+152|0;k=da(u|0,4,0,0)|0|0;f=b;f=iw(da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0,4,0)|0;f=sc[(fa(da((da(m|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](m,v,k,f,C)|0;if(!f){k=da(u|0,4,0,0)|0|0;g=(d<<2)+4+k|0;h=b;h=iw(g|0,((g|0)<0)<<31>>31|0,da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0)|0;g=C;r=b;ea(r|0,h|0,4,0);ea(r+4|0,g|0,4,0);r=da(l|0,4,0,0)|0|0;if((r|0)!=0?(r|0)!=(((da(2514*4|0,4,0,0)|0|0)/(k|0)|0)+1|0):0)if(r>>>0<=(da(a+24|0,4,0,0)|0|0)>>>0?(ci(c,r)|0)==0:0){if(w){f=iw(h|0,g|0,-4,-1)|0;f=ds(m,f,C,o)|0;if(f)break;if(!e){k=da(a+48|0,4,0,0)|0|0;h=(da(u|0,4,0,0)|0|0)+-200|0;if((h|0)>0)do{k=(da(v+h>>0|0,1,0,1)|0|0)+k|0;h=h+-200|0}while((h|0)>0);if((k|0)!=(da(o|0,4,0,0)|0|0)){f=101;break}}}if((c|0)!=0?(n=ai(c,r)|0,(n|0)!=0):0){f=n;break}n=(r|0)==1;if(n?(p=a+142|0,q=da(v+20>>0|0,1,0,0)|0|0,(da(p|0,2,0,0)|0|0)!=(q&255|0)):0)ea(p|0,q&255|0,2,0);if(!(da(a+208|0,4,0,0)|0)){c=a+204|0;l=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(c|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,r,0)|0;l=hl(da(c|0,4,0,0)|0|0,r,l)|0}else l=0;ea(s|0,l|0,4,0);if(w)if(!(da(a+7>>0|0,1,0,0)|0)){h=b;o=da(h+4|0,4,0,0)|0|0;g=a+80|0;c=da(g+4|0,4,0,0)|0|0;h=(o|0)<(c|0)|((o|0)==(c|0)?(da(h|0,4,0,0)|0|0)>>>0<=(da(g|0,4,0,0)|0|0)>>>0:0)}else h=1;else if(!l)h=1;else h=((da(l+24|0,2,0,0)|0)&4)==0;g=da(a+60|0,4,0,0)|0|0;f=da(g|0,4,0,0)|0|0;do if(f){k=da(a+16>>0|0,1,0,0)|0|0;if((k&255)>3){if(!h){t=33;break}}else if(!(k<<24>>24==0&h)){t=33;break}c=da(u|0,4,0,0)|0|0;h=rw(c|0,((c|0)<0)<<31>>31|0,r+-1|0,0)|0;f=sc[(fa(da(f+12|0,4,0,0)|0|0,31|0)|0)&31](g,v,c,h,C)|0;h=a+32|0;if(r>>>0>(da(h|0,4,0,0)|0|0)>>>0)ea(h|0,r|0,4,0);h=da(a+88|0,4,0,0)|0|0;if(!h)k=l;else{$o(h,r,v);k=l}}else t=33;while(0);if((t|0)==33)if((d|0)==0&(l|0)==0){c=a+20|0;ea(c>>0|0,da(c>>0|0,1,0,1)|0|2|0,1,0);f=yg(a,r,s,1)|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&253|0,1,0);if(f)break;k=da(s|0,4,0,0)|0|0;f=k+24|0;ea(f|0,(da(f|0,2,0,1)|0)&65527|0,2,0);So(k);f=0}else{k=l;f=0}if(k){g=da(k+4|0,4,0,0)|0|0;jw(g|0,v|0,da(u|0,4,0,0)|0|0)|0;bc[(fa(da(a+196|0,4,0,0)|0|0,31|0)|0)&31](k);do if(w){if((e|0)!=0?(b,o=da(b+4|0,4,0,0)|0|0,h=a+80|0,c=da(h+4|0,4,0,0)|0|0,(o|0)>(c|0)|((o|0)==(c|0)?(da(b|0,4,0,0)|0|0)>>>0>(da(h|0,4,0,0)|0|0)>>>0:0)):0)break;wl(k)}while(0);if(n){b=a+104|0;g=g+24|0;h=b+16|0;do{ea(b>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;g=g+1|0}while((b|0)<(h|0))}nl(k)}}else f=0;else f=101}}while(0);i=x;return f|0}function wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=a+24|0;if((da(d|0,4,0,0)|0|0)<=(b|0)){f=b+1|0;g=a+32|0;e=Wc(da(g|0,4,0,0)|0|0,f<<2)|0;if(!e){d=7;e=0}else{h=da(d|0,4,0,0)|0|0;ew(e+(h<<2)|0,0,f-h<<2|0)|0;ea(g|0,e|0,4,0);ea(d|0,f|0,4,0);h=5}}else{e=da(a+32|0,4,0,0)|0|0;h=5}if((h|0)==5){g=a+32|0;e=e+(b<<2)|0;do if(!(da(e|0,4,0,0)|0)){if((da(a+43>>0|0,1,0,0)|0|0)!=2){d=da(a+4|0,4,0,0)|0|0;d=sc[(fa(da((da(d|0,4,0,0)|0|0)+52|0,4,0,0)|0|0,31|0)|0)&31](d,b,32768,da(a+44>>0|0,1,0,1)|0|0,e)|0;if((d|0)!=8)break;d=a+46|0;ea(d>>0|0,da(d>>0|0,1,0,1)|0|2|0,1,0);d=0;break}d=pg(32768,0)|0;if(d)ew(d|0,0,32768)|0;ea((da(g|0,4,0,0)|0|0)+(b<<2)|0,d|0,4,0);d=(da((da(g|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0)==0?7:0}else d=0;while(0);e=da((da(g|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0}ea(c|0,e|0,4,0);return d|0}function xq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=b+c|0;if(!d){f=0;c=0}else{f=da(d|0,4,0,0)|0|0;c=da(d+4|0,4,0,0)|0|0}if(!a)do{f=f+c+(mw(da(b|0,4,0,0)|0|0)|0)|0;c=f+c+(mw(da(b+4|0,4,0,0)|0|0)|0)|0;b=b+8|0}while(b>>>0<g>>>0);else do{f=f+c+(da(b|0,4,0,0)|0|0)|0;c=f+c+(da(b+4|0,4,0,0)|0|0)|0;b=b+8|0}while(b>>>0<g>>>0);ea(e|0,f|0,4,0);ea(e+4|0,c|0,4,0);return}function yq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=a+8|0;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((g|0)>(e|0)|(g|0)==(e|0)&f>>>0>d>>>0?(h=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0,j=C,!((j|0)<(g|0)|(j|0)==(g|0)&h>>>0<f>>>0)):0){h=cw(f|0,g|0,d|0,e|0)|0;g=a+4|0;f=da(g|0,4,0,0)|0|0;f=sc[(fa(da((da(f|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](f,b,h,d,e)|0;if(!f){d=iw(h|0,((h|0)<0)<<31>>31|0,d|0,e|0)|0;e=C;f=da(g|0,4,0,0)|0|0;f=qc[(fa(da((da(f|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](f,(da(a+16|0,4,0,0)|0)&19)|0;if(!((h|0)==(c|0)|(f|0)!=0)){c=c-h|0;g=b+h|0;f=e;i=5}}}else{g=b;f=e;i=5}if((i|0)==5){e=da(a+4|0,4,0,0)|0|0;f=sc[(fa(da((da(e|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](e,g,c,d,f)|0}return f|0}function zq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g+8|0;f=g+4|0;d=g;ea(e|0,0|0,4,0);ea(f|0,0|0,4,0);ea(d|0,0|0,4,0);c=a+68|0;b=da(c|0,4,0,0)|0|0;if(b){Oo(a,(b+33|0)>>>12,e,f,d)|0;d=(da(c|0,4,0,0)|0|0)-(da(d|0,4,0,0)|0|0)|0;a=da(e|0,4,0,0)|0|0;c=0;do{b=a+(c<<1)|0;if((da(b|0,2,0,1)|0|0|0)>(d|0))ea(b|0,0|0,2,0);c=c+1|0}while((c|0)!=8192);b=(da(f|0,4,0,0)|0|0)+(d+1<<2)|0;ew(b|0,0,a-b|0)|0}i=g;return}function Aq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();c=e;f=a+204|0;d=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(f|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,b,0)|0;d=hl(da(f|0,4,0,0)|0|0,b,d)|0;do if(!d)c=0;else{if((da(d+26|0,2,0,0)|0|0)==1){ll(d);c=0;break}ea(c|0,0|0,4,0);b=jl(da(a+208|0,4,0,0)|0|0,da(d+20|0,4,0,0)|0|0,c)|0;if(!b){b=kl(d,da(c|0,4,0,0)|0|0)|0;if(!b){bc[(fa(da(a+196|0,4,0,0)|0|0,31|0)|0)&31](d);b=0}}Ag(d);c=b}while(0);b=da(a+88|0,4,0,0)|0|0;if(b)do{ea(b+16|0,1|0,4,0);b=da(b+44|0,4,0,0)|0|0}while((b|0)!=0);i=e;return c|0}function Bq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();x=y;u=da(a+52|0,4,0,0)|0|0;l=(da(u+36|0,4,0,0)|0|0)+-4|0;q=b&65535;v=c&65535;p=v+q|0;w=da(a+56|0,4,0,0)|0|0;if((da(u+22|0,2,0,0)|0)&4)ew(w+q|0,0,v|0)|0;t=da(a+6>>0|0,1,0,1)|0|0;u=t+1|0;g=u&65535;d=u&65535;if((da(w+(d+1)>>0|0,1,0,0)|0|0)==0?(da(w+d>>0|0,1,0,0)|0|0)==0:0){n=c&255;l=(c&65535)>>>8&255;m=p;k=0;h=0;s=23}else{n=g;s=6}a:do if((s|0)==6){while(1){s=0;f=n&65535;h=da(w+(f+1)>>0|0,1,0,0)|0|0;e=h&255;m=(da(w+f>>0|0,1,0,1)|0)<<8|e;g=n;n=m&65535;if(!(m>>>0<q>>>0&(m|0)!=0)){k=h;o=m;break}if(m>>>0<(f+4|0)>>>0){s=8;break}else s=6}if((s|0)==8){ea(x|0,54420|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break}if(o>>>0>l>>>0){ea(x|0,54423|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break}d=c&255;l=(c&65535)>>>8&255;h=(n&65535)>>>8&255;do if((o+-1|0)>>>0<(p+3|0)>>>0)if(p>>>0>o>>>0){ea(x|0,54434|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break a}else{m=((da(w+(o+2)>>0|0,1,0,1)|0)<<8|(da(w+(o+3)>>0|0,1,0,1)|0))+o|0;l=m-q|0;n=l&255;l=(l&65535)>>>8&255;k=da(w+(o+1)>>0|0,1,0,0)|0|0;h=da(w+o>>0|0,1,0,0)|0|0;d=e-p&255;break}else{n=d;m=p;d=0}while(0);do if(f>>>0>u>>>0?(r=((da(w+(f+2)>>0|0,1,0,1)|0)<<8|(da(w+(f+3)>>0|0,1,0,1)|0))+f|0,(r+3|0)>=(q|0)):0)if((q|0)<(r|0)){ea(x|0,54447|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break a}else{l=m-f|0;b=g;n=l&255;l=(l&65535)>>>8&255;d=(d&255)+q-r&255;break}while(0);f=w+(t+7)|0;e=da(f>>0|0,1,0,0)|0|0;if((e&255)<(d&255)){ea(x|0,54453|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break}else{ea(f>>0|0,(e&255)-(d&255)|0,1,0);s=23;break}}while(0);b:do if((s|0)==23){d=b&65535;e=w+(t+5)|0;f=w+(t+6)|0;do if((d|0)==((da(e>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0)|0))if((g&65535|0)==(u|0)){ea(w+u>>0|0,h|0,1,0);ea(w+(t+2)>>0|0,k|0,1,0);ea(e>>0|0,m>>>8|0,1,0);ea(f>>0|0,m|0,1,0);break}else{ea(x|0,54460|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break b}else{x=g&65535;ea(w+x>>0|0,(b&65535)>>>8|0,1,0);ea(w+(x+1)>>0|0,b|0,1,0);ea(w+d>>0|0,h|0,1,0);ea(w+(d+1)>>0|0,k|0,1,0);ea(w+(d+2)>>0|0,l|0,1,0);ea(w+(d+3)>>0|0,n|0,1,0)}while(0);d=a+16|0;ea(d|0,(da(d|0,2,0,1)|0|0)+v|0,2,0);d=0}while(0);i=y;return d|0}function Cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();o=r;n=da(a+6>>0|0,1,0,1)|0|0;q=da(a+56|0,4,0,0)|0|0;m=da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0;g=m+-4|0;a=n+1|0;while(1){h=q+a|0;k=(da(h>>0|0,1,0,1)|0|0)<<8|(da(q+(a+1)>>0|0,1,0,1)|0|0);if(!k){a=0;break}if((k|0)>(g|0)|(k|0)<(a+4|0)){p=4;break}e=q+(k+2)|0;f=q+(k+3)|0;a=(da(e>>0|0,1,0,1)|0|0)<<8|(da(f>>0|0,1,0,1)|0|0);if((a|0)<(b|0))a=k;else{l=e;g=k;p=6;break}}a:do if((p|0)==4){ea(o|0,54252|0,4,0);ea(o+4|0,10788|0,4,0);ad(11,13600,o);ea(c|0,11|0,4,0);a=0}else if((p|0)==6){e=a-b|0;do if((e|0)>=4)if((a+g|0)>(m|0)){ea(o|0,54275|0,4,0);ea(o+4|0,10788|0,4,0);ad(11,13600,o);ea(c|0,11|0,4,0);a=0;break a}else{ea(l>>0|0,e>>>8|0,1,0);ea(f>>0|0,e|0,1,0);break}else{a=q+(n+7)|0;if((da(a>>0|0,1,0,1)|0|0)<=59){n=q+g|0;n=da(n>>0|0,1,0,1)|0|(da(n+1>>0|0,1,0,1)|0)<<8;ea(h>>0|0,n|0,1,0);ea(h+1>>0|0,n>>8|0,1,0);ea(a>>0|0,(da(a>>0|0,1,0,1)|0|0)+e|0,1,0);break}if(!d){a=0;break a}ea(d|0,1|0,4,0);a=0;break a}while(0);a=q+(e+g)|0}while(0);i=r;return a|0}function Dq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();w=y;t=da(a+56|0,4,0,0)|0|0;v=da(a+6>>0|0,1,0,1)|0|0;p=da(a+14|0,2,0,1)|0|0;q=da(a+18|0,2,0,0)|0|0;l=q&65535;m=a+52|0;n=da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0;u=(l<<1)+p|0;o=n+-4|0;r=t+(v+5)|0;s=t+(v+6)|0;a:do if(q<<16>>16){k=n;q=0;c=t;d=0;while(1){f=(q<<1)+p|0;e=t+f|0;f=t+(f+1)|0;g=(da(e>>0|0,1,0,1)|0|0)<<8|(da(f>>0|0,1,0,1)|0|0);if((g|0)<(u|0)|(g|0)>(o|0)){x=3;break}h=(Kp(a,c+g|0)|0)&65535;b=k-h|0;if((b|0)<(u|0)|(h+g|0)>(n|0)){x=5;break}ea(e>>0|0,b>>>8|0,1,0);ea(f>>0|0,b|0,1,0);if(!d)if((b|0)==(g|0))d=0;else{d=da((da(da(m|0,4,0,0)|0|0,4,0,0)|0|0)+200|0,4,0,0)|0|0;c=(da(r>>0|0,1,0,1)|0|0)<<8|(da(s>>0|0,1,0,1)|0|0);jw(d+c|0,t+c|0,k-c|0)|0;c=d;x=9}else x=9;if((x|0)==9){x=0;jw(t+b|0,c+g|0,h|0)|0}q=q+1|0;if((q|0)>=(l|0)){x=11;break a}else k=b}if((x|0)==3){ea(w|0,54184|0,4,0);ea(w+4|0,10788|0,4,0);ad(11,13600,w);b=11;break}else if((x|0)==5){ea(w|0,54196|0,4,0);ea(w+4|0,10788|0,4,0);ad(11,13600,w);b=11;break}}else{b=n;x=11}while(0);if((x|0)==11){ea(r>>0|0,b>>>8|0,1,0);ea(s>>0|0,b|0,1,0);ea(t+(v+1)>>0|0,0|0,1,0);ea(t+(v+2)>>0|0,0|0,1,0);ea(t+(v+7)>>0|0,0|0,1,0);x=b-u|0;ew(t+u|0,0,x|0)|0;if((x|0)==(da(a+16|0,2,0,1)|0|0|0))b=0;else{ea(w|0,54221|0,4,0);ea(w+4|0,10788|0,4,0);ad(11,13600,w);b=11}}i=y;return b|0}function Eq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();e=f;if((da(c|0,4,0,0)|0|0)==0?(qp(a,b,e),d=da(e+18|0,2,0,0)|0|0,d<<16>>16!=0):0){d=d&65535;yp(da(a+52|0,4,0,0)|0|0,(da(b+(d+1)>>0|0,1,0,1)|0|0)<<16|(da(b+d>>0|0,1,0,1)|0|0)<<24|(da(b+(d+2)>>0|0,1,0,1)|0|0)<<8|(da(b+(d+3)>>0|0,1,0,1)|0|0),3,da(a+72|0,4,0,0)|0|0,c)}i=f;return}function Fq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if(!(da(c|0,4,0,0)|0)){g=da(a+52|0,4,0,0)|0|0;e=da(a+56|0,4,0,0)|0|0;f=da(b+56|0,4,0,0)|0|0;d=da(a+6>>0|0,1,0,1)|0|0;h=(da(b+72|0,4,0,0)|0|0)==1?100:0;i=(da(e+(d+5)>>0|0,1,0,1)|0)<<8|(da(e+(d+6)>>0|0,1,0,1)|0);jw(f+i|0,e+i|0,(da(g+36|0,4,0,0)|0|0)-i|0)|0;jw(f+h|0,e+d|0,((da(a+18|0,2,0,1)|0)<<1)+(da(a+14|0,2,0,1)|0|0)|0)|0;ea(b>>0|0,0|0,1,0);d=_p(b)|0;if(d){ea(c|0,d|0,4,0);break}if(da(g+17>>0|0,1,0,0)|0)ea(c|0,Zp(b)|0|0,4,0)}while(0);return}function Gq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=da(a+6>>0|0,1,0,1)|0|0;o=da(a+56|0,4,0,0)|0|0;h=da(a+52|0,4,0,0)|0|0;j=da(h+36|0,4,0,0)|0|0;i=o+j|0;e=da(a+64|0,4,0,0)|0|0;h=da((da(h|0,4,0,0)|0|0)+200|0,4,0,0)|0|0;k=o+(l+5)|0;m=o+(l+6)|0;n=(da(k>>0|0,1,0,1)|0|0)<<8|(da(m>>0|0,1,0,1)|0|0);jw(h+n|0,o+n|0,j-n|0)|0;n=o;if((b|0)>0){j=0;g=e;e=i;while(1){f=da(c+(j<<2)|0,4,0,0)|0|0;if(f>>>0>o>>>0&f>>>0<i>>>0)f=h+(f-n)|0;p=da(d+(j<<1)|0,2,0,1)|0|0;e=e+(0-p)|0;jw(e|0,f|0,p|0)|0;f=e-n|0;ea(g>>0|0,f>>>8|0,1,0);ea(g+1>>0|0,f|0,1,0);j=j+1|0;if((j|0)==(b|0))break;else g=g+2|0}}else e=i;d=a+18|0;ea(d|0,b|0,2,0);ea(a+1>>0|0,0|0,1,0);ea(o+(l+1)>>0|0,0|0,1,0);ea(o+(l+2)>>0|0,0|0,1,0);ea(o+(l+3)>>0|0,(da(d|0,2,0,1)|0|0)>>>8|0,1,0);ea(o+(l+4)>>0|0,da(d|0,2,0,0)|0|0,1,0);d=e-n|0;ea(k>>0|0,d>>>8|0,1,0);ea(m>>0|0,d|0,1,0);ea(o+(l+7)>>0|0,0|0,1,0);return}function Hq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=da(a+56|0,4,0,0)|0|0;m=o+(da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)|0;k=o+((da(a+6>>0|0,1,0,1)|0|0)+8+(da(a+7>>0|0,1,0,1)|0|0))|0;a:do if((b|0)>0){l=o;n=0;e=0;i=0;j=0;while(1){g=da(c+(n<<2)|0,4,0,0)|0|0;if(g>>>0>=k>>>0&g>>>0<m>>>0){f=da(d+(n<<1)|0,2,0,1)|0|0;h=g+f|0;if((i|0)!=(h|0)){if(i)Bq(a,i-l&65535,j&65535)|0;if(h>>>0>m>>>0){e=0;break a}}else f=f+j|0;e=e+1|0}else{g=i;f=j}n=n+1|0;if((n|0)>=(b|0))break;else{i=g;j=f}}if(g)Bq(a,g-o&65535,f&65535)|0}else e=0;while(0);return e|0}function Iq(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;k=da(a+56|0,4,0,0)|0|0;h=da(c|0,4,0,0)|0|0;if(!(da(k+1>>0|0,1,0,0)|0))p=(da(k+2>>0|0,1,0,0)|0|0)!=0;else p=1;a:do if((e|0)>0){n=0;while(1){m=da(g+(n<<1)|0,2,0,1)|0|0;if(p?(o=Cq(a,m,q,0)|0,(o|0)!=0):0)l=o;else{l=h+(0-m)|0;if(l>>>0<b>>>0){h=1;break a}else h=l}jw(l|0,da(f+(n<<2)|0,4,0,0)|0|0,m|0)|0;m=l-k|0;ea(d>>0|0,m>>>8|0,1,0);ea(d+1>>0|0,m|0,1,0);n=n+1|0;if((n|0)>=(e|0)){r=9;break}else d=d+2|0}}else r=9;while(0);if((r|0)==9){ea(c|0,h|0,4,0);h=0}i=s;return h|0}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;d=da(a+44|0,4,0,0)|0|0;g=a;e=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;a:do if(!d){l=a+40|0;d=da(l|0,4,0,0)|0|0;f=((d|0)<0)<<31>>31;k=qw(e|0,g|0,d|0,f|0)|0;if(!k){h=a+8|0;h=cw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,e|0,g|0)|0;o=C;p=da(a+24|0,4,0,0)|0|0;d=sc[(fa(da((da(p|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](p,da(a+36|0,4,0,0)|0|0,(o|0)>(f|0)|(o|0)==(f|0)&h>>>0>d>>>0?d:h,e,g)|0;if(d)break;d=da(l|0,4,0,0)|0|0}h=d-k|0;if((h|0)>=(b|0)){ea(c|0,(da(a+36|0,4,0,0)|0|0)+k|0,4,0);d=a;b=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;ea(d|0,b|0,4,0);ea(d+4|0,C|0,4,0);d=0;break}d=a+16|0;e=da(d|0,4,0,0)|0|0;if((e|0)<(b|0)){e=e<<1;e=(e|0)<128?128:e;while(1)if((e|0)<(b|0))e=e<<1;else{g=e;break}f=a+28|0;e=qg(da(f|0,4,0,0)|0|0,g,((g|0)<0)<<31>>31)|0;if(!e){d=7;break}ea(d|0,g|0,4,0);ea(f|0,e|0,4,0)}else e=da(a+28|0,4,0,0)|0|0;g=a+28|0;jw(e|0,(da(a+36|0,4,0,0)|0|0)+k|0,h|0)|0;k=a;k=iw(da(k|0,4,0,0)|0|0,da(k+4|0,4,0,0)|0|0,h|0,((h|0)<0)<<31>>31|0)|0;d=a;ea(d|0,k|0,4,0);ea(d+4|0,C|0,4,0);d=b-h|0;if((d|0)>0){f=d;do{e=da(l|0,4,0,0)|0|0;e=(f|0)>(e|0)?e:f;d=Jq(a,e,m)|0;if(d)break a;jw((da(g|0,4,0,0)|0|0)+(b-f)|0,da(m|0,4,0,0)|0|0,e|0)|0;f=f-e|0}while((f|0)>0)}ea(c|0,da(g|0,4,0,0)|0|0,4,0);d=0}else{ea(c|0,d+e|0,4,0);b=iw(e|0,g|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;ea(d|0,b|0,4,0);ea(d+4|0,C|0,4,0);d=0}while(0);i=n;return d|0}function Kq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+64|0;if((i|0)>=(j|0))ba();v=y+44|0;x=y;w=y+40|0;t=a+8|0;s=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;u=a+4|0;o=da(u|0,4,0,0)|0|0;Op(da(a+48|0,4,0,0)|0|0,x,da((da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,s,t);n=o+8|0;o=o+12|0;p=x+24|0;q=x+16|0;r=a+16|0;while(1){e=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(o|0,4,0,0)|0|0;g=da(f+(e*56|0)+20|0,4,0,0)|0|0;if(!(da(f+(e*56|0)+24|0,4,0,0)|0)){c=1;b=0;break}k=p;h=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;l=da(q|0,4,0,0)|0|0;m=((g|0)<0)<<31>>31;b=g;d=m;c=0;do{c=c+1|0;b=lw(b|0,d|0,7)|0;d=C}while(((b|0)!=0|(d|0)!=0)&(c|0)<9);h=iw(h|0,k|0,g|0,m|0)|0;h=iw(h|0,C|0,l|0,((l|0)<0)<<31>>31|0)|0;c=iw(h|0,C|0,c|0,((c|0)<0)<<31>>31|0)|0;h=C;b=da(r|0,4,0,0)|0|0;b=iw(b|0,((b|0)<0)<<31>>31|0,s|0,t|0)|0;d=C;if((h|0)>(d|0)|(h|0)==(d|0)&c>>>0>b>>>0){c=1;b=0;break}Pp(x,v,om(v,g,m)|0);Pp(x,da(f+(e*56|0)+32|0,4,0,0)|0|0,g);b=Vm(da(u|0,4,0,0)|0|0,w)|0;if(b){c=0;break}}x=Qp(x,a+56|0)|0;i=y;return (c?x:b)|0}function Lq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();e=c;ea(e|0,d|0,4,0);d=Vk(a,13592,e)|0;lg(a,b);i=c;return d|0}function Mq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=da(a>>0|0,1,0,0)|0|0;if(e<<24>>24!=0&(b|0)>0){g=0;do{if((e+-48&255)<10){f=0;do{f=(f*10|0)+-48+(e<<24>>24)|0;a=a+1|0;e=da(a>>0|0,1,0,0)|0|0}while((e+-48&255)<10);e=0}else{f=0;e=0}ea(c+(g<<1)|0,es(f,e)|0|0,2,0);a=(da(a>>0|0,1,0,0)|0|0)==32?a+1|0:a;g=g+1|0;e=da(a>>0|0,1,0,0)|0|0}while(e<<24>>24!=0&(g|0)<(b|0))}g=d+51|0;ea(g>>0|0,(da(g>>0|0,1,0,0)|0)&-69|0,1,0);a:do if(da(a>>0|0,1,0,0)|0){c=d+44|0;b:while(1){do if(!(Fh(13448,a,10352,0)|0)){if(Fh(13464,a,10352,0)|0){ea(h|0,0|0,4,0);Cn(a+3|0,h)|0;e=da(h|0,4,0,0)|0|0;ea(c|0,es(e,((e|0)<0)<<31>>31)|0|0,2,0);break}if(Fh(13480,a,10352,0)|0)ea(g>>0|0,da(g>>0|0,1,0,0)|0|64|0,1,0)}else ea(g>>0|0,da(g>>0|0,1,0,0)|0|4|0,1,0);while(0);while(1){e=da(a>>0|0,1,0,0)|0|0;if(e<<24>>24==32|e<<24>>24==0)break;a=a+1|0}while(1){f=a+1|0;if(!(e<<24>>24))break a;else if(e<<24>>24!=32)continue b;e=da(f>>0|0,1,0,0)|0|0;a=f}}}while(0);i=k;return}function Nq(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,4,0,0)|0|0;if(!b){b=uh(a)|0;ea(c|0,b|0,4,0);if(b)vh(b,155,0,0,0)|0;if((da(a+408|0,4,0,0)|0|0)==0?((da((da(a|0,4,0,0)|0|0)+60|0,2,0,0)|0)&8)==0:0)ea(a+23>>0|0,1|0,1,0)}return b|0}function Oq(a,b){a=a|0;b=b|0;var c=0;c=(da(a+32|0,4,0,0)|0|0)+-1|0;if((c|0)>(da((da(a+24|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)?(da((da(a+4|0,4,0,0)|0|0)+(c*20|0)>>0|0,1,0,0)|0|0)==b<<24>>24:0){yh(a,c);c=1}else c=0;return c|0}function Pq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=Nq(a)|0;f=d+32|0;fs(a,c,da(f|0,4,0,0)|0|0,(e|0)==55&1,da(d|0,4,0,0)|0|0);if(!((da(d+44>>0|0,1,0,0)|0)&32)){d=da(d+38|0,2,0,0)|0|0;wh(g,vh(g,e,b,da(f|0,4,0,0)|0|0,c)|0,d,-14)}else{f=da(d+8|0,4,0,0)|0|0;a:do if(!f)f=0;else while(1){if(((da(f+51>>0|0,1,0,0)|0)&3)==2)break a;f=da(f+20|0,4,0,0)|0|0;if(!f){f=0;break}}while(0);vh(g,e,b,da(f+40|0,4,0,0)|0|0,c)|0;d=da(a+8|0,4,0,0)|0|0;wh(d,-1,gs(a,f)|0,-6)}return}function Qq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)==-97:0)vh(da(a+8|0,4,0,0)|0|0,33,da(b+28|0,4,0,0)|0|0,c,0)|0;else f=4;if(((f|0)==4?(e=hs(a,b,c)|0,(e|0)!=(c|0)):0)?(d=da(a+8|0,4,0,0)|0|0,(d|0)!=0):0)vh(d,34,e,c,0)|0;return}function Rq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=da(a|0,4,0,0)|0|0;do if(((da(f+145>>0|0,1,0,0)|0|0)==0?(da(a+451>>0|0,1,0,0)|0|0)==0:0)?(g=da(f+284|0,4,0,0)|0|0,(g|0)!=0):0){f=jc[(fa(g|0,7|0)|0)&7](da(f+288|0,4,0,0)|0|0,b,c,d,e,da(a+492|0,4,0,0)|0|0)|0;if((f|0)==0|(f|0)==2)break;else if((f|0)==1){sh(a,25216,h);ea(a+12|0,23|0,4,0);f=1;break}else{sh(a,25232,h);ea(a+12|0,1|0,4,0);f=1;break}}else f=0;while(0);i=k;return f|0}function Sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Vq(da(a|0,4,0,0)|0|0,c)|0;do if(c){d=Nq(a)|0;if((d|0)!=0?(Rq(a,32,da(37088+(b<<2)|0,4,0,0)|0|0,c,0)|0)==0:0){wh(d,vh(d,2,b,0,0)|0,c,-1);break}lg(da(a|0,4,0,0)|0|0,c)}while(0);return}function Tq(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();n=r;l=r+4|0;q=da(a|0,4,0,0)|0|0;b=dr(a,b,c,l)|0;a:do if((b|0)>=0){m=(d|0)!=0;if(m?(da(c+4|0,4,0,0)|0|0)!=0&(b|0)!=1:0){sh(a,36976,n);break}p=m?1:b;c=da(l|0,4,0,0)|0|0;m=c;l=da(m+4|0,4,0,0)|0|0;b=a+496|0;ea(b|0,da(m|0,4,0,0)|0|0,4,0);ea(b+4|0,l|0,4,0);l=Vq(q,c)|0;if(l){b:do if((Kr(a,l)|0)==0?(k=(da(q+144>>0|0,1,0,0)|0|0)==1?1:d,o=q+16|0,h=da((da(o|0,4,0,0)|0|0)+(p<<4)|0,4,0,0)|0|0,(Rq(a,18,(k|0)==1?13184:13208,0,h)|0)==0):0){d=(k|0)!=0;if(!e)b=d?4:2;else b=d?6:8;m=(f|0)!=0;if(!m?(Rq(a,b,l,0,h)|0)!=0:0)break;do if(!(da(a+451>>0|0,1,0,0)|0)){d=da((da(o|0,4,0,0)|0|0)+(p<<4)|0,4,0,0)|0|0;if(Fn(a)|0)break b;if(!(Zh(q,l,d)|0)){if(!(aq(q,l,d)|0))break;ea(n|0,l|0,4,0);sh(a,37048,n);break b}if(!g){ea(n|0,c|0,4,0);sh(a,37024,n);break b}else{zr(a,p);break b}}while(0);k=lh(q,76,0)|0;if(!k){ea(q+65>>0|0,1|0,1,0);ea(a+12|0,7|0,4,0);o=a+64|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);break}h=k+0|0;d=h+76|0;do{ea(h>>0|0,0|0,1,0);h=h+1|0}while((h|0)<(d|0));ea(k|0,l|0,4,0);ea(k+36|0,-1|0,2,0);h=da((da(o|0,4,0,0)|0|0)+(p<<4)+12|0,4,0,0)|0|0;ea(k+68|0,h|0,4,0);ea(k+40|0,1|0,2,0);ea(k+28|0,200|0,2,0);ea(a+484|0,k|0,4,0);if((da(a+18>>0|0,1,0,0)|0|0)==0?(Zv(l,26576)|0)==0:0)ea(h+72|0,k|0,4,0);if(da(q+145>>0|0,1,0,0)|0)break a;c=Nq(a)|0;if(!c)break a;o=da(a+408|0,4,0,0)|0|0;zr(a,p);h=1<<p;o=((o|0)==0?a:o)+328|0;ea(o|0,da(o|0,4,0,0)|0|h|0,4,0);if(m)vh(c,146,0,0,0)|0;k=a+72|0;b=da(k|0,4,0,0)|0|0;l=b+1|0;ea(a+384|0,l|0,4,0);m=b+2|0;ea(a+388|0,m|0,4,0);b=b+3|0;ea(k|0,b|0,4,0);vh(c,51,p,b,2)|0;k=c+96|0;ea(k|0,da(k|0,4,0,0)|0|h|0,4,0);k=vh(c,45,b,0,0)|0;vh(c,25,((da(q+24|0,4,0,0)|0)&32768|0)!=0?1:4,b,0)|0;vh(c,52,p,2,b)|0;vh(c,25,da(q+62>>0|0,1,0,1)|0|0,b,0)|0;vh(c,52,p,5,b)|0;d=c+32|0;h=da(d|0,4,0,0)|0|0;if(h>>>0>k>>>0)ea((da(c+4|0,4,0,0)|0|0)+(k*20|0)+8|0,h|0,4,0);ea((da(c+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);if(!(f|e))ea(a+416|0,vh(c,121,p,m,0)|0|0,4,0);else vh(c,25,0,m,0)|0;is(a,p);vh(c,74,0,l,0)|0;vh(c,28,0,b,0)|0;vh(c,75,0,b,l)|0;h=da(c+4|0,4,0,0)|0|0;if(h)ea(h+(((da(d|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);vh(c,61,0,0,0)|0;break a}while(0);lg(q,l)}}while(0);i=r;return}function Uq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=i;i=i+176|0;if((i|0)>=(j|0))ba();E=J+80|0;B=J+168|0;y=J;z=J+136|0;A=J+112|0;F=da(a|0,4,0,0)|0|0;a:do if((!((c|0)==0&(e|0)==0)?(G=F+65|0,(da(G>>0|0,1,0,0)|0|0)==0):0)?(H=a+484|0,I=da(H|0,4,0,0)|0|0,(I|0)!=0):0){D=F+145|0;if(da(D>>0|0,1,0,0)|0)ea(I+32|0,da(F+140|0,4,0,0)|0|0,4,0);b:do if(d&32){k=I+44|0;h=da(k>>0|0,1,0,1)|0|0;if(h&8){sh(a,36584,E);break a}if(!(h&4)){ea(E|0,da(I|0,4,0,0)|0|0,4,0);sh(a,36640,E);break}ea(k>>0|0,h|32|0,1,0);l=da(a+8|0,4,0,0)|0|0;k=da(a+416|0,4,0,0)|0|0;if(k){if((k|0)<0)k=(da(l+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(l|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))k=(da(l+4|0,4,0,0)|0|0)+(k*20|0)|0;else k=29120;ea(k>>0|0,120|0,1,0)}k=da(a+420|0,4,0,0)|0|0;if(k){if((k|0)<0)k=(da(l+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(l|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))h=(da(l+4|0,4,0,0)|0|0)+(k*20|0)|0;else h=29120;ea(h>>0|0,16|0,1,0)}h=I+36|0;if((da(h|0,2,0,0)|0|0)>-1){k=kr(a,0,0)|0;if(!k)break;u=jh(da(a|0,4,0,0)|0|0,da((da(I+4|0,4,0,0)|0|0)+((da(h|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0)|0;v=da(k+4|0,4,0,0)|0|0;ea(v+4|0,u|0,4,0);ea(v+12>>0|0,da(a+448>>0|0,1,0,0)|0|0|0,1,0);k=_q(a,0,0,0,k,da(I+45>>0|0,1,0,1)|0|0,0,0,0,0)|0;if(!k)break;p=k+51|0;ea(p>>0|0,(da(p>>0|0,1,0,0)|0)&-4|2|0,1,0);ea(h|0,-1|0,2,0);p=da(k+46|0,2,0,0)|0|0}else{k=da(I+8|0,4,0,0)|0|0;c:do if(!k)k=0;else while(1){if(((da(k+51>>0|0,1,0,0)|0)&3)==2)break c;k=da(k+20|0,4,0,0)|0|0;if(!k){k=0;break}}while(0);q=k+46|0;l=da(q|0,2,0,0)|0|0;if((l&65535)>1){o=da(k+4|0,4,0,0)|0|0;n=k+48|0;p=1;h=1;do{f=da(o+(p<<1)|0,2,0,0)|0|0;m=h;g=o;while(1){if((m|0)<=0){x=36;break}if((da(g|0,2,0,0)|0|0)==f<<16>>16){x=35;break}else{m=m+-1|0;g=g+2|0}}if((x|0)==35){x=0;ea(n|0,(da(n|0,2,0,0)|0|0)+-1<<16>>16|0,2,0)}else if((x|0)==36){x=0;ea(o+(h<<1)|0,f|0,2,0);l=da(q|0,2,0,0)|0|0;h=h+1|0}p=p+1|0}while((p|0)<(l&65535|0))}else h=1;p=h&65535;ea(q|0,p|0,2,0)}m=k+51|0;l=da(m>>0|0,1,0,0)|0|32;ea(m>>0|0,l|0,1,0);v=p&65535;if(!(da(F+147>>0|0,1,0,0)|0)){if(p<<16>>16){l=da(k+4|0,4,0,0)|0|0;h=da(I+4|0,4,0,0)|0|0;g=0;do{ea(h+((da(l+(g<<1)|0,2,0,0)|0|0)*24|0)+20>>0|0,1|0,1,0);g=g+1|0}while((g|0)<(v|0));l=da(m>>0|0,1,0,0)|0|0}ea(m>>0|0,l|8|0,1,0)}ea(k+40|0,da(I+32|0,4,0,0)|0|0,4,0);m=da(I+8|0,4,0,0)|0|0;if(m){s=p<<16>>16==0;t=k+4|0;u=k+32|0;do{d:do if(((da(m+51>>0|0,1,0,0)|0)&3)!=2){do if(s)l=da(m+46|0,2,0,0)|0|0;else{n=da(m+4|0,4,0,0)|0|0;l=da(m+46|0,2,0,0)|0|0;g=l&65535;f=da(t|0,4,0,0)|0|0;r=0;h=0;do{o=da(f+(r<<1)|0,2,0,0)|0|0;q=g;p=n;while(1){if((q|0)<=0){p=1;break}if((da(p|0,2,0,0)|0|0)==o<<16>>16){p=0;break}else{q=q+-1|0;p=p+2|0}}h=p+h|0;r=r+1|0}while((r|0)<(v|0));g=m+46|0;if(!h)break;if(js(F,m,(l&65535)+h|0)|0)break b;if(s)break d;o=da(g|0,2,0,0)|0|0;r=m+4|0;f=m+32|0;q=o;p=0;o=o&65535;while(1){l=da(r|0,4,0,0)|0|0;h=da((da(t|0,4,0,0)|0|0)+(p<<1)|0,2,0,0)|0|0;q=q&65535;n=l;while(1){if((q|0)<=0){x=63;break}if((da(n|0,2,0,0)|0|0)==h<<16>>16)break;else{q=q+-1|0;n=n+2|0}}if((x|0)==63){x=0;ea(l+(o<<1)|0,h|0,2,0);ea((da(f|0,4,0,0)|0|0)+(o<<2)|0,da((da(u|0,4,0,0)|0|0)+(p<<2)|0,4,0,0)|0|0,4,0);o=o+1|0}p=p+1|0;if((p|0)>=(v|0))break d;q=da(g|0,2,0,0)|0|0}}while(0);ea(m+48|0,l|0,2,0)}while(0);m=da(m+20|0,4,0,0)|0|0}while((m|0)!=0)}q=I+38|0;l=da(q|0,2,0,0)|0|0;h=l<<16>>16;if((v|0)>=(h|0)){ea(k+48|0,l|0,2,0);break}if((js(F,k,h)|0)==0?(w=da(q|0,2,0,0)|0|0,w<<16>>16>0):0){n=k+4|0;p=k+32|0;l=w;o=0;k=v;do{g=da(n|0,4,0,0)|0|0;m=k;h=g;while(1){if((m|0)<=0){x=74;break}if((da(h|0,2,0,0)|0|0)==(o|0))break;else{m=m+-1|0;h=h+2|0}}if((x|0)==74){x=0;ea(g+(k<<1)|0,o|0,2,0);ea((da(p|0,4,0,0)|0|0)+(k<<2)|0,11152|0,4,0);l=da(q|0,2,0,0)|0|0;k=k+1|0}o=o+1|0}while((o|0)<(l<<16>>16|0))}}while(0);x=I+68|0;k=da(x|0,4,0,0)|0|0;e:do if(k){h=da(F+20|0,4,0,0)|0|0;if((h|0)>0){g=da(F+16|0,4,0,0)|0|0;l=0;while(1){f=l+1|0;if((da(g+(l<<4)+12|0,4,0,0)|0|0)==(k|0))break e;if((f|0)<(h|0))l=f;else{l=f;break}}}else l=0}else l=-1e6;while(0);g=da(I+24|0,4,0,0)|0|0;f:do if(g){ea(z+0|0,0|0,4,0);ea(z+4|0,0|0,4,0);ea(z+8|0,0|0,4,0);ea(z+12|0,0|0,4,0);ea(z+16|0,0|0,4,0);ea(z+20|0,0|0,4,0);ea(z+24|0,0|0,4,0);ea(z+28|0,0|0,4,0);k=y+0|0;h=k+80|0;do{ea(k|0,0|0,4,0);k=k+4|0}while((k|0)<(h|0));ea(y|0,1|0,4,0);ea(y+16|0,da(I|0,4,0,0)|0|0,4,0);ea(y+24|0,I|0,4,0);ea(y+48|0,-1|0,4,0);ea(z|0,a|0,4,0);ea(z+4|0,y|0,4,0);ea(z+28|0,4|0,2,0);k=g+4|0;if((da(g|0,4,0,0)|0|0)>0){h=0;do{if(ks(z,da((da(k|0,4,0,0)|0|0)+(h*20|0)|0,4,0,0)|0|0)|0)break f;h=h+1|0}while((h|0)<(da(g|0,4,0,0)|0|0))}}while(0);v=I+38|0;f=da(v|0,2,0,0)|0|0;if(f<<16>>16>0){k=f<<16>>16;h=da(I+4|0,4,0,0)|0|0;g=0;while(1){g=(da(h+22>>0|0,1,0,1)|0|0)+g|0;k=k+-1|0;if((k|0)<=0)break;else h=h+24|0}}else g=0;ea(I+42|0,es(((da(I+36|0,2,0,1)|0|0)>>>15&65535)+g<<2,0)|0|0,2,0);g=da(I+8|0,4,0,0)|0|0;if(g)do{ls(g);g=da(g+20|0,4,0,0)|0|0}while((g|0)!=0);if(!(da(D>>0|0,1,0,0)|0)){w=Nq(a)|0;if(!w)break;vh(w,61,0,0,0)|0;t=(da(I+12|0,4,0,0)|0|0)==0;h=t?36672:36680;t=t?31232:35480;do if(!e){g=d<<24>>24==0?c:a+504|0;e=da(g|0,4,0,0)|0|0;k=da(a+496|0,4,0,0)|0|0;f=e-k|0;if((da(e>>0|0,1,0,0)|0|0)!=59)f=(da(g+4|0,4,0,0)|0|0)+f|0;ea(E|0,h|0,4,0);ea(E+4|0,f|0,4,0);ea(E+8|0,k|0,4,0);k=a+388|0;f=I;h=th(F,36688,E)|0}else{k=a+388|0;vh(w,55,1,da(k|0,4,0,0)|0|0,l)|0;h=da(w+4|0,4,0,0)|0|0;if(h)ea(h+(((da(w+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,4|0,1,0);ea(a+68|0,2|0,4,0);ea(A>>0|0,14|0,1,0);ea(A+4|0,1|0,4,0);ea(A+1>>0|0,0|0,1,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);hr(a,e,A)|0;vh(w,61,1,0,0)|0;if(!(da(a+64|0,4,0,0)|0)){f=ms(a,e)|0;if(!f)break a;A=f+38|0;ea(v|0,da(A|0,2,0,0)|0|0|0,2,0);e=f+4|0;ea(I+4|0,da(e|0,4,0,0)|0|0,4,0);ea(A|0,0|0,2,0);ea(e|0,0|0,4,0);jg(F,f)}u=I+4|0;r=da(v|0,2,0,0)|0|0;if(r<<16>>16>0){n=r<<16>>16;o=0;h=0;p=da(u|0,4,0,0)|0|0;while(1){f=da(p|0,4,0,0)|0|0;g=0;while(1){m=da(f>>0|0,1,0,0)|0|0;if(m<<24>>24==34)g=g+1|0;else if(!(m<<24>>24))break;f=f+1|0;g=g+1|0}h=h+7+g|0;o=o+1|0;if((o|0)==(n|0))break;else p=p+24|0}m=h+2|0}else m=2;f=da(I|0,4,0,0)|0|0;h=0;while(1){g=da(f>>0|0,1,0,0)|0|0;if(!(g<<24>>24))break;else if(g<<24>>24==34)h=h+1|0;f=f+1|0;h=h+1|0}p=h+m|0;s=(p|0)<50;m=s?10360:36880;q=s?20240:36888;s=s?33952:36896;p=((r<<16>>16)*6|0)+35+p|0;h=pg(p,((p|0)<0)<<31>>31)|0;if(!h){ea(G>>0|0,1|0,1,0);f=I;h=0;break}$c(p,h,36904,E)|0;g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;ea(B|0,g-h&1073741823|0,4,0);ns(h,B,da(I|0,4,0,0)|0|0);f=da(B|0,4,0,0)|0|0;n=f+1|0;ea(B|0,n|0,4,0);ea(h+f>>0|0,40|0,1,0);f=p-n|0;g=h+n|0;if((da(v|0,2,0,0)|0|0)>0){r=0;o=da(u|0,4,0,0)|0|0;while(1){$c(f,g,m,E)|0;g=h+n|0;if(!g)g=0;else{m=g;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;g=m-g&1073741823}ea(B|0,g+n|0,4,0);ns(h,B,da(o|0,4,0,0)|0|0);g=da(36920+((da(o+21>>0|0,1,0,0)|0|0)+-65<<2)|0,4,0,0)|0|0;m=g;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;n=m-g&1073741823;m=da(B|0,4,0,0)|0|0;jw(h+m|0,g|0,n|0)|0;n=m+n|0;ea(B|0,n|0,4,0);m=r+1|0;f=p-n|0;g=h+n|0;if((m|0)<(da(v|0,2,0,0)|0|0)){r=m;o=o+24|0;m=q}else break}}ea(E|0,s|0,4,0);$c(f,g,10344,E)|0;f=I}while(0);g=F+16|0;d=da(f|0,4,0,0)|0|0;A=da(k|0,4,0,0)|0|0;e=da(a+384|0,4,0,0)|0|0;ea(E|0,da((da(g|0,4,0,0)|0|0)+(l<<4)|0,4,0,0)|0|0,4,0);ea(E+4|0,((l|0)==1?13184:13208)|0,4,0);ea(E+8|0,t|0,4,0);ea(E+12|0,d|0,4,0);ea(E+16|0,d|0,4,0);ea(E+20|0,A|0,4,0);ea(E+24|0,h|0,4,0);ea(E+28|0,e|0,4,0);Ar(a,36704,E);lg(F,h);Cr(a,l);if(((da(I+44>>0|0,1,0,0)|0)&8)!=0?(C=da(g|0,4,0,0)|0|0,(da((da(C+(l<<4)+12|0,4,0,0)|0|0)+72|0,4,0,0)|0|0)==0):0){ea(E|0,da(C+(l<<4)|0,4,0,0)|0|0,4,0);Ar(a,36792,E)}ea(E|0,da(f|0,4,0,0)|0|0,4,0);Hr(w,l,th(F,36840,E)|0);if(!(da(D>>0|0,1,0,0)|0))break}else f=I;if(Hk((da(x|0,4,0,0)|0|0)+8|0,da(f|0,4,0,0)|0|0,I)|0){ea(G>>0|0,1|0,1,0);break}ea(H|0,0|0,4,0);e=F+24|0;ea(e|0,da(e|0,4,0,0)|0|2|0,4,0);if(!(da(I+12|0,4,0,0)|0)){f=da(a+496|0,4,0,0)|0|0;ea(I+48|0,(Mn(f,(da(((da(b|0,4,0,0)|0|0)==0?c:b)|0,4,0,0)|0|0)-f|0)|0)+13|0,4,0)}}while(0);i=J;return}function Vq(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)c=0;else{d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if((d|0)!=0?(c=iw(b|0,0,1,0)|0,c=lh(a,c,C)|0,(c|0)!=0):0){jw(c|0,d|0,b|0)|0;ea(c+b>>0|0,0|0,1,0)}else c=0;ko(c)}return c|0}function Wq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;a:do if(a){d=da(a>>0|0,1,0,0)|0|0;b:do if(!(d<<24>>24)){c=67;d=0}else{f=d;c=67;e=0;d=0;do{e=da(9328+(f&255)>>0|0,1,0,1)|0|0|e<<8;a=a+1|0;if((e|0)==1651273570)if(c<<24>>24==69|c<<24>>24==67){l=da(a>>0|0,1,0,0)|0|0;f=l;c=65;e=1651273570;d=l<<24>>24==40?a:d}else g=14;else if((e|0)==1685026146)if(c<<24>>24==67){c=69;e=1685026146;g=5}else g=13;else if((e|0)==1667785074){c=66;e=1667785074;d=a;g=5}else if((e|0)==1668050786){c=66;g=5}else if((e|0)==1952807028){c=66;g=5}else if((e|0)==1919246700)if(c<<24>>24==67){c=69;e=1919246700;g=5}else g=14;else if((e|0)==1718382433)if(c<<24>>24==67){c=69;e=1718382433;g=5}else g=13;else if((e&16777215|0)==6909556){c=68;break b}else g=5;if((g|0)==13)g=5;else if((g|0)==14)g=5;if((g|0)==5){g=0;f=da(a>>0|0,1,0,0)|0|0}}while(f<<24>>24!=0)}while(0);if((b|0)!=0?(ea(b>>0|0,1|0,1,0),c<<24>>24<67):0){if(!d){ea(b>>0|0,5|0,1,0);break}a=da(d>>0|0,1,0,0)|0|0;if(a<<24>>24){while(1){if(((a&255)+-48|0)>>>0<10)break;d=d+1|0;a=da(d>>0|0,1,0,0)|0|0;if(!(a<<24>>24))break a}ea(h|0,0|0,4,0);Cn(d,h)|0;d=((da(h|0,4,0,0)|0|0)/4|0)+1|0;d=(d|0)>255?255:d;ea(h|0,d|0,4,0);ea(b>>0|0,d|0,1,0)}}}else c=67;while(0);i=k;return c|0}function Xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;k=i;i=i+32|0;if((i|0)>=(j|0))ba();g=k;h=da(a|0,4,0,0)|0|0;e=da(a+484|0,4,0,0)|0|0;do if(e){d=(da(e+38|0,2,0,0)|0|0)+-1|0;f=da(e+4|0,4,0,0)|0|0;l=da(b|0,4,0,0)|0|0;m=(da(h+145>>0|0,1,0,1)|0|0)+4|0;ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);ea(g+16|0,0|0,4,0);ea(g+20|0,0|0,4,0);e=g+20|0;ea(e>>0|0,m|0,1,0);ea(g|0,78|0,4,0);ea(g+4|0,79|0,4,0);ea(g+24|0,0|0,4,0);qs(g,l)|0;if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,da(f+(d*24|0)|0,4,0,0)|0|0,4,0);sh(a,36480,g);break}e=f+(d*24|0)+4|0;Fk(h,da(e|0,4,0,0)|0|0);ea(e|0,Lr(h,da(b|0,4,0,0)|0|0,1,0)|0|0,4,0);f=f+(d*24|0)+8|0;lg(h,da(f|0,4,0,0)|0|0);d=da(b+4|0,4,0,0)|0|0;e=(da(b+8|0,4,0,0)|0|0)-d|0;if((d|0)!=0?(c=iw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,c=lh(h,c,C)|0,(c|0)!=0):0){jw(c|0,d|0,e|0)|0;ea(c+e>>0|0,0|0,1,0)}else c=0;ea(f|0,c|0,4,0)}while(0);Fk(h,da(b|0,4,0,0)|0|0);i=k;return}function Yq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;if((b|0)==72&(c|0)!=0&(d|0)!=0?(da(a+64|0,4,0,0)|0|0)==0:0)b=rs(da(a|0,4,0,0)|0|0,c,d)|0;else{b=mr(da(a|0,4,0,0)|0|0,b,e,1)|0;ss(da(a|0,4,0,0)|0|0,b,c,d)}if((b|0)!=0?(f=da((da(a|0,4,0,0)|0|0)+100|0,4,0,0)|0|0,(f|0)<(da(b+24|0,4,0,0)|0|0)):0){ea(g|0,f|0,4,0);sh(a,27152,g)}i=h;return b|0}function Zq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();v=w;t=da(a+484|0,4,0,0)|0|0;do if((t|0)!=0?(da(a+451>>0|0,1,0,0)|0|0)==0:0){u=t+44|0;g=da(u>>0|0,1,0,1)|0|0;if(g&4){ea(v|0,da(t|0,4,0,0)|0|0,4,0);sh(a,36376,v);break}r=g|4;ea(u>>0|0,r|0,1,0);s=(b|0)==0;if(s){g=(da(t+38|0,2,0,0)|0|0)+-1|0;p=da(t+4|0,4,0,0)|0|0;f=p+(g*24|0)+23|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);f=g;h=1;g=da(p+(g*24|0)+12|0,4,0,0)|0|0}else{q=da(b|0,4,0,0)|0|0;if((q|0)>0){n=b+4|0;o=t+4|0;m=da(t+38|0,2,0,0)|0|0;p=0;g=0;do{a:do if(m<<16>>16>0){k=da((da(n|0,4,0,0)|0|0)+(p*20|0)+4|0,4,0,0)|0|0;l=da(o|0,4,0,0)|0|0;h=0;while(1){f=h+1|0;if(!(cd(k,da(l+(h*24|0)|0,4,0,0)|0|0)|0))break;if((f|0)<(m<<16>>16|0))h=f;else break a}f=l+(h*24|0)+23|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);f=h;g=da(l+(h*24|0)+12|0,4,0,0)|0|0}else f=0;while(0);p=p+1|0}while((p|0)!=(q|0))}else{f=-1;g=0}h=(q|0)==1}if(h&(g|0)!=0?(cd(g,11144)|0|e|0)==0:0){ea(t+36|0,f|0,2,0);ea(t+45>>0|0,c|0,1,0);ea(u>>0|0,r|d<<3|0,1,0);if(s){b=0;break}ea(a+448>>0|0,da((da(b+4|0,4,0,0)|0|0)+12>>0|0,1,0,0)|0|0|0,1,0);break}if(d){sh(a,36424,v);break}g=da(a+8|0,4,0,0)|0|0;f=(g|0)!=0;if(f)ea(a+420|0,vh(g,156,0,0,0)|0|0,4,0);b=_q(a,0,0,0,b,c,0,0,e,0)|0;if((b|0)!=0?(p=b+51|0,ea(p>>0|0,(da(p>>0|0,1,0,0)|0)&-4|2|0,1,0),f):0){b=da(a+420|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;if(f>>>0>b>>>0)ea((da(g+4|0,4,0,0)|0|0)+(b*20|0)+8|0,f|0,4,0);ea((da(g+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0);b=0}else b=0}while(0);Mk(da(a|0,4,0,0)|0|0,b);i=w;return}function _q(a,b,c,d,e,f,g,h,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=i;i=i+144|0;if((i|0)>=(j|0))ba();N=Q;v=Q+112|0;p=Q+88|0;L=Q+84|0;E=Q+80|0;P=da(a|0,4,0,0)|0|0;ea(L|0,0|0,4,0);ea(E|0,0|0,4,0);K=P+65|0;a:do if(((da(K>>0|0,1,0,0)|0|0)==0?(da(a+451>>0|0,1,0,0)|0|0)==0:0)?(Fn(a)|0)==0:0){M=(d|0)!=0;b:do if(M){b=dr(a,b,c,L)|0;if((b|0)<0){m=0;c=0;break a}if((da(P+145>>0|0,1,0,0)|0|0)==0?(m=Ir(a,d)|0,(da(c+4|0,4,0,0)|0|0)==0&(m|0)!=0):0)b=(da(m+68|0,4,0,0)|0|0)==(da((da(P+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)?1:b;c=da(L|0,4,0,0)|0|0;m=da(a|0,4,0,0)|0|0;ea(p|0,a|0,4,0);m=da(m+16|0,4,0,0)|0|0;ea(p+12|0,da(m+(b<<4)|0,4,0,0)|0|0,4,0);ea(p+4|0,da(m+(b<<4)+12|0,4,0,0)|0|0,4,0);ea(p+16|0,20632|0,4,0);ea(p+20|0,c|0,4,0);m=(b|0)==1;ea(p+8|0,m&1|0,4,0);Jr(p,d)|0;n=Tr(a,0,d+8|0)|0;if(!n){m=0;c=0;break a}if(m?(da((da(P+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)!=(da(n+68|0,4,0,0)|0|0):0){ea(N|0,da(n|0,4,0,0)|0|0,4,0);sh(a,35920,N);m=0;c=0;break a}if(((da(n+44>>0|0,1,0,0)|0)&32)!=0?(q=da(n+8|0,4,0,0)|0|0,(q|0)!=0):0){m=q;while(1){if(((da(m+51>>0|0,1,0,0)|0)&3)==2){o=b;D=m;p=n;break b}m=da(m+20|0,4,0,0)|0|0;if(!m){o=b;D=0;p=n;break}}}else{o=b;D=0;p=n}}else{p=da(a+484|0,4,0,0)|0|0;if(!p){m=0;c=0;break a}b=da(p+68|0,4,0,0)|0|0;if(b){m=da(P+20|0,4,0,0)|0|0;if((m|0)>0){c=da(P+16|0,4,0,0)|0|0;o=0;while(1){n=o+1|0;if((da(c+(o<<4)+12|0,4,0,0)|0|0)==(b|0)){c=0;D=0;break b}if((n|0)<(m|0))o=n;else{c=0;o=n;D=0;break}}}else{c=0;o=0;D=0}}else{c=0;o=-1e6;D=0}}while(0);I=P+16|0;w=da(I|0,4,0,0)|0|0;b=w+(o<<4)|0;r=da(p|0,4,0,0)|0|0;if(((Ec(r,25568,7)|0)==0?(da(P+145>>0|0,1,0,0)|0|0)==0:0)?(Ec(r+7|0,35976,9)|0)!=0:0){ea(N|0,r|0,4,0);sh(a,35992,N);m=0;c=0;break}if(da(p+12|0,4,0,0)|0){sh(a,36024,N);m=0;c=0;break}H=p+44|0;if((da(H>>0|0,1,0,0)|0)&16){sh(a,36056,N);m=0;c=0;break}x=(c|0)==0;if(!x){c=Vq(P,c)|0;if(!c){m=0;c=0;break}if(Kr(a,c)|0){m=0;break}if((da(P+145>>0|0,1,0,0)|0|0)==0?(Zh(P,c,0)|0)!=0:0){ea(N|0,c|0,4,0);sh(a,36096,N);m=0;break}if(aq(P,c,da(b|0,4,0,0)|0|0)|0)if(!l){ea(N|0,c|0,4,0);sh(a,36136,N);m=0;break}else{zr(a,o);m=0;break}else J=c}else{q=da(p+8|0,4,0,0)|0|0;if(!q)n=1;else{n=1;do{n=n+1|0;q=da(q+20|0,4,0,0)|0|0}while((q|0)!=0)}ea(N|0,r|0,4,0);ea(N+4|0,n|0,4,0);n=th(P,36160,N)|0;if(!n){m=0;c=0;break}J=n}n=da(b|0,4,0,0)|0|0;b=(o|0)==1;F=b?13184:13208;if((Rq(a,18,F,0,n)|0)==0?(Rq(a,b?3:1,J,da(p|0,4,0,0)|0|0,n)|0)==0:0){if(!e){e=kr(a,0,0)|0;if(!e){e=0;m=0;c=J;break}A=jh(da(a|0,4,0,0)|0|0,da((da(p+4|0,4,0,0)|0|0)+(((da(p+38|0,2,0,0)|0|0)+-1|0)*24|0)|0,4,0,0)|0|0)|0;B=da(e+4|0,4,0,0)|0|0;ea(B+4|0,A|0,4,0);ea(B+12>>0|0,k|0,1,0)}u=da(e|0,4,0,0)|0|0;if((u|0)>0){r=da(e+4|0,4,0,0)|0|0;m=0;q=0;do{n=da(r+(m*20|0)|0,4,0,0)|0|0;if(n){b=da(n+8|0,4,0,0)|0|0;if(!b)n=1;else{n=b;while(1)if(!(da(n>>0|0,1,0,0)|0))break;else n=n+1|0;n=(n-b&1073741823)+1|0}q=n+q|0}m=m+1|0}while((m|0)<(u|0));b=q}else b=0;if(!J)n=0;else{q=J;while(1)if(!(da(q>>0|0,1,0,0)|0))break;else q=q+1|0;n=q-J&1073741823}z=(D|0)!=0;if(z)q=da(D+46|0,2,0,1)|0|0;else q=1;G=ts(P,u+q&65535,b+1+n|0,E)|0;c:do if(!(da(K>>0|0,1,0,0)|0)){y=da(E|0,4,0,0)|0|0;ea(G|0,y|0,4,0);C=n+1|0;t=y+C|0;ea(E|0,t|0,4,0);jw(y|0,J|0,C|0)|0;ea(G+12|0,p|0,4,0);C=G+50|0;ea(C>>0|0,f|0,1,0);y=G+51|0;ea(y>>0|0,(da(y>>0|0,1,0,0)|0)&-12|((f|0)!=0&1)<<3&255|x&1|0,1,0);B=G+24|0;ea(B|0,da((da(I|0,4,0,0)|0|0)+(o<<4)+12|0,4,0,0)|0|0,4,0);q=da(e|0,4,0,0)|0|0;A=G+46|0;ea(A|0,q|0,2,0);if(h){ea(v+0|0,0|0,4,0);ea(v+4|0,0|0,4,0);ea(v+8|0,0|0,4,0);ea(v+12|0,0|0,4,0);ea(v+16|0,0|0,4,0);ea(v+20|0,0|0,4,0);ea(v+24|0,0|0,4,0);ea(v+28|0,0|0,4,0);r=N+0|0;q=r+80|0;do{ea(r|0,0|0,4,0);r=r+4|0}while((r|0)<(q|0));ea(N|0,1|0,4,0);ea(N+16|0,da(p|0,4,0,0)|0|0,4,0);ea(N+24|0,p|0,4,0);ea(N+48|0,-1|0,4,0);ea(v|0,a|0,4,0);ea(v+4|0,N|0,4,0);ea(v+28|0,16|0,2,0);ks(v,h)|0;ea(G+36|0,h|0,4,0);q=da(e|0,4,0,0)|0|0}r=(da((da(w+(o<<4)+12|0,4,0,0)|0|0)+76>>0|0,1,0,1)|0|0)>3;d:do if((q|0)>0){x=p+4|0;w=p+38|0;v=G+4|0;h=P+145|0;b=G+32|0;n=G+28|0;q=0;k=da(e+4|0,4,0,0)|0|0;while(1){m=da(k+4|0,4,0,0)|0|0;c=da(w|0,2,0,0)|0|0;e:do if(c<<16>>16>0){u=0;s=da(x|0,4,0,0)|0|0;while(1){if(!(cd(m,da(s|0,4,0,0)|0|0)|0)){l=u;break e}u=u+1|0;if((u|0)<(c<<16>>16|0))s=s+24|0;else{l=u;break}}}else l=0;while(0);if((l|0)>=(c<<16>>16|0))break;ea((da(v|0,4,0,0)|0|0)+(q<<1)|0,l|0,2,0);u=da(k|0,4,0,0)|0|0;if(!u){u=da((da(x|0,4,0,0)|0|0)+(l*24|0)+16|0,4,0,0)|0|0;u=(u|0)!=0?u:11152}else{s=da(u+8|0,4,0,0)|0|0;if(!s)u=1;else{u=s;while(1)if(!(da(u>>0|0,1,0,0)|0))break;else u=u+1|0;u=(u-s&1073741823)+1|0}jw(t|0,s|0,u|0)|0;s=da(E|0,4,0,0)|0|0;t=s+u|0;ea(E|0,t|0,4,0);u=s}if((da(h>>0|0,1,0,0)|0|0)==0?(br(a,u)|0)==0:0){c=0;m=0;O=134;break c}ea((da(b|0,4,0,0)|0|0)+(q<<2)|0,u|0,4,0);ea((da(n|0,4,0,0)|0|0)+q>>0|0,(r?da(k+12>>0|0,1,0,0)|0|0:0)|0,1,0);if(!(da((da(x|0,4,0,0)|0|0)+(l*24|0)+20>>0|0,1,0,0)|0))ea(y>>0|0,(da(y>>0|0,1,0,0)|0)&-9|0,1,0);q=q+1|0;if((q|0)<(da(e|0,4,0,0)|0|0))k=k+20|0;else break d}ea(N|0,da(p|0,4,0,0)|0|0,4,0);ea(N+4|0,m|0,4,0);sh(a,36184,N);ea(a+17>>0|0,1|0,1,0);c=0;m=0;O=134;break c}else q=0;while(0);do if(z){n=D+46|0;r=da(n|0,2,0,0)|0|0;if(!(r<<16>>16))break;v=D+4|0;w=G+4|0;x=G+48|0;k=D+32|0;l=G+32|0;h=D+28|0;b=G+28|0;m=0;do{s=da((da(v|0,4,0,0)|0|0)+(m<<1)|0,2,0,0)|0|0;c=da(w|0,4,0,0)|0|0;u=da(A|0,2,0,1)|0|0;t=c;while(1){if((u|0)<=0){O=92;break}if((da(t|0,2,0,0)|0|0)==s<<16>>16){O=91;break}else{u=u+-1|0;t=t+2|0}}if((O|0)==91){O=0;ea(x|0,(da(x|0,2,0,0)|0|0)+-1<<16>>16|0,2,0)}else if((O|0)==92){O=0;ea(c+(q<<1)|0,s|0,2,0);ea((da(l|0,4,0,0)|0|0)+(q<<2)|0,da((da(k|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0,4,0);ea((da(b|0,4,0,0)|0|0)+q>>0|0,da((da(h|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0|0,1,0);r=da(n|0,2,0,0)|0|0;q=q+1|0}m=m+1|0}while((m|0)<(r&65535|0))}else{ea((da(G+4|0,4,0,0)|0|0)+(q<<1)|0,-1|0,2,0);ea((da(G+32|0,4,0,0)|0|0)+(q<<2)|0,11152|0,4,0)}while(0);bq(G);h=a+484|0;b=da(h|0,4,0,0)|0|0;if(!b){ls(G);b=da(h|0,4,0,0)|0|0}f:do if((p|0)==(b|0)){m=da(p+8|0,4,0,0)|0|0;if(!m)break;s=da(A|0,2,0,0)|0|0;t=G+4|0;u=G+32|0;while(1){if((da(m+46|0,2,0,0)|0|0)==s<<16>>16){g:do if(!(s<<16>>16)){n=0;q=0}else{h=da(m+4|0,4,0,0)|0|0;c=da(t|0,4,0,0)|0|0;r=m+32|0;q=0;while(1){if((da(h+(q<<1)|0,2,0,0)|0|0)!=(da(c+(q<<1)|0,2,0,0)|0|0)){n=s;break g}n=da((da(r|0,4,0,0)|0|0)+(q<<2)|0,4,0,0)|0|0;b=da((da(u|0,4,0,0)|0|0)+(q<<2)|0,4,0,0)|0|0;if((n|0)!=(b|0)?(cd(n,b)|0)!=0:0){n=s;break g}q=q+1|0;if((q|0)>=(s&65535|0)){n=s;break}}}while(0);if((q|0)==(n&65535|0))break}m=da(m+20|0,4,0,0)|0|0;if(!m)break f}b=m+50|0;c=da(b>>0|0,1,0,0)|0|0;h=da(C>>0|0,1,0,0)|0|0;if(c<<24>>24==h<<24>>24){c=0;break c}if(!(c<<24>>24==10|h<<24>>24==10)){ea(N|0,0|0,4,0);sh(a,36216,N);c=da(b>>0|0,1,0,0)|0|0}if(c<<24>>24!=10){c=0;O=134;break c}ea(b>>0|0,da(C>>0|0,1,0,0)|0|0|0,1,0);c=0;break c}while(0);q=P+145|0;do if(!(da(q>>0|0,1,0,0)|0)){if(da(a+64|0,4,0,0)|0){O=126;break}if(!(((da(H>>0|0,1,0,0)|0)&32)==0|M)){O=126;break}n=a+72|0;c=(da(n|0,4,0,0)|0|0)+1|0;ea(n|0,c|0,4,0);n=Nq(a)|0;if(!n){c=0;m=0;O=134;break c}B=da(a+408|0,4,0,0)|0|0;B=(B|0)==0?a:B;zr(a,o);A=B+328|0;ea(A|0,da(A|0,4,0,0)|0|1<<o|0,4,0);B=B+20|0;ea(B>>0|0,da(B>>0|0,1,0,1)|0|1|0,1,0);vh(n,120,o,c,0)|0;if(!g)b=0;else{b=da(da(L|0,4,0,0)|0|0,4,0,0)|0|0;h=(da(a+504|0,4,0,0)|0|0)-b+(da(a+508|0,4,0,0)|0|0)|0;m=h+-1|0;B=(da(b+m>>0|0,1,0,0)|0|0)==59?m:h;ea(N|0,((f|0)==0?10360:36288)|0,4,0);ea(N+4|0,B|0,4,0);ea(N+8|0,b|0,4,0);b=th(P,36264,N)|0}A=da(G|0,4,0,0)|0|0;B=da(p|0,4,0,0)|0|0;ea(N|0,da((da(I|0,4,0,0)|0|0)+(o<<4)|0,4,0,0)|0|0,4,0);ea(N+4|0,F|0,4,0);ea(N+8|0,A|0,4,0);ea(N+12|0,B|0,4,0);ea(N+16|0,c|0,4,0);ea(N+20|0,b|0,4,0);Ar(a,36296,N);lg(P,b);if(!M)break;us(a,G,c);Cr(a,o);ea(N|0,da(G|0,4,0,0)|0|0,4,0);Hr(n,o,th(P,36344,N)|0);vh(n,144,0,0,0)|0;O=126}else{if(Hk((da(B|0,4,0,0)|0|0)+24|0,da(G|0,4,0,0)|0|0,G)|0){ea(K>>0|0,1|0,1,0);c=0;m=0;O=134;break c}B=P+24|0;ea(B|0,da(B|0,4,0,0)|0|2|0,4,0);if(!M)break;ea(G+40|0,da(P+140|0,4,0,0)|0|0,4,0);O=126}while(0);if((O|0)==126?!((da(q>>0|0,1,0,0)|0|0)!=0|(d|0)==0):0){c=0;m=0;O=134;break}c=da(p+8|0,4,0,0)|0|0;do if((f|0)==5){if(!c){c=0;break}if((da(c+50>>0|0,1,0,0)|0|0)==5)break;do{m=c+20|0;c=da(m|0,4,0,0)|0|0;if(!c){c=0;break}}while((da(c+50>>0|0,1,0,0)|0|0)!=5);ea(G+20|0,c|0,4,0);ea(m|0,G|0,4,0);h=0;m=G;c=J;break a}while(0);ea(G+20|0,c|0,4,0);ea(p+8|0,G|0,4,0);h=0;m=G;c=J;break a}else{c=h;m=0;O=134}while(0);if((O|0)==134)if(!G){h=c;c=J;break}Ik(P,G);h=c;c=J}else{m=0;c=J}}else{m=0;c=0}while(0);Fk(P,h);Mk(P,e);Co(P,d);lg(P,c);i=Q;return m|0}function $q(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+484|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;if(((c|0)!=0?(da(a+451>>0|0,1,0,0)|0|0)==0:0)?((da((da((da((da(d+16|0,4,0,0)|0|0)+((da(d+144>>0|0,1,0,1)|0)<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+22|0,2,0,0)|0)&1)==0:0){d=c+24|0;c=kr(a,da(d|0,4,0,0)|0|0,b)|0;ea(d|0,c|0,4,0);if(da(a+324|0,4,0,0)|0)lr(a,c,a+320|0,1)}else Fk(d,b);return}function ar(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+16|0;if((i|0)>=(j|0))ba();w=z;y=da(a|0,4,0,0)|0|0;x=da(a+484|0,4,0,0)|0|0;a:do if((x|0)!=0?(da(a+451>>0|0,1,0,0)|0|0)==0:0){t=(b|0)==0;do if(t){v=da(x+38|0,2,0,0)|0|0;g=(v<<16>>16)+-1|0;if(v<<16>>16<1){f=0;break a}if(d)if((da(d|0,4,0,0)|0|0)==1){g=1;f=13}else{ea(w|0,da((da(x+4|0,4,0,0)|0|0)+(g*24|0)|0,4,0,0)|0|0,4,0);ea(w+4|0,c|0,4,0);sh(a,35712,w);f=0;break a}else{g=1;f=12}}else{if(!d){g=da(b|0,4,0,0)|0|0;f=12;break}g=da(d|0,4,0,0)|0|0;if((g|0)==(da(b|0,4,0,0)|0|0))f=13;else{sh(a,35776,w);f=0;break a}}while(0);if((f|0)==12){h=c+4|0;m=h;q=0;h=(g<<3)+37+(da(h|0,4,0,0)|0|0)|0;v=g}else if((f|0)==13){m=c+4|0;h=(g<<3)+37+(da(m|0,4,0,0)|0|0)|0;n=da(d|0,4,0,0)|0|0;if((n|0)>0){o=da(d+4|0,4,0,0)|0|0;p=0;do{l=da(o+(p*20|0)+4|0,4,0,0)|0|0;if(!l)f=1;else{k=l;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;f=(k-l&1073741823)+1|0}h=f+h|0;p=p+1|0}while((p|0)<(n|0));q=1;v=g}else{q=1;v=g}}f=lh(y,h,((h|0)<0)<<31>>31)|0;if(f){ew(f|0,0,h|0)|0;ea(f|0,x|0,4,0);u=x+16|0;ea(f+4|0,da(u|0,4,0,0)|0|0,4,0);r=f+36|0;k=r+(v<<3)|0;s=f+8|0;ea(s|0,k|0,4,0);jw(k|0,da(c|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0)|0;ea(k+(da(m|0,4,0,0)|0|0)>>0|0,0|0,1,0);ko(k);k=k+((da(m|0,4,0,0)|0|0)+1)|0;ea(f+20|0,v|0,4,0);b:do if(!t){if((v|0)>0){h=x+4|0;c=b+4|0;l=da(x+38|0,2,0,0)|0|0;g=0;while(1){c:do if(l<<16>>16>0){p=da(h|0,4,0,0)|0|0;o=da((da(c|0,4,0,0)|0|0)+(g*20|0)+4|0,4,0,0)|0|0;n=0;while(1){m=n+1|0;if(!(cd(da(p+(n*24|0)|0,4,0,0)|0|0,o)|0)){m=n;break}if((m|0)<(l<<16>>16|0))n=m;else break c}ea(r+(g<<3)|0,m|0,4,0)}else m=0;while(0);if((m|0)>=(l<<16>>16|0))break;g=g+1|0;if((g|0)>=(v|0))break b}ea(w|0,da((da(c|0,4,0,0)|0|0)+(g*20|0)+4|0,4,0,0)|0|0,4,0);sh(a,35872,w);break a}}else ea(r|0,(da(x+38|0,2,0,0)|0|0)+-1|0,4,0);while(0);if(q&(v|0)>0){l=d+4|0;m=0;while(1){h=da((da(l|0,4,0,0)|0|0)+(m*20|0)+4|0,4,0,0)|0|0;if(!h)g=0;else{g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-h&1073741823}ea(r+(m<<3)+4|0,k|0,4,0);jw(k|0,h|0,g|0)|0;ea(k+g>>0|0,0|0,1,0);m=m+1|0;if((m|0)==(v|0))break;else k=k+(g+1)|0}}ea(f+24>>0|0,0|0,1,0);ea(f+25>>0|0,e|0,1,0);ea(f+26>>0|0,e>>>8|0,1,0);g=Hk((da(x+68|0,4,0,0)|0|0)+56|0,da(s|0,4,0,0)|0|0,f)|0;if((g|0)==(f|0)){ea(y+65>>0|0,1|0,1,0);break}if(g){ea(f+12|0,g|0,4,0);ea(g+16|0,f|0,4,0)}ea(u|0,f|0,4,0);f=0}else f=0}else f=0;while(0);lg(y,f);Mk(y,b);Mk(y,d);i=z;return}function br(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=da(c+62>>0|0,1,0,0)|0|0;e=da(c+145>>0|0,1,0,0)|0|0;c=Xn(c,d,b,e&255)|0;do if(!(e<<24>>24)){if((c|0)!=0?(da(c+12|0,4,0,0)|0|0)!=0:0)break;c=vs(a,d,c,b)|0}while(0);return c|0}function cr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();s=u;o=u+12|0;t=da(a|0,4,0,0)|0|0;do if(!(da(t+65>>0|0,1,0,0)|0)){d=(d|0)!=0;if(d){n=t+68|0;ea(n>>0|0,(da(n>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);r=Tr(a,c,b+8|0)|0;ea(n>>0|0,(da(n>>0|0,1,0,0)|0|0)+-1<<24>>24|0,1,0)}else r=Tr(a,c,b+8|0)|0;if(!r){if(!d)break;yr(a,da(b+12|0,4,0,0)|0|0);break}k=r+68|0;f=da(k|0,4,0,0)|0|0;a:do if(f){d=da(t+20|0,4,0,0)|0|0;if((d|0)>0){e=da(t+16|0,4,0,0)|0|0;h=0;while(1){g=h+1|0;if((da(e+(h<<4)+12|0,4,0,0)|0|0)==(f|0)){g=h;break a}if((g|0)<(d|0))h=g;else break}}else g=0}else g=-1e6;while(0);p=r+44|0;if(((da(p>>0|0,1,0,0)|0)&16)!=0?(gr(a,r)|0)!=0:0)break;h=(g|0)==1;q=h?13184:13208;d=da((da(t+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0;if(!(Rq(a,9,q,0,d)|0)){e=(c|0)!=0;do if(e){f=h?15:17;h=0}else{if(!((da(p>>0|0,1,0,0)|0)&16)){f=h?13:11;h=0;break}h=r+60|0;while(1){h=da(h|0,4,0,0)|0|0;if((da(h|0,4,0,0)|0|0)==(t|0))break;else h=h+24|0}f=30;h=da((da(h+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}while(0);if((Rq(a,f,da(r|0,4,0,0)|0|0,h,d)|0)==0?(Rq(a,9,da(r|0,4,0,0)|0|0,0,d)|0)==0:0){h=da(r|0,4,0,0)|0|0;if((Ec(h,25568,7)|0)==0?(Ec(h,35488,11)|0)!=0:0){ea(s|0,h|0,4,0);sh(a,35504,s);break}d=r+12|0;f=(da(d|0,4,0,0)|0|0)==0;if(e){if(f){ea(s|0,h|0,4,0);sh(a,35536,s);break}}else if(!f){ea(s|0,h|0,4,0);sh(a,35576,s);break}if(Nq(a)|0){m=a+408|0;f=da(m|0,4,0,0)|0|0;f=(f|0)==0?a:f;zr(a,g);n=1<<g;e=f+328|0;ea(e|0,da(e|0,4,0,0)|0|n|0,4,0);f=f+20|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);Br(a,g,28544,da(r|0,4,0,0)|0|0);f=da(a|0,4,0,0)|0|0;e=f+24|0;b:do if((((da(e|0,4,0,0)|0)&524288|0)!=0?((da(p>>0|0,1,0,0)|0)&16)==0:0)?(da(d|0,4,0,0)|0|0)==0:0){l=Nq(a)|0;h=an((da(k|0,4,0,0)|0|0)+56|0,da(r|0,4,0,0)|0|0,o)|0;if((h|0)!=0?(da(h+8|0,4,0,0)|0|0)!=0:0)h=0;else{h=da(r+16|0,4,0,0)|0|0;if(!h)break;while(1){if(da(h+24>>0|0,1,0,0)|0)break;if((da(e|0,4,0,0)|0)&16777216)break;h=da(h+4|0,4,0,0)|0|0;if(!h)break b}h=ws(l)|0;vh(l,135,1,h,0)|0}o=a+438|0;ea(o>>0|0,1|0,1,0);qr(a,xs(f,b,0)|0,0);ea(o>>0|0,0|0,1,0);if(!((da(e|0,4,0,0)|0)&16777216)){vh(l,135,0,(da(l+32|0,4,0,0)|0|0)+2|0,0)|0;ys(a,787,2,0,-2,4)}if(h){f=da(l+24|0,4,0,0)|0|0;d=~h;do if((h|0)<0){h=da(f+112|0,4,0,0)|0|0;if(!h)break;ea(h+(d<<2)|0,da(l+32|0,4,0,0)|0|0,4,0)}while(0);ea(f+88|0,(da(l+32|0,4,0,0)|0|0)+-1|0,4,0)}}while(0);k=da(a|0,4,0,0)|0|0;l=k+16|0;f=da(l|0,4,0,0)|0|0;d=Nq(a)|0;o=da(m|0,4,0,0)|0|0;o=(o|0)==0?a:o;zr(a,g);m=o+328|0;ea(m|0,da(m|0,4,0,0)|0|n|0,4,0);o=o+20|0;ea(o>>0|0,da(o>>0|0,1,0,1)|0|1|0,1,0);if((da(p>>0|0,1,0,0)|0)&16)vh(d,146,0,0,0)|0;h=zs(a,r)|0;if(h)do{Pr(a,h);h=da(h+32|0,4,0,0)|0|0}while((h|0)!=0);f=f+(g<<4)|0;if((da(p>>0|0,1,0,0)|0)&8){o=da(r|0,4,0,0)|0|0;ea(s|0,da(f|0,4,0,0)|0|0,4,0);ea(s+4|0,o|0,4,0);Ar(a,35608,s)}o=da(r|0,4,0,0)|0|0;ea(s|0,da(f|0,4,0,0)|0|0,4,0);ea(s+4|0,q|0,4,0);ea(s+8|0,o|0,4,0);Ar(a,35656,s);if((c|0)==0?((da(p>>0|0,1,0,0)|0)&16)==0:0)As(a,r);if((da(p>>0|0,1,0,0)|0)&16){o=da(r|0,4,0,0)|0|0;wh(d,vh(d,148,g,0,0)|0,o,0)}e=da(r|0,4,0,0)|0|0;wh(d,vh(d,124,g,0,0)|0,e,0);Cr(a,g);d=da((da(l|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0;e=da(d+78|0,2,0,0)|0|0;if(e&2){f=da(d+16|0,4,0,0)|0|0;if(f){e=f;do{d=da(e+8|0,4,0,0)|0|0;if(da(d+12|0,4,0,0)|0){Kk(k,d);ea(d+4|0,0|0,4,0);ea(d+38|0,0|0,2,0)}e=da(e|0,4,0,0)|0|0}while((e|0)!=0);e=da((da(l|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0;d=e;e=da(e+78|0,2,0,0)|0|0}ea(d+78|0,e&65533|0,2,0)}}}}}while(0);Co(t,b);i=u;return}function dr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;e=da(a|0,4,0,0)|0|0;do if((c|0)!=0?(da(c+4|0,4,0,0)|0|0)!=0:0){if(da(e+145>>0|0,1,0,0)|0){sh(a,28488,f);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=-1;break}ea(d|0,c|0,4,0);d=Vq(e,b)|0;c=Uh(e,d)|0;lg(e,d);if((c|0)<0){ea(f|0,b|0,4,0);sh(a,28512,f);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=-1}}else g=7;while(0);if((g|0)==7){c=da(e+144>>0|0,1,0,1)|0|0;ea(d|0,b|0,4,0)}i=h;return c|0}function er(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Gr(a,da(b|0,4,0,0)|0|0)|0){b=1;break a}if(Jr(a,da(b+32|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+36|0,4,0,0)|0|0)|0){b=1;break a}if(Gr(a,da(b+40|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+44|0,4,0,0)|0|0)|0){b=1;break a}if(Gr(a,da(b+48|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+60|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+64|0,4,0,0)|0|0)|0){b=1;break a}b=da(b+52|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);return b|0}function fr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)!=0?(d=lh(a,72,0)|0,(d|0)!=0):0){ea(d|0,Or(a,da(b|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+32|0,xs(a,da(b+32|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+36|0,Lr(a,da(b+36|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+40|0,Or(a,da(b+40|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+44|0,Lr(a,da(b+44|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+48|0,Or(a,da(b+48|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+4>>0|0,da(b+4>>0|0,1,0,0)|0|0|0,1,0);f=fr(a,da(b+52|0,4,0,0)|0|0,c)|0;ea(d+52|0,f|0,4,0);if(f)ea(f+56|0,d|0,4,0);ea(d+56|0,0|0,4,0);ea(d+60|0,Lr(a,da(b+60|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+64|0,Lr(a,da(b+64|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+6|0,(da(b+6|0,2,0,1)|0|0)&65527|0,2,0);ea(d+16|0,-1|0,4,0);ea(d+20|0,-1|0,4,0);h=b+24|0;c=da(h+4|0,4,0,0)|0|0;f=d+24|0;ea(f|0,da(h|0,4,0,0)|0|0,4,0);ea(f+4|0,c|0,4,0);c=da(b+68|0,4,0,0)|0|0;if((c|0)!=0?(g=(da(c|0,4,0,0)|0)<<4|8,e=lh(a,g,((g|0)<0)<<31>>31)|0,(e|0)!=0):0){ew(e|0,0,g|0)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);if((da(c|0,4,0,0)|0|0)>0){b=e+8|0;f=0;do{ea(b+(f<<4)+8|0,fr(a,da(c+(f<<4)+16|0,4,0,0)|0|0,0)|0|0,4,0);ea(b+(f<<4)+4|0,Or(a,da(c+(f<<4)+12|0,4,0,0)|0|0,0)|0|0,4,0);ea(b+(f<<4)|0,jh(a,da(c+(f<<4)+8|0,4,0,0)|0|0)|0|0,4,0);f=f+1|0}while((f|0)<(da(c|0,4,0,0)|0|0))}}else e=0;ea(d+68|0,e|0,4,0)}else d=0;return d|0}function gr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();l=p;e=p+8|0;g=p+4|0;o=da(a|0,4,0,0)|0|0;h=b+44|0;d=da(h>>0|0,1,0,0)|0|0;a:do if(!(d&16))m=11;else{c=da(b+60|0,4,0,0)|0|0;if(c)do{if((da(c|0,4,0,0)|0|0)==(o|0)){m=11;break a}c=da(c+24|0,4,0,0)|0|0}while((c|0)!=0);c=b+56|0;d=an(o+308|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,e)|0;if((d|0)!=0?(f=da(d+8|0,4,0,0)|0|0,(f|0)!=0):0){ea(g|0,0|0,4,0);f=(yn(o,b,f,da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,g)|0)==0;d=da(g|0,4,0,0)|0|0;if(f){lg(o,d);d=da(h>>0|0,1,0,0)|0|0;m=11;break}else{ea(l|0,d|0,4,0);sh(a,10344,l);lg(o,d);c=1;break}}ea(l|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,4,0);sh(a,28320,l);c=1}while(0);do if((m|0)==11)if((d&16)==0?(n=b+38|0,k=da(n|0,2,0,0)|0|0,k<<16>>16<=0):0){if(k<<16>>16<0){ea(l|0,da(b|0,4,0,0)|0|0,4,0);sh(a,26752,l);c=1;break}d=fr(o,da(b+12|0,4,0,0)|0|0,0)|0;if(!d)c=1;else{h=o+250|0;k=da(h>>0|0,1,0,0)|0|0;l=a+68|0;m=da(l|0,4,0,0)|0|0;Bs(a,da(d+32|0,4,0,0)|0|0);ea(n|0,-1|0,2,0);ea(h>>0|0,0|0,1,0);f=o+284|0;g=da(f|0,4,0,0)|0|0;ea(f|0,0|0,4,0);c=ms(a,d)|0;ea(f|0,g|0,4,0);ea(h>>0|0,k|0,1,0);ea(l|0,m|0,4,0);if(!c){ea(n|0,0|0,2,0);c=1}else{a=c+38|0;ea(n|0,da(a|0,2,0,0)|0|0|0,2,0);m=c+4|0;ea(b+4|0,da(m|0,4,0,0)|0|0,4,0);ea(a|0,0|0,2,0);ea(m|0,0|0,4,0);jg(o,c);c=(da(b+68|0,4,0,0)|0|0)+78|0;ea(c|0,da(c|0,2,0,1)|0|0|2|0,2,0);c=0}Lk(o,d,1)}}else c=0;while(0);i=p;return c|0}
function hr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0;va=i;i=i+240|0;if((i|0)>=(j|0))ba();ka=va;la=va+220|0;aa=va+216|0;_=va+196|0;$=va+176|0;na=va+164|0;oa=va+136|0;ra=va+88|0;Y=va+64|0;fa=va+32|0;ta=a+464|0;ua=da(ta|0,4,0,0)|0|0;ha=a+468|0;qa=da(ha|0,4,0,0)|0|0;ea(ha|0,qa+1|0,4,0);ea(ta|0,qa|0,4,0);qa=da(a|0,4,0,0)|0|0;a:do if((((b|0)!=0?(ia=qa+65|0,(da(ia>>0|0,1,0,0)|0|0)==0):0)?(d=a+64|0,(da(d|0,4,0,0)|0|0)==0):0)?(Rq(a,21,0,0,0)|0)==0:0){u=ra+0|0;t=u+48|0;do{ea(u|0,0|0,4,0);u=u+4|0}while((u|0)<(t|0));ca=b+48|0;if((da(c>>0|0,1,0,1)|0|0)<9){Mk(qa,da(ca|0,4,0,0)|0|0);ea(ca|0,0|0,4,0);X=b+6|0;ea(X|0,(da(X|0,2,0,1)|0)&65534|0,2,0)}Cs(a,b,0);ea(oa+0|0,0|0,4,0);ea(oa+4|0,0|0,4,0);ea(oa+8|0,0|0,4,0);ea(oa+12|0,0|0,4,0);ea(oa+16|0,0|0,4,0);ea(oa+20|0,0|0,4,0);ea(oa+24|0,0|0,4,0);ea(oa|0,da(ca|0,4,0,0)|0|0,4,0);ga=b+32|0;p=da(ga|0,4,0,0)|0|0;o=da(b|0,4,0,0)|0|0;b:do if(((da(d|0,4,0,0)|0|0)==0?(da(ia>>0|0,1,0,0)|0|0)==0:0)?(ma=b+6|0,r=(da(ma|0,2,0,1)|0|0)>>>2&1,pa=Nq(a)|0,(pa|0)!=0):0){if((da(o|0,4,0,0)|0|0)>1?((da(c>>0|0,1,0,0)|0)&-2)<<24>>24==10:0){sh(a,35368,ka);sa=444;break}ja=b+52|0;o=da(ja|0,4,0,0)|0|0;c:do if(!o){g=a+460|0;f=a+492|0;e=b+36|0;d=a+408|0;z=b+60|0;K=b+64|0;L=b+4|0;M=qa+60|0;N=pa+32|0;O=a+72|0;P=Y+4|0;Q=Y+1|0;R=Y+8|0;S=Y+12|0;T=pa+4|0;U=pa+24|0;V=a+19|0;W=a+56|0;X=a+80|0;J=0;q=r;while(1){if((J|0)>=(da(p|0,4,0,0)|0|0)){x=e;H=0;r=q;L=p;break c}E=da(p+(J*72|0)+28|0,4,0,0)|0|0;do if(!E)r=J;else{F=p+(J*72|0)+32|0;s=da(F|0,4,0,0)|0|0;if(s){if((da(p+(J*72|0)+45>>0|0,1,0,0)|0)&4){r=J;break}vh(pa,17,da(p+(J*72|0)+36|0,4,0,0)|0|0,s,0)|0;r=J;break}ea(ka|0,0|0,4,0);Ds(b,ka);ea(g|0,(da(g|0,4,0,0)|0|0)+(da(ka|0,4,0,0)|0|0)|0,4,0);m=(da(E+6|0,2,0,0)|0)&4;G=da(f|0,4,0,0)|0|0;l=da(a|0,4,0,0)|0|0;d:do if(!((da(l+60|0,2,0,0)|0)&1)){B=da(ga|0,4,0,0)|0|0;k=da(B+(J*72|0)+48|0,4,0,0)|0|0;A=B+(J*72|0)+28|0;H=da(A|0,4,0,0)|0|0;h=m<<16>>16!=0;do if(h){if(q){sa=120;break d}if((da(B|0,4,0,0)|0|0)>1){sa=120;break d}w=da(e|0,4,0,0)|0|0;if((w|0)!=0?((da(w+4|0,4,0,0)|0)&2097152|0)!=0:0){sa=120;break d}x=da(b|0,4,0,0)|0|0;do if(x){v=da(x|0,4,0,0)|0|0;if((v|0)<=0)break;y=da(x+4|0,4,0,0)|0|0;x=0;w=0;do{w=da((da(y+(x*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0|w;x=x+1|0}while((x|0)!=(v|0));if(w&2097152){sa=120;break d}}while(0);x=da(ca|0,4,0,0)|0|0;if(!x)break;v=da(x|0,4,0,0)|0|0;if((v|0)<=0)break;y=da(x+4|0,4,0,0)|0|0;x=0;w=0;do{w=da((da(y+(x*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0|w;x=x+1|0}while((x|0)!=(v|0));if(w&2097152){sa=120;break d}}while(0);y=da(H+32|0,4,0,0)|0|0;x=(da(H+60|0,4,0,0)|0|0)==0;if(!x?(da(z|0,4,0,0)|0|0)!=0:0){sa=120;break}if(da(H+64|0,4,0,0)|0){sa=120;break}v=da(ma|0,2,0,0)|0|0;w=(v&64)==0;if(!(w|x)){sa=120;break}if(!(da(y|0,4,0,0)|0)){sa=120;break}u=da(H+6|0,2,0,0)|0|0;if(u&1){sa=120;break}y=x|w^1;if(!y?(da(B|0,4,0,0)|0|0)>1|(q|0)!=0:0){sa=120;break}x=v&1;if(x<<16>>16!=0&h){sa=120;break}s=da(ca|0,4,0,0)|0|0;t=(s|0)==0;if(!t?(da(H+48|0,4,0,0)|0|0)!=0:0){sa=120;break}n=(q|0)!=0;if(n?(da(H+48|0,4,0,0)|0|0)!=0:0){sa=120;break}if(y){if(u&6144){sa=120;break}}else if(!((da(e|0,4,0,0)|0|0)==0&x<<16>>16==0&(u&6144)==0)){sa=120;break}if((v&2048)!=0?(da(H+52|0,4,0,0)|0|0)!=0:0){sa=120;break}I=B+(J*72|0)+44|0;if((da(I>>0|0,1,0,0)|0)&32){sa=120;break}v=H+52|0;y=da(v|0,4,0,0)|0|0;do if(y){if(!(x<<16>>16==0&(((da(H+48|0,4,0,0)|0|0)!=0|n)^1))){sa=120;break d}if((da(B|0,4,0,0)|0|0)!=1){sa=120;break d}e:do if(H){if(!(u&5))w=H;else{sa=120;break d}while(1){x=(y|0)==0;if(!x?(da(w+4>>0|0,1,0,0)|0|0)!=116:0){sa=120;break d}if((da(da(w+32|0,4,0,0)|0|0,4,0,0)|0|0)<1){sa=120;break d}if((da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)!=(da(da(w|0,4,0,0)|0|0,4,0,0)|0|0)){sa=120;break d}if(x)break e;if((da(y+6|0,2,0,0)|0)&5){sa=120;break d}w=y;y=da(y+52|0,4,0,0)|0|0}}while(0);if(t)break;w=da(s|0,4,0,0)|0|0;if((w|0)<=0)break;y=da(s+4|0,4,0,0)|0|0;x=0;do{if(!(da(y+(x*20|0)+16|0,2,0,0)|0)){sa=120;break d}x=x+1|0}while((x|0)<(w|0))}while(0);r=B+(J*72|0)+16|0;ea(f|0,da(r|0,4,0,0)|0|0,4,0);Rq(a,21,0,0,0)|0;ea(f|0,G|0,4,0);y=da(v|0,4,0,0)|0|0;f:do if(!y)sa=81;else{s=l+65|0;v=da(ca|0,4,0,0)|0|0;u=da(z|0,4,0,0)|0|0;t=da(K|0,4,0,0)|0|0;w=da(ja|0,4,0,0)|0|0;while(1){ea(ca|0,0|0,4,0);ea(ga|0,0|0,4,0);ea(ja|0,0|0,4,0);ea(z|0,0|0,4,0);ea(K|0,0|0,4,0);x=fr(l,b,0)|0;ea(K|0,t|0,4,0);ea(z|0,u|0,4,0);ea(ca|0,v|0,4,0);ea(ga|0,B|0,4,0);ea(L>>0|0,116|0,1,0);if(!x)x=w;else{ea(x+52|0,w|0,4,0);if(w)ea(w+56|0,x|0,4,0);ea(x+56|0,b|0,4,0)}ea(ja|0,x|0,4,0);if(da(s>>0|0,1,0,0)|0)break f;y=da(y+52|0,4,0,0)|0|0;if(!y){sa=81;break}else w=x}}while(0);if((sa|0)==81){sa=0;D=da(A|0,4,0,0)|0|0;v=B+(J*72|0)+12|0;lg(l,da(v|0,4,0,0)|0|0);lg(l,da(r|0,4,0,0)|0|0);w=B+(J*72|0)+20|0;lg(l,da(w|0,4,0,0)|0|0);ea(v|0,0|0,4,0);ea(r|0,0|0,4,0);ea(w|0,0|0,4,0);ea(A|0,0|0,4,0);w=B+(J*72|0)+24|0;v=da(w|0,4,0,0)|0|0;if(v){u=v+40|0;t=da(u|0,2,0,0)|0|0;if(t<<16>>16==1){H=da(d|0,4,0,0)|0|0;H=((H|0)==0?a:H)+524|0;ea(v+72|0,da(H|0,4,0,0)|0|0,4,0);ea(H|0,v|0,4,0)}else ea(u|0,t+-1<<16>>16|0,2,0);ea(w|0,0|0,4,0)}H=J+1|0;G=l+65|0;F=b;E=D;while(1){s=da(E+32|0,4,0,0)|0|0;r=da(s|0,4,0,0)|0|0;x=F+32|0;y=da(x|0,4,0,0)|0|0;if(!y){y=or(l,0,0,0)|0;ea(x|0,y|0,4,0);if(!y)break;else p=0}else p=da(I>>0|0,1,0,0)|0|0;if((r|0)>1){y=Es(l,y,r+-1|0,H)|0;ea(x|0,y|0,4,0);if(da(G>>0|0,1,0,0)|0)break}if((r|0)>0){w=0;do{u=w+J|0;Gk(l,da(y+(u*72|0)+56|0,4,0,0)|0|0);x=s+(w*72|0)+8|0;u=y+(u*72|0)+8|0;v=x+0|0;t=u+72|0;do{ea(u|0,da(v|0,4,0,0)|0|0,4,0);u=u+4|0;v=v+4|0}while((u|0)<(t|0));u=x+0|0;t=u+72|0;do{ea(u|0,0|0,4,0);u=u+4|0}while((u|0)<(t|0));w=w+1|0}while((w|0)!=(r|0))}ea(y+(J*72|0)+44>>0|0,p|0,1,0);x=da(F|0,4,0,0)|0|0;y=da(x|0,4,0,0)|0|0;if((y|0)>0){u=x+4|0;w=da(u|0,4,0,0)|0|0;v=0;do{if(!(da(w+(v*20|0)+4|0,4,0,0)|0)){y=jh(l,da(w+(v*20|0)+8|0,4,0,0)|0|0)|0;ko(y);w=da(u|0,4,0,0)|0|0;ea(w+(v*20|0)+4|0,y|0,4,0);y=da(x|0,4,0,0)|0|0}v=v+1|0}while((v|0)<(y|0));x=da(F|0,4,0,0)|0|0}Fs(l,x,k,da(E|0,4,0,0)|0|0);if(n){Fs(l,da(F+40|0,4,0,0)|0|0,k,da(E|0,4,0,0)|0|0);B=F+44|0;ea(B|0,Gs(l,da(B|0,4,0,0)|0|0,k,da(E|0,4,0,0)|0|0)|0|0,4,0)}y=E+48|0;x=da(y|0,4,0,0)|0|0;do if(!x){x=da(F+48|0,4,0,0)|0|0;if(!x)break;Fs(l,x,k,da(E|0,4,0,0)|0|0)}else{w=da(x|0,4,0,0)|0|0;if((w|0)>0){v=da(x+4|0,4,0,0)|0|0;u=0;do{ea(v+(u*20|0)+16|0,0|0,2,0);u=u+1|0}while((u|0)!=(w|0))}ea(F+48|0,x|0,4,0);ea(y|0,0|0,4,0)}while(0);x=da(E+36|0,4,0,0)|0|0;if(!x)w=0;else w=Lr(l,x,0,0)|0;y=F+36|0;x=da(y|0,4,0,0)|0|0;if(h){A=F+44|0;ea(A|0,x|0,4,0);ea(y|0,w|0,4,0);B=Gs(l,x,k,da(E|0,4,0,0)|0|0)|0;ea(A|0,B|0,4,0);ea(A|0,rs(l,B,Lr(l,da(E+44|0,4,0,0)|0|0,0,0)|0)|0|0,4,0);ea(F+40|0,Or(l,da(E+40|0,4,0,0)|0|0,0)|0|0,4,0)}else{B=Gs(l,x,k,da(E|0,4,0,0)|0|0)|0;ea(y|0,B|0,4,0);ea(y|0,rs(l,B,w)|0|0,4,0)}x=F+6|0;ea(x|0,da(x|0,2,0,1)|0|(da(E+6|0,2,0,1)|0)&1|0,2,0);x=E+60|0;w=da(x|0,4,0,0)|0|0;if(w){ea(F+60|0,w|0,4,0);ea(x|0,0|0,4,0)}F=da(F+52|0,4,0,0)|0|0;if(!F)break;else E=da(E+52|0,4,0,0)|0|0}Lk(l,D,1)}if(!(m<<16>>16)){r=-1;break}ea(ma|0,da(ma|0,2,0,1)|0|4|0,2,0);r=-1;q=1}else sa=120;while(0);g:do if((sa|0)==120){sa=0;do if((da(p|0,4,0,0)|0|0)==1){if((da(M|0,2,0,0)|0)&256)break;u=da(N|0,4,0,0)|0|0;I=u+1|0;H=(da(O|0,4,0,0)|0|0)+1|0;ea(O|0,H|0,4,0);r=p+(J*72|0)+36|0;ea(r|0,H|0,4,0);vh(pa,20,H,0,I)|0;ea(F|0,I|0,4,0);I=da(r|0,4,0,0)|0|0;ea(Y>>0|0,13|0,1,0);ea(P|0,I|0,4,0);ea(Q>>0|0,0|0,1,0);ea(R|0,0|0,4,0);ea(S|0,0|0,4,0);ea(p+(J*72|0)+46>>0|0,da(ha|0,4,0,0)|0|0,1,0);hr(a,E,Y)|0;I=E+24|0;I=es(da(I|0,4,0,0)|0|0,da(I+4|0,4,0,0)|0|0)|0;ea((da(p+(J*72|0)+24|0,4,0,0)|0|0)+28|0,I|0,2,0);I=p+(J*72|0)+45|0;ea(I>>0|0,da(I>>0|0,1,0,0)|0|4|0,1,0);ea(p+(J*72|0)+40|0,da(R|0,4,0,0)|0|0,4,0);vh(pa,21,da(r|0,4,0,0)|0|0,0,0)|0;r=da(N|0,4,0,0)|0|0;if(r>>>0>u>>>0)ea((da(T|0,4,0,0)|0|0)+(u*20|0)+8|0,r|0,4,0);ea((da(U|0,4,0,0)|0|0)+88|0,r+-1|0,4,0);ea(V>>0|0,0|0,1,0);ea(W|0,0|0,4,0);r=J;break g}while(0);t=(da(O|0,4,0,0)|0|0)+1|0;ea(O|0,t|0,4,0);v=p+(J*72|0)+36|0;ea(v|0,t|0,4,0);t=vh(pa,25,0,t,0)|0;ea(F|0,t+1|0,4,0);if(!((da(p+(J*72|0)+45>>0|0,1,0,0)|0)&2)){I=Nq(a)|0;u=da(X|0,4,0,0)|0|0;ea(X|0,u+1|0,4,0);u=vh(I,44,u,0,0)|0}else u=0;I=da(p+(J*72|0)+48|0,4,0,0)|0|0;ea(Y>>0|0,12|0,1,0);ea(P|0,I|0,4,0);ea(Q>>0|0,0|0,1,0);ea(R|0,0|0,4,0);ea(S|0,0|0,4,0);ea(p+(J*72|0)+46>>0|0,da(ha|0,4,0,0)|0|0,1,0);hr(a,E,Y)|0;I=E+24|0;I=es(da(I|0,4,0,0)|0|0,da(I+4|0,4,0,0)|0|0)|0;ea((da(p+(J*72|0)+24|0,4,0,0)|0|0)+28|0,I|0,2,0);if(u){r=da(N|0,4,0,0)|0|0;if(r>>>0>u>>>0)ea((da(T|0,4,0,0)|0|0)+(u*20|0)+8|0,r|0,4,0);ea((da(U|0,4,0,0)|0|0)+88|0,r+-1|0,4,0)}r=vh(pa,18,da(v|0,4,0,0)|0|0,0,0)|0;if((da(N|0,4,0,0)|0|0)>>>0>t>>>0)ea((da(T|0,4,0,0)|0|0)+(t*20|0)+4|0,r|0,4,0);ea(V>>0|0,0|0,1,0);ea(W|0,0|0,4,0);r=J}while(0);if(da(ia>>0|0,1,0,0)|0){sa=444;break b}ea(ka|0,0|0,4,0);Ds(b,ka);ea(g|0,(da(g|0,4,0,0)|0|0)-(da(ka|0,4,0,0)|0|0)|0,4,0);p=da(ga|0,4,0,0)|0|0;if((da(c>>0|0,1,0,1)|0|0)<9)break;ea(oa|0,da(ca|0,4,0,0)|0|0,4,0)}while(0);o=da(ja|0,4,0,0)|0|0;if(!o)J=r+1|0;else{x=e;H=o;r=q;L=p;break}}}else{x=b+36|0;H=o;L=p}while(0);K=da(b|0,4,0,0)|0|0;t=da(x|0,4,0,0)|0|0;e=b+40|0;o=da(e|0,4,0,0)|0|0;y=b+44|0;Y=da(y|0,4,0,0)|0|0;f=da(ma|0,2,0,0)|0|0;ea(na>>0|0,f&1|0,1,0);if(H){F=da(a|0,4,0,0)|0|0;ea(la+0|0,da(c+0|0,4,0,0)|0|0,4,0);ea(la+4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(la+8|0,da(c+8|0,4,0,0)|0|0,4,0);ea(la+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea(la+16|0,da(c+16|0,4,0,0)|0|0,4,0);h:do if(!(da(H+48|0,4,0,0)|0)){h=H+60|0;if(da(h|0,4,0,0)|0){d=da(b+4>>0|0,1,0,1)|0|0;if((d|0)==118)d=35336;else if((d|0)==117)d=35352;else if((d|0)==116)d=35320;else d=35360;ea(ka|0,d|0,4,0);sh(a,35072,ka);f=0;d=1;sa=227;break}I=Nq(a)|0;l=da(la>>0|0,1,0,0)|0|0;if(l<<24>>24==12){vh(I,57,da(la+4|0,4,0,0)|0|0,da(da(b|0,4,0,0)|0|0,4,0,0)|0|0,0)|0;l=da(I+4|0,4,0,0)|0|0;if(l)ea(l+(((da(I+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(la>>0|0,14|0,1,0);l=14}k=da(ma|0,2,0,1)|0|0;if(k&256){f=0;d=Hs(a,b,la)|0;sa=227;break}if((da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)!=(da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)){Is(a,b);f=0;d=1;sa=227;break}do if(!(k&2048)){if(da(ca|0,4,0,0)|0){d=Ks(a,b,c)|0;break h}G=b+4|0;k=da(G>>0|0,1,0,1)|0|0;if((k|0)==116){n=b+8|0;l=H+8|0;ea(l|0,da(n|0,4,0,0)|0|0,4,0);m=b+12|0;k=H+12|0;ea(k|0,da(m|0,4,0,0)|0|0,4,0);X=b+60|0;ea(h|0,da(X|0,4,0,0)|0|0,4,0);Y=b+64|0;ea(H+64|0,da(Y|0,4,0,0)|0|0,4,0);g=da(ha|0,4,0,0)|0|0;d=hr(a,H,la)|0;ea(X|0,0|0,4,0);ea(Y|0,0|0,4,0);if(d){f=0;sa=227;break h}ea(ja|0,0|0,4,0);l=da(l|0,4,0,0)|0|0;ea(n|0,l|0,4,0);ea(m|0,da(k|0,4,0,0)|0|0,4,0);if(!l)o=0;else o=vh(I,46,l,0,0)|0;e=da(ha|0,4,0,0)|0|0;d=hr(a,b,la)|0;f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);Y=H+24|0;n=b+24|0;l=n;Y=iw(da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0,da(Y|0,4,0,0)|0|0,da(Y+4|0,4,0,0)|0|0)|0;l=n;ea(l|0,Y|0,4,0);ea(l+4|0,C|0,4,0);l=da(h|0,4,0,0)|0|0;do if(l){Y=(Ls(l,aa)|0)!=0;l=da(aa|0,4,0,0)|0|0;if(!(Y&(l|0)>0))break;k=n;Y=da(k+4|0,4,0,0)|0|0;h=((l|0)<0)<<31>>31;if(!(Y>>>0>h>>>0|((Y|0)==(h|0)?(da(k|0,4,0,0)|0|0)>>>0>l>>>0:0)))break;Y=n;ea(Y|0,l|0,4,0);ea(Y+4|0,h|0,4,0)}while(0);if(!o){o=G;n=g;l=e;break}h=da(I+32|0,4,0,0)|0|0;if(h>>>0>o>>>0)ea((da(I+4|0,4,0,0)|0|0)+(o*20|0)+8|0,h|0,4,0);ea((da(I+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);o=G;n=g;l=e;break}else if((k|0)==115|(k|0)==117){if(l<<24>>24==1)k=da(la+4|0,4,0,0)|0|0;else{h=a+68|0;k=da(h|0,4,0,0)|0|0;ea(h|0,k+1|0,4,0);ea(b+16|0,vh(I,57,k,0,0)|0|0,4,0);h=b;while(1){l=da(h+56|0,4,0,0)|0|0;if(!l)break;else h=l}Y=h+6|0;ea(Y|0,da(Y|0,2,0,1)|0|8|0,2,0)}ea(_>>0|0,1|0,1,0);ea(_+4|0,k|0,4,0);ea(_+1>>0|0,0|0,1,0);ea(_+8|0,0|0,4,0);ea(_+12|0,0|0,4,0);q=da(ha|0,4,0,0)|0|0;d=hr(a,H,_)|0;if(d){f=0;sa=227;break h}p=(da(G>>0|0,1,0,0)|0|0)==117?2:1;ea(ja|0,0|0,4,0);n=b+60|0;m=da(n|0,4,0,0)|0|0;ea(n|0,0|0,4,0);l=b+64|0;h=da(l|0,4,0,0)|0|0;ea(l|0,0|0,4,0);ea(_>>0|0,p|0,1,0);p=da(ha|0,4,0,0)|0|0;d=hr(a,b,_)|0;Mk(F,da(ca|0,4,0,0)|0|0);f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);ea(ca|0,0|0,4,0);if((da(G>>0|0,1,0,0)|0|0)==115){X=H+24|0;Y=b+24|0;W=Y;X=iw(da(W|0,4,0,0)|0|0,da(W+4|0,4,0,0)|0|0,da(X|0,4,0,0)|0|0,da(X+4|0,4,0,0)|0|0)|0;ea(Y|0,X|0,4,0);ea(Y+4|0,C|0,4,0)}Fk(F,da(n|0,4,0,0)|0|0);ea(n|0,m|0,4,0);ea(l|0,h|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);h=da(la>>0|0,1,0,0)|0|0;if(h<<24>>24==9){h=b;while(1){g=da(h+52|0,4,0,0)|0|0;if(!g)break;else h=g}Ms(a,0,da(h|0,4,0,0)|0|0)}else if(h<<24>>24==1){o=G;n=q;l=p;break}e=ws(I)|0;Y=ws(I)|0;Ns(a,b,e);vh(I,108,k,e,0)|0;o=I+32|0;n=da(o|0,4,0,0)|0|0;Os(a,b,da(b|0,4,0,0)|0|0,k,0,0,la,Y,e);m=I+24|0;l=da(m|0,4,0,0)|0|0;h=~Y;do if((Y|0)<0){g=da(l+112|0,4,0,0)|0|0;if(!g)break;ea(g+(h<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(l+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);vh(I,9,k,n,0)|0;h=da(m|0,4,0,0)|0|0;g=~e;do if((e|0)<0){l=da(h+112|0,4,0,0)|0|0;if(!l)break;ea(l+(g<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);vh(I,61,k,0,0)|0;o=G;n=q;l=p;break}else{h=a+68|0;s=da(h|0,4,0,0)|0|0;ea(h|0,s+2|0,4,0);ea(b+16|0,vh(I,57,s,0,0)|0|0,4,0);h=b;while(1){g=da(h+56|0,4,0,0)|0|0;if(!g)break;else h=g}q=s+1|0;n=h+6|0;ea(n|0,da(n|0,2,0,1)|0|8|0,2,0);ea($>>0|0,1|0,1,0);n=$+4|0;ea(n|0,s|0,4,0);ea($+1>>0|0,0|0,1,0);ea($+8|0,0|0,4,0);ea($+12|0,0|0,4,0);p=da(ha|0,4,0,0)|0|0;d=hr(a,H,$)|0;if(d){f=0;sa=227;break h}ea(b+20|0,vh(I,57,q,0,0)|0|0,4,0);ea(ja|0,0|0,4,0);g=b+60|0;h=da(g|0,4,0,0)|0|0;ea(g|0,0|0,4,0);k=b+64|0;l=da(k|0,4,0,0)|0|0;ea(k|0,0|0,4,0);ea(n|0,q|0,4,0);r=da(ha|0,4,0,0)|0|0;d=hr(a,b,$)|0;f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);o=b+24|0;e=o;Y=da(e+4|0,4,0,0)|0|0;m=H+24|0;n=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;if(Y>>>0>m>>>0|((Y|0)==(m|0)?(da(e|0,4,0,0)|0|0)>>>0>n>>>0:0)){Y=o;ea(Y|0,n|0,4,0);ea(Y+4|0,m|0,4,0)}Fk(F,da(g|0,4,0,0)|0|0);ea(g|0,h|0,4,0);ea(k|0,l|0,4,0);if((da(la>>0|0,1,0,0)|0|0)==9){l=b;while(1){k=da(l+52|0,4,0,0)|0|0;if(!k)break;else l=k}Ms(a,0,da(l|0,4,0,0)|0|0)}g=ws(I)|0;o=ws(I)|0;Ns(a,b,g);vh(I,108,s,g,0)|0;l=a+19|0;k=da(l>>0|0,1,0,0)|0|0;if(!(k<<24>>24)){Y=a+72|0;l=(da(Y|0,4,0,0)|0|0)+1|0;ea(Y|0,l|0,4,0)}else{Y=k+-1<<24>>24;ea(l>>0|0,Y|0,1,0);l=da(a+((Y&255)<<2)+24|0,4,0,0)|0|0}e=vh(I,101,s,l,0)|0;wh(I,vh(I,68,q,o,l)|0,0,-14);Zr(a,l);Os(a,b,da(b|0,4,0,0)|0|0,s,0,0,la,o,g);l=I+24|0;k=da(l|0,4,0,0)|0|0;m=~o;do if((o|0)<0){n=da(k+112|0,4,0,0)|0|0;if(!n)break;ea(n+(m<<2)|0,da(I+32|0,4,0,0)|0|0,4,0)}while(0);n=I+32|0;ea(k+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);vh(I,9,s,e,0)|0;k=da(l|0,4,0,0)|0|0;h=~g;do if((g|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(n|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);vh(I,61,q,0,0)|0;vh(I,61,s,0,0)|0;o=G;n=p;l=r;break}}else{Js(a,b,la);o=b+4|0;n=0;l=0;f=0;d=0}while(0);Y=da(o>>0|0,1,0,0)|0|0;Ps(a,Y&255,n,l,Y<<24>>24!=116&1);if(!((da(ma|0,2,0,0)|0)&8)){sa=227;break}m=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;n=Qs(F,m,1)|0;if(!n){d=7;sa=227;break}if((m|0)>0){e=F+8|0;g=n+20|0;h=0;while(1){Y=Rs(a,b,h)|0;ea(g|0,Y|0,4,0);if(!Y)ea(g|0,da(e|0,4,0,0)|0|0,4,0);h=h+1|0;if((h|0)==(m|0))break;else g=g+4|0}}k=I+32|0;l=I+4|0;do{e=0;do{h=b+(e<<2)+16|0;g=da(h|0,4,0,0)|0|0;if((g|0)<0)break;if((da(k|0,4,0,0)|0|0)>>>0>g>>>0)ea((da(l|0,4,0,0)|0|0)+(g*20|0)+8|0,m|0,4,0);ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);wh(I,g,n,-6);ea(h|0,-1|0,4,0);e=e+1|0}while((e|0)<2);b=da(b+52|0,4,0,0)|0|0}while((b|0)!=0);Y=(da(n|0,4,0,0)|0|0)+-1|0;ea(n|0,Y|0,4,0);if(Y){sa=227;break}Vc(n);sa=227}else{d=da(b+4>>0|0,1,0,1)|0|0;if((d|0)==118)d=35336;else if((d|0)==117)d=35352;else if((d|0)==116)d=35320;else d=35360;ea(ka|0,d|0,4,0);sh(a,35024,ka);f=0;d=1;sa=227}while(0);if((sa|0)==227){ea(c+8|0,da(la+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(la+12|0,4,0,0)|0|0,4,0);Lk(F,f,1)}ea(ta|0,ua|0,4,0);break a}if((f&5)==1){d=da(oa|0,4,0,0)|0|0;if(!(Ss(d,K,-1)|0)){ea(ma|0,f&65534|0,2,0);o=Or(qa,K,0)|0;ea(e|0,o|0,4,0);sa=232}}else sa=232;if((sa|0)==232)d=da(oa|0,4,0,0)|0|0;if(!d)d=-1;else{X=Ts(a,d,0,da(K|0,4,0,0)|0|0)|0;W=a+68|0;d=da(W|0,4,0,0)|0|0;ea(W|0,d+1|0,4,0);ea(oa+8|0,d|0,4,0);d=vh(pa,57,d,(da(da(oa|0,4,0,0)|0|0,4,0,0)|0|0)+1+(da(K|0,4,0,0)|0|0)|0,0)|0;wh(pa,d,X,-6)}I=oa+20|0;ea(I|0,d|0,4,0);if((da(c>>0|0,1,0,0)|0|0)==12)vh(pa,57,da(c+4|0,4,0,0)|0|0,da(K|0,4,0,0)|0|0,0)|0;ja=ws(pa)|0;q=b+24|0;X=q;ea(X|0,-1|0,4,0);ea(X+4|0,2147483647|0,4,0);Ns(a,b,ja);if((da(b+8|0,4,0,0)|0|0)==0?(Z=da(I|0,4,0,0)|0|0,(Z|0)>-1):0){if(!(da((da(pa|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))d=(da(pa+4|0,4,0,0)|0|0)+(Z*20|0)|0;else d=29120;ea(d>>0|0,58|0,1,0);X=oa+24|0;ea(X>>0|0,da(X>>0|0,1,0,1)|0|1|0,1,0)}if(!((da(ma|0,2,0,0)|0)&1))ea(na+1>>0|0,0|0,1,0);else{X=a+68|0;d=da(X|0,4,0,0)|0|0;ea(X|0,d+1|0,4,0);ea(na+4|0,d|0,4,0);X=Ts(a,da(b|0,4,0,0)|0|0,0,0)|0;d=vh(pa,57,d,0,0)|0;wh(pa,d,X,-6);ea(na+8|0,d|0,4,0);d=da(pa+4|0,4,0,0)|0|0;if(d)ea(d+(((da(pa+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(na+1>>0|0,3|0,1,0)}if((r|0)==0&(o|0)==0){n=Us(a,L,t,da(oa|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,(da(na>>0|0,1,0,0)|0|0)!=0?1024:0,0)|0;if(!n){sa=444;break}l=Vs(da(n+32|0,2,0,0)|0|0)|0;k=C;h=q;Y=da(h+4|0,4,0,0)|0|0;if(k>>>0<Y>>>0|((k|0)==(Y|0)?l>>>0<(da(h|0,4,0,0)|0|0)>>>0:0)){Y=q;ea(Y|0,l|0,4,0);ea(Y+4|0,k|0,4,0)}do if(da(na>>0|0,1,0,0)|0){l=da(n+40>>0|0,1,0,0)|0|0;if(!(l<<24>>24))break;ea(na+1>>0|0,l|0,1,0)}while(0);l=da(oa|0,4,0,0)|0|0;do if(!l)sa=257;else{Y=da(n+36>>0|0,1,0,0)|0|0;ea(oa+4|0,Y|0,4,0);if((Y|0)!=(da(l|0,4,0,0)|0|0))break;ea(oa|0,0|0,4,0);sa=257}while(0);do if((sa|0)==257){h=da(I|0,4,0,0)|0|0;if((h|0)<=-1)break;yh(pa,h)}while(0);Os(a,b,K,-1,oa,na,c,da(n+48|0,4,0,0)|0|0,da(n+52|0,4,0,0)|0|0);Ws(n)}else{r=(o|0)!=0;do if(r){e=da(b|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if((d|0)>0){e=da(e+4|0,4,0,0)|0|0;while(1){ea(e+18|0,0|0,2,0);d=d+-1|0;if((d|0)<=0)break;else e=e+20|0}}d=da(o|0,4,0,0)|0|0;if((d|0)>0){e=da(o+4|0,4,0,0)|0|0;while(1){ea(e+18|0,0|0,2,0);d=d+-1|0;if((d|0)<=0)break;else e=e+20|0}}X=q;W=da(X+4|0,4,0,0)|0|0;if(!(W>>>0>0|(W|0)==0&(da(X|0,4,0,0)|0|0)>>>0>100))break;X=q;ea(X|0,100|0,4,0);ea(X+4|0,0|0,4,0)}else{X=q;ea(X|0,1|0,4,0);ea(X+4|0,0|0,4,0)}while(0);G=(Ss(o,da(oa|0,4,0,0)|0|0,-1)|0)==0;J=ws(pa)|0;ea(fa+0|0,0|0,4,0);ea(fa+4|0,0|0,4,0);ea(fa+8|0,0|0,4,0);ea(fa+12|0,0|0,4,0);ea(fa+16|0,0|0,4,0);ea(fa+20|0,0|0,4,0);ea(fa+24|0,0|0,4,0);ea(fa+28|0,0|0,4,0);ea(fa|0,a|0,4,0);ea(fa+4|0,L|0,4,0);ea(fa+12|0,ra|0,4,0);A=a+72|0;ea(ra+16|0,(da(A|0,4,0,0)|0|0)+1|0,4,0);if(r)d=da(o|0,4,0,0)|0|0;else d=0;q=ra+12|0;ea(q|0,d|0,4,0);ea(ra+24|0,o|0,4,0);Xs(fa,K);Xs(fa,da(oa|0,4,0,0)|0|0);if(Y){ea(ka+0|0,0|0,4,0);ea(ka+4|0,0|0,4,0);ea(ka+8|0,0|0,4,0);ea(ka+12|0,0|0,4,0);ea(ka+16|0,0|0,4,0);ea(ka+20|0,0|0,4,0);ea(ka|0,80|0,4,0);ea(ka+4|0,81|0,4,0);ea(ka+24|0,fa|0,4,0);qs(ka,Y)|0}s=ra+32|0;ea(ra+36|0,da(s|0,4,0,0)|0|0,4,0);k=ra+44|0;d=da(k|0,4,0,0)|0|0;if((d|0)>0){g=fa+28|0;e=ra+40|0;f=da(g|0,2,0,0)|0|0;h=0;do{ea(g|0,f&65535|8|0,2,0);Xs(fa,da((da((da(e|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0)+20|0,4,0,0)|0|0);f=(da(g|0,2,0,1)|0)&65527;ea(g|0,f|0,2,0);h=h+1|0;d=da(k|0,4,0,0)|0|0}while((h|0)<(d|0))}ea(ra+20|0,da(A|0,4,0,0)|0|0,4,0);if(da(ia>>0|0,1,0,0)|0){sa=444;break}if(r){y=a+68|0;x=da(y|0,4,0,0)|0|0;ea(y|0,x+1|0,4,0);n=ra+4|0;ea(n|0,x|0,4,0);x=Ts(a,o,0,da(s|0,4,0,0)|0|0)|0;m=vh(pa,58,da(n|0,4,0,0)|0|0,da(q|0,4,0,0)|0|0,0)|0;wh(pa,m,x,-6);E=da(A|0,4,0,0)|0|0;D=E+1|0;z=E+2|0;E=E+3|0;ea(A|0,E|0,4,0);B=ws(pa)|0;H=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,H|0,4,0);F=ws(pa)|0;l=da(A|0,4,0,0)|0|0;h=l+1|0;X=da(o|0,4,0,0)|0|0;W=X+l|0;k=W+1|0;ea(A|0,W+X|0,4,0);vh(pa,25,0,z,0)|0;vh(pa,25,0,D,0)|0;vh(pa,28,0,h,(da(o|0,4,0,0)|0|0)+l|0)|0;vh(pa,17,H,F,0)|0;l=Us(a,L,t,o,0,G?2304:256,0)|0;if(!l){sa=444;break}if((da(l+36>>0|0,1,0,0)|0|0)==(da(o|0,4,0,0)|0|0)){e=0;d=0;p=0}else{if(!(da(na>>0|0,1,0,0)|0))d=34824;else d=((da(ma|0,2,0,0)|0)&1)==0?34808:34824;_s(a,d);u=da(o|0,4,0,0)|0|0;d=da(s|0,4,0,0)|0|0;if((d|0)>0){e=da(ra+28|0,4,0,0)|0|0;f=0;q=u;p=u;do{if((da(e+(f*24|0)+12|0,4,0,0)|0|0)>=(q|0)){q=q+1|0;p=p+1|0}f=f+1|0}while((f|0)<(d|0));w=p}else w=u;v=a+60|0;p=da(v|0,4,0,0)|0|0;t=a+56|0;d=da(t|0,4,0,0)|0|0;if((d|0)<(w|0)){p=da(A|0,4,0,0)|0|0;ea(A|0,p+w|0,4,0);p=p+1|0}else{ea(v|0,p+w|0,4,0);ea(t|0,d-w|0,4,0)}$s(a);at(a,o,p,0);q=da(s|0,4,0,0)|0|0;if((q|0)>0){g=ra+28|0;r=0;d=u;do{e=da(g|0,4,0,0)|0|0;if((da(e+(r*24|0)+12|0,4,0,0)|0|0)>=(d|0)){f=d+p|0;q=bt(a,da(e+(r*24|0)|0,4,0,0)|0|0,da(e+(r*24|0)+8|0,4,0,0)|0|0,da(e+(r*24|0)+4|0,4,0,0)|0|0,f,0)|0;if((f|0)!=(q|0))vh(pa,34,q,f,0)|0;q=da(s|0,4,0,0)|0|0;d=d+1|0}r=r+1|0}while((r|0)<(q|0))}q=a+19|0;d=da(q>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,d|0,4,0)}else{d=d+-1<<24>>24;ea(q>>0|0,d|0,1,0);d=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}vh(pa,49,p,w,d)|0;vh(pa,109,da(n|0,4,0,0)|0|0,d,0)|0;Zr(a,d);ct(a,p,w);if((da(t|0,4,0,0)|0|0)<(w|0)){ea(t|0,w|0,4,0);ea(v|0,p|0,4,0)}Ws(l);p=da(y|0,4,0,0)|0|0;ea(y|0,p+1|0,4,0);ea(ra+8|0,p|0,4,0);d=da(q>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,d|0,4,0)}else{d=d+-1<<24>>24;ea(q>>0|0,d|0,1,0);d=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}vh(pa,60,p,d,w)|0;vh(pa,106,da(n|0,4,0,0)|0|0,J,0)|0;ea(ra+1>>0|0,1|0,1,0);$s(a);e=1}do if(G){if((da(qa+60|0,2,0,0)|0)&4)break;if((e|0)==0?(da(l+37>>0|0,1,0,0)|0|0)==0:0)break;ea(oa|0,0|0,4,0);yh(pa,da(I|0,4,0,0)|0|0)}while(0);r=pa+32|0;g=da(r|0,4,0,0)|0|0;$s(a);q=(e|0)!=0;if(q)vh(pa,100,da(n|0,4,0,0)|0|0,d,p)|0;d=da(o|0,4,0,0)|0|0;if((d|0)>0){e=o+4|0;f=0;do{if(q)vh(pa,47,p,f,f+k|0)|0;else{ea(ra>>0|0,1|0,1,0);Qq(a,da((da(e|0,4,0,0)|0|0)+(f*20|0)|0,4,0,0)|0|0,f+k|0)}f=f+1|0;d=da(o|0,4,0,0)|0|0}while((f|0)<(d|0))}if(x)ea(x|0,(da(x|0,4,0,0)|0|0)+1|0,4,0);wh(pa,vh(pa,42,h,k,d)|0,x,-6);d=da(r|0,4,0,0)|0|0;X=d+1|0;vh(pa,43,X,0,X)|0;o=da(o|0,4,0,0)|0|0;vh(da(a+8|0,4,0,0)|0|0,32,k,h,o)|0;ct(a,k,o);vh(pa,17,E,B,0)|0;vh(pa,137,z,J,0)|0;vh(pa,17,H,F,0)|0;o=da(r|0,4,0,0)|0|0;if(o>>>0>d>>>0)ea((da(pa+4|0,4,0,0)|0|0)+(d*20|0)+8|0,o|0,4,0);h=pa+24|0;ea((da(h|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);dt(a,ra);vh(pa,25,1,D,0)|0;if(q)vh(pa,5,da(n|0,4,0,0)|0|0,g,0)|0;else{Ws(l);yh(pa,m)}vh(pa,17,E,B,0)|0;vh(pa,16,0,J,0)|0;f=da(r|0,4,0,0)|0|0;vh(pa,25,1,z,0)|0;vh(pa,18,E,0,0)|0;d=da(h|0,4,0,0)|0|0;e=~B;do if((B|0)<0){o=da(d+112|0,4,0,0)|0|0;if(!o)break;ea(o+(e<<2)|0,da(r|0,4,0,0)|0|0,4,0)}while(0);n=da(r|0,4,0,0)|0|0;ea(d+88|0,n+-1|0,4,0);vh(pa,137,D,n+2|0,0)|0;vh(pa,18,E,0,0)|0;et(a,ra);n=n+1|0;ft(a,Y,n,16);Os(a,b,da(b|0,4,0,0)|0|0,-1,oa,na,c,n,f);vh(pa,18,E,0,0)|0;n=da(h|0,4,0,0)|0|0;m=~F;do if((F|0)<0){l=da(n+112|0,4,0,0)|0|0;if(!l)break;ea(l+(m<<2)|0,da(r|0,4,0,0)|0|0,4,0)}while(0);ea(n+88|0,(da(r|0,4,0,0)|0|0)+-1|0,4,0);gt(a,ra);vh(pa,18,H,0,0)|0}else{do if(!(da(x|0,4,0,0)|0)){m=da(b|0,4,0,0)|0|0;if((da(m|0,4,0,0)|0|0)!=1){sa=372;break}n=da(ga|0,4,0,0)|0|0;if((da(n|0,4,0,0)|0|0)!=1){sa=372;break}if(da(n+28|0,4,0,0)|0){sa=372;break}p=da(n+24|0,4,0,0)|0|0;n=da(da(m+4|0,4,0,0)|0|0,4,0,0)|0|0;r=p+44|0;if((da(r>>0|0,1,0,0)|0)&16){sa=372;break}if((da(n>>0|0,1,0,0)|0|0)!=-101|(d|0)==0){sa=372;break}q=ra+40|0;if(!((da((da((da(q|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+2|0,2,0,0)|0)&256)){sa=372;break}if((p|0)==0?1:((da(n+4|0,4,0,0)|0)&16|0)!=0){sa=372;break}n=da(a|0,4,0,0)|0|0;d=da(p+68|0,4,0,0)|0|0;i:do if(!d)m=-1e6;else{e=da(n+20|0,4,0,0)|0|0;if((e|0)<=0){m=0;break}n=da(n+16|0,4,0,0)|0|0;o=0;while(1){m=o+1|0;if((da(n+(o<<4)+12|0,4,0,0)|0|0)==(d|0)){m=o;break i}if((m|0)<(e|0))o=m;else break}}while(0);o=a+68|0;g=da(o|0,4,0,0)|0|0;ea(o|0,g+1|0,4,0);o=p+32|0;d=da(o|0,4,0,0)|0|0;zr(a,m);fs(a,m,da(o|0,4,0,0)|0|0,0,da(p|0,4,0,0)|0|0);o=da(p+8|0,4,0,0)|0|0;j:do if(!((da(r>>0|0,1,0,0)|0)&32)){n=0;sa=351}else{if(!o){e=1;f=0;o=0;break}else n=o;while(1){if(((da(n+51>>0|0,1,0,0)|0)&3)==2){sa=351;break j}n=da(n+20|0,4,0,0)|0|0;if(!n){n=0;sa=351;break}}}while(0);do if((sa|0)==351){if(o){f=p+42|0;e=o;do{do if(!((da(e+51>>0|0,1,0,0)|0)&4)){o=da(e+44|0,2,0,0)|0|0;if(o<<16>>16>=(da(f|0,2,0,0)|0|0))break;if(da(e+36|0,4,0,0)|0)break;if((n|0)!=0?o<<16>>16>=(da(n+44|0,2,0,0)|0|0):0)break;n=e}while(0);e=da(e+20|0,4,0,0)|0|0}while((e|0)!=0)}if(!n){e=1;f=0;o=0;break}d=da(n+40|0,4,0,0)|0|0;e=0;f=n;o=gs(a,n)|0}while(0);wh(pa,vh(pa,54,g,d,m)|0,1,-14);if(o)wh(pa,-1,o,-6);vh(pa,50,g,da((da(q|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,0)|0;vh(pa,61,g,0,0)|0;if((da(a+450>>0|0,1,0,0)|0|0)!=2){l=0;break}do if(e){n=da(p|0,4,0,0)|0|0;m=10360;k=10360;l=da(a|0,4,0,0)|0|0}else{if((da(r>>0|0,1,0,0)|0)&32){X=((da(f+51>>0|0,1,0,0)|0)&3)!=2;l=da(a|0,4,0,0)|0|0;n=da(p|0,4,0,0)|0|0;m=X?34920:10360;if(!X){k=10360;break}}else{m=34920;n=da(p|0,4,0,0)|0|0;l=da(a|0,4,0,0)|0|0}k=da(f|0,4,0,0)|0|0}while(0);ea(ka|0,n|0,4,0);ea(ka+4|0,m|0,4,0);ea(ka+8|0,k|0,4,0);l=th(l,34896,ka)|0;X=da(a+8|0,4,0,0)|0|0;wh(X,vh(X,157,da(ta|0,4,0,0)|0|0,0,0)|0,l,-1);l=0}else sa=372;while(0);if((sa|0)==372){do if((da(y|0,4,0,0)|0|0)==0&(d|0)==1){l=da(da(ra+40|0,4,0,0)|0|0,4,0,0)|0|0;n=da(l+20|0,4,0,0)|0|0;if(!n){l=0;k=0;break}if((da(n|0,4,0,0)|0|0)!=1){l=0;k=0;break}if((da((da(da(n+4|0,4,0,0)|0|0,4,0,0)|0)>>0|0,1,0,0)|0|0)!=-100){l=0;k=0;break}l=da(l+8|0,4,0,0)|0|0;if(cd(l,18760)|0)if(!(cd(l,18768)|0))k=2;else{l=0;k=0;break}else k=1;l=Or(qa,n,0)|0;if(!l){l=0;break}if(da(ia>>0|0,1,0,0)|0)break;X=da(l+4|0,4,0,0)|0|0;ea(X+12>>0|0,k<<24>>24!=1&1|0,1,0);ea((da(X|0,4,0,0)|0)>>0|0,-102|0,1,0)}else{l=0;k=0}while(0);gt(a,ra);k=Us(a,L,t,l,0,k&255,0)|0;if(!k){Mk(qa,l);sa=444;break}dt(a,ra);if((da(k+36>>0|0,1,0,0)|0|0)>0)vh(pa,16,0,da(k+52|0,4,0,0)|0|0,0)|0;Ws(k);et(a,ra)}ea(oa|0,0|0,4,0);ft(a,Y,J,16);Os(a,b,da(b|0,4,0,0)|0|0,-1,0,0,c,J,J);Mk(qa,l);h=pa+24|0}l=da(h|0,4,0,0)|0|0;k=~J;do if((J|0)<0){h=da(l+112|0,4,0,0)|0|0;if(!h)break;ea(h+(k<<2)|0,da(pa+32|0,4,0,0)|0|0,4,0)}while(0);ea(l+88|0,(da(pa+32|0,4,0,0)|0|0)+-1|0,4,0)}if((da(na+1>>0|0,1,0,0)|0|0)==3)_s(a,34808);if(da(oa|0,4,0,0)|0){g=oa+4|0;_s(a,(da(g|0,4,0,0)|0|0)>0?34840:34864);s=da(K|0,4,0,0)|0|0;m=a+8|0;x=da(m|0,4,0,0)|0|0;y=ws(x)|0;w=ws(x)|0;h=da(oa|0,4,0,0)|0|0;f=da(c>>0|0,1,0,0)|0|0;n=f&255;t=c+4|0;u=da(t|0,4,0,0)|0|0;q=oa+16|0;o=da(q|0,4,0,0)|0|0;if(o){vh(x,17,da(oa+12|0,4,0,0)|0|0,o,0)|0;vh(x,16,0,y,0)|0;Y=da(q|0,4,0,0)|0|0;o=da(x+24|0,4,0,0)|0|0;d=~Y;do if((Y|0)<0){e=da(o+112|0,4,0,0)|0|0;if(!e)break;ea(e+(d<<2)|0,da(x+32|0,4,0,0)|0|0,4,0)}while(0);ea(o+88|0,(da(x+32|0,4,0,0)|0|0)+-1|0,4,0)}v=da(oa+8|0,4,0,0)|0|0;l=f<<24>>24==9;k:do if((f&-5)<<24>>24==9){p=s;k=da(c+8|0,4,0,0)|0|0;d=0}else{o=a+19|0;d=da(o>>0|0,1,0,0)|0|0;do if(d<<24>>24){Y=d+-1<<24>>24;ea(o>>0|0,Y|0,1,0);e=da(a+((Y&255)<<2)+24|0,4,0,0)|0|0;if(!(Y<<24>>24)){d=e;o=da(a+72|0,4,0,0)|0|0;break}else{k=d+-2<<24>>24;ea(o>>0|0,k|0,1,0);p=1;k=da(a+((k&255)<<2)+24|0,4,0,0)|0|0;d=e;break k}}else{d=a+72|0;o=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,o|0,4,0);d=o}while(0);k=o+1|0;ea(a+72|0,k|0,4,0);p=1}while(0);h=(da(h|0,4,0,0)|0|0)-(da(g|0,4,0,0)|0|0)|0;r=oa+24|0;if(!((da(r>>0|0,1,0,0)|0)&1)){o=vh(x,107,v,y,0)|0;ht(x,da(b+12|0,4,0,0)|0|0,w);e=1;f=v}else{Y=a+72|0;f=(da(Y|0,4,0,0)|0|0)+1|0;ea(Y|0,f|0,4,0);Y=a+68|0;g=da(Y|0,4,0,0)|0|0;ea(Y|0,g+1|0,4,0);if(!(da(q|0,4,0,0)|0))e=0;else{Y=Nq(a)|0;X=a+80|0;e=da(X|0,4,0,0)|0|0;ea(X|0,e+1|0,4,0);e=vh(Y,44,e,0,0)|0}vh(x,60,g,f,p+1+h|0)|0;if(e){o=da(x+32|0,4,0,0)|0|0;if(o>>>0>e>>>0)ea((da(x+4|0,4,0,0)|0|0)+(e*20|0)+8|0,o|0,4,0);ea((da(x+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0)}o=vh(x,106,v,y,0)|0;ht(x,da(b+12|0,4,0,0)|0|0,w);vh(x,100,v,f,g)|0;e=0;f=g}g=o+1|0;if((p|0)>0){o=e+h|0;e=0;do{vh(x,47,f,o+e|0,e+k|0)|0;e=e+1|0}while((e|0)!=(p|0))}do if((n|0)==12|(n|0)==14){vh(x,74,u,d,0)|0;vh(x,75,u,k,d)|0;l=da(x+4|0,4,0,0)|0|0;if(!l)break;ea(l+(((da(x+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0)}else if((n|0)==11){wh(x,vh(x,49,k,1,d)|0,c+1|0,1);ct(a,k,1);vh(x,110,u,d,0)|0}else if((n|0)!=10)if(l){Y=c+8|0;vh(x,35,da(Y|0,4,0,0)|0|0,s,0)|0;ct(a,da(Y|0,4,0,0)|0|0,s);break}else{vh(x,22,da(t|0,4,0,0)|0|0,0,0)|0;break}else{vh(da(m|0,4,0,0)|0|0,32,k,u,1)|0;ct(a,k,1)}while(0);if(d){Zr(a,k);Zr(a,d)}k=x+24|0;m=da(k|0,4,0,0)|0|0;n=~w;do if((w|0)<0){l=da(m+112|0,4,0,0)|0|0;if(!l)break;ea(l+(n<<2)|0,da(x+32|0,4,0,0)|0|0,4,0)}while(0);n=x+32|0;ea(m+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);if(!((da(r>>0|0,1,0,0)|0)&1))vh(x,9,v,g,0)|0;else vh(x,5,v,g,0)|0;h=da(oa+12|0,4,0,0)|0|0;if(h)vh(x,18,h,0,0)|0;h=da(k|0,4,0,0)|0|0;g=~y;do if((y|0)<0){f=da(h+112|0,4,0,0)|0|0;if(!f)break;ea(f+(g<<2)|0,da(n|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}e=da(pa+24|0,4,0,0)|0|0;f=~ja;do if((ja|0)<0){d=da(e+112|0,4,0,0)|0|0;if(!d)break;ea(d+(f<<2)|0,da(pa+32|0,4,0,0)|0|0,4,0)}while(0);ea(e+88|0,(da(pa+32|0,4,0,0)|0|0)+-1|0,4,0);ea(ta|0,ua|0,4,0);if((da(c>>0|0,1,0,0)|0|0)!=9){d=0;break}Ms(a,L,K);d=0}else sa=444;while(0);if((sa|0)==444){ea(ta|0,ua|0,4,0);d=1}lg(qa,da(ra+28|0,4,0,0)|0|0);lg(qa,da(ra+40|0,4,0,0)|0|0)}else d=1;while(0);i=va;return d|0}function ir(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();l=p;n=da(a|0,4,0,0)|0|0;if((b|0)==0?(k=(g|0)!=0,k|(h|0)!=0):0){ea(l|0,(k?34792:34800)|0,4,0);sh(a,34752,l);o=9}else{b=or(n,b,c,d)|0;if((b|0)!=0?(m=da(b|0,4,0,0)|0|0,(m|0)!=0):0){k=m+-1|0;if(da(e+4|0,4,0,0)|0)ea(b+(k*72|0)+20|0,Vq(n,e)|0|0,4,0);ea(b+(k*72|0)+28|0,f|0,4,0);ea(b+(k*72|0)+52|0,g|0,4,0);ea(b+(k*72|0)+56|0,h|0,4,0)}else o=9}if((o|0)==9){Fk(n,g);Gk(n,h);Lk(n,f,1);b=0}i=p;return b|0}function jr(a,b,c,d,e,f,g,h,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+80|0;if((i|0)>=(j|0))ba();n=s+72|0;r=s;q=da(a|0,4,0,0)|0|0;m=lh(q,72,0)|0;if(!m){o=r+0|0;p=o+72|0;do{ea(o|0,0|0,4,0);o=o+4|0}while((o|0)<(p|0));m=r}else{o=m+0|0;p=o+72|0;do{ea(o>>0|0,0|0,1,0);o=o+1|0}while((o|0)<(p|0))}if(!b){ea(n|0,0|0,4,0);ea(n+4|0,0|0,4,0);b=kr(a,0,mr(q,116,n,0)|0)|0}ea(m|0,b|0,4,0);if(!c){c=lh(q,80,0)|0;if(c){o=c+0|0;p=o+80|0;do{ea(o>>0|0,0|0,1,0);o=o+1|0}while((o|0)<(p|0))}}ea(m+32|0,c|0,4,0);ea(m+36|0,d|0,4,0);ea(m+40|0,e|0,4,0);ea(m+44|0,f|0,4,0);ea(m+48|0,g|0,4,0);ea(m+6|0,h|0,2,0);ea(m+4>>0|0,119|0,1,0);ea(m+60|0,k|0,4,0);ea(m+64|0,l|0,4,0);ea(m+16|0,-1|0,4,0);ea(m+20|0,-1|0,4,0);if(da(q+65>>0|0,1,0,0)|0){Lk(q,m,(m|0)!=(r|0)&1);m=0}i=s;return m|0}function kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a|0,4,0,0)|0|0;if(!b){b=lh(e,8,0)|0;if(b){a=b;d=a;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);a=a+4|0;ea(a>>0|0,0|0,1,0);ea(a+1>>0|0,0|0,1,0);ea(a+2>>0|0,0|0,1,0);ea(a+3>>0|0,0|0,1,0);a=lh(e,20,0)|0;ea(b+4|0,a|0,4,0);if(!a)d=8;else d=7}else{b=0;d=8}}else{a=da(b|0,4,0,0)|0|0;if(!(a+-1&a)){d=b+4|0;a=qo(e,da(d|0,4,0,0)|0|0,a*40|0,0)|0;if(!a)d=8;else{ea(d|0,a|0,4,0);d=7}}else d=7}if((d|0)==7){a=da(b|0,4,0,0)|0|0;ea(b|0,a+1|0,4,0);a=(da(b+4|0,4,0,0)|0|0)+(a*20|0)|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+16|0,0|0,4,0);ea(a|0,c|0,4,0)}else if((d|0)==8){Fk(e,c);Mk(e,b);b=0}return b|0}function lr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;do if(b){h=(da(b|0,4,0,0)|0|0)+-1|0;e=da(b+4|0,4,0,0)|0|0;f=da(c|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;if((f|0)!=0?(c=da(a|0,4,0,0)|0|0,g=iw(b|0,0,1,0)|0,g=lh(c,g,C)|0,(g|0)!=0):0){jw(g|0,f|0,b|0)|0;ea(g+b>>0|0,0|0,1,0);ea(e+(h*20|0)+4|0,g|0,4,0);if(!d)break;ko(g);break}ea(e+(h*20|0)+4|0,0|0,4,0)}while(0);return}function mr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;ea(h|0,0|0,4,0);f=(c|0)!=0;do if(f){if(((b|0)==132?(e=da(c|0,4,0,0)|0|0,(e|0)!=0):0)?(Cn(e,h)|0)!=0:0){l=0;break}l=(da(c+4|0,4,0,0)|0|0)+1|0}else l=0;while(0);g=l+48|0;k=lh(a,g,0)|0;if(k){ew(k|0,0,g|0)|0;ea(k>>0|0,b|0,1,0);ea(k+34|0,-1|0,2,0);do if(f){if(!l){d=k+4|0;ea(d|0,da(d|0,4,0,0)|0|1024|0,4,0);ea(k+8|0,da(h|0,4,0,0)|0|0,4,0);break}e=k+48|0;g=k+8|0;ea(g|0,e|0,4,0);f=c+4|0;a=da(f|0,4,0,0)|0|0;if(!a)e=48;else{jw(e|0,da(c|0,4,0,0)|0|0,a|0)|0;e=(da(f|0,4,0,0)|0|0)+48|0}ea(k+e>>0|0,0|0,1,0);if(((d|0)!=0&(l|0)>2?(d=da((da(c|0,4,0,0)|0)>>0|0,1,0,0)|0|0,m=d<<24>>24==34,d<<24>>24==34|d<<24>>24==39|d<<24>>24==91|d<<24>>24==96):0)?(ko(da(g|0,4,0,0)|0|0),m):0){d=k+4|0;ea(d|0,da(d|0,4,0,0)|0|64|0,4,0)}}while(0);ea(k+24|0,1|0,4,0)}i=n;return k|0}function nr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if((b|0)!=0?(d=da(b|0,4,0,0)|0|0,(d|0)>0):0){d=d+-1|0;if((da(c+4|0,4,0,0)|0|0)==1?(da(c|0,4,0,0)|0|0)==0:0){d=b+(d*72|0)+45|0;ea(d>>0|0,da(d>>0|0,1,0,0)|0|1|0,1,0);break}ea(b+(d*72|0)+72|0,Vq(da(a|0,4,0,0)|0|0,c)|0|0,4,0)}while(0);return}function or(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(!b){b=lh(a,80,0)|0;if(!b)b=0;else{f=b+0|0;e=f+80|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));ea(b+4|0,1|0,4,0);f=4}}else f=4;do if((f|0)==4){b=Es(a,b,1,da(b|0,4,0,0)|0|0)|0;if(da(a+65>>0|0,1,0,0)|0){Co(a,b);b=0;break}f=(da(b|0,4,0,0)|0|0)+-1|0;if(!d)e=0;else e=(da(d|0,4,0,0)|0|0)==0?0:d;d=(e|0)==0;ea(b+(f*72|0)+16|0,Vq(a,d?c:e)|0|0,4,0);ea(b+(f*72|0)+12|0,Vq(a,d?0:c)|0|0,4,0)}while(0);return b|0}function pr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;k=o+16|0;ea(k|0,b|0,4,0);ea(k+4|0,c|0,4,0);ea(k+8|0,d|0,4,0);h=b;l=1;e=0;a:while(1){if(!h)break;g=da(h+4|0,4,0,0)|0|0;f=0;while(1){if((g|0)==(da(34625+(f*3|0)>>0|0,1,0,1)|0|0|0)?(Ec(da(h|0,4,0,0)|0|0,34584+(da(34624+(f*3|0)>>0|0,1,0,1)|0|0)|0,g)|0)==0:0)break;f=f+1|0;if((f|0)>=7){n=10;break a}}e=da(34626+(f*3|0)>>0|0,1,0,1)|0|0|e;if((f|0)>6){n=10;break}if((l|0)>=3)break;h=da(k+(l<<2)|0,4,0,0)|0|0;l=l+1|0}if((n|0)==10)e=e|64;if((e&33|0)!=33&(e&64|0)==0){if(!((e&32|0)==0|(e&24|0)==8)){sh(a,34696,m);e=1}}else{ea(m|0,b|0,4,0);ea(m+4|0,c|0,4,0);ea(m+8|0,((d|0)==0?20377|0:20376)|0,4,0);ea(m+12|0,d|0,4,0);sh(a,34648,m);e=1}i=o;return e|0}function qr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=i;i=i+48|0;if((i|0)>=(j|0))ba();J=M+36|0;K=M+32|0;k=M;ea(J|0,0|0,4,0);ea(K|0,0|0,4,0);L=da(a|0,4,0,0)|0|0;if(((((da(a+64|0,4,0,0)|0|0)==0?(da(L+65>>0|0,1,0,0)|0|0)==0:0)?(A=Ir(a,b)|0,(A|0)!=0):0)?(z=it(a,A,109,0,0)|0,I=(da(A+12|0,4,0,0)|0|0)!=0,(gr(a,A)|0)==0):0)?(m=(z|0)!=0,(jt(a,A,m&1)|0)==0):0){f=da(A+68|0,4,0,0)|0|0;a:do if(f){e=da(L+20|0,4,0,0)|0|0;if((e|0)>0){d=da(L+16|0,4,0,0)|0|0;h=0;while(1){g=h+1|0;if((da(d+(h<<4)+12|0,4,0,0)|0|0)==(f|0)){g=h;break a}if((g|0)<(e|0))h=g;else break}}else g=0}else g=-1e6;while(0);d=Rq(a,9,da(A|0,4,0,0)|0|0,0,da((da(L+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0)|0;if((d|0)!=1){l=a+68|0;v=da(l|0,4,0,0)|0|0;n=v+1|0;ea(l|0,n|0,4,0);ea(b+48|0,v|0,4,0);B=A+8|0;f=da(B|0,4,0,0)|0|0;if(!f)h=0;else{e=n;h=0;do{e=e+1|0;ea(l|0,e|0,4,0);h=h+1|0;f=da(f+20|0,4,0,0)|0|0}while((f|0)!=0)}if(I){G=a+492|0;H=da(G|0,4,0,0)|0|0;ea(G|0,da(A|0,4,0,0)|0|0,4,0);G=a}else{G=0;H=0}E=Nq(a)|0;b:do if(E){F=a+18|0;if(!(da(F>>0|0,1,0,0)|0)){x=E+88|0;ea(x|0,da(x|0,2,0,0)|0|4|0,2,0)}w=a+408|0;x=da(w|0,4,0,0)|0|0;x=(x|0)==0?a:x;zr(a,g);u=x+328|0;ea(u|0,da(u|0,4,0,0)|0|1<<g|0,4,0);x=x+20|0;ea(x>>0|0,da(x>>0|0,1,0,1)|0|1|0,1,0);if(I){kt(a,A,c,v);ea(K|0,v|0,4,0);ea(J|0,v|0,4,0)};ea(k+0|0,0|0,4,0);ea(k+4|0,0|0,4,0);ea(k+8|0,0|0,4,0);ea(k+12|0,0|0,4,0);ea(k+16|0,0|0,4,0);ea(k+20|0,0|0,4,0);ea(k+24|0,0|0,4,0);ea(k+28|0,0|0,4,0);ea(k|0,a|0,4,0);ea(k+4|0,b|0,4,0);if(!(ks(k,c)|0)){C=L+24|0;if(!((da(C|0,4,0,0)|0)&128))D=-1;else{x=a+72|0;D=(da(x|0,4,0,0)|0|0)+1|0;ea(x|0,D|0,4,0);vh(E,25,0,D,0)|0}x=A+44|0;do if((!((c|0)!=0|(d|0)!=0|m)?((da(x>>0|0,1,0,0)|0)&16)==0:0)?(lt(a,A,0,0)|0)==0:0){f=A+32|0;fs(a,g,da(f|0,4,0,0)|0|0,1,da(A|0,4,0,0)|0|0);if(!((da(x>>0|0,1,0,0)|0)&32)){A=da(A|0,4,0,0)|0|0;wh(E,vh(E,118,da(f|0,4,0,0)|0|0,g,D)|0,A,-2)}d=da(B|0,4,0,0)|0|0;if(!d){d=0;break}do{vh(E,118,da(d+40|0,4,0,0)|0|0,g,0)|0;d=da(d+20|0,4,0,0)|0|0}while((d|0)!=0);d=0}else y=31;while(0);do if((y|0)==31){if(!((da(x>>0|0,1,0,0)|0)&32)){o=a+72|0;s=(da(o|0,4,0,0)|0|0)+1|0;ea(o|0,s|0,4,0);vh(E,28,0,s,0)|0;o=0;t=0;d=0;q=1;g=0}else{g=da(B|0,4,0,0)|0|0;c:do if(!g)g=0;else while(1){if(((da(g+51>>0|0,1,0,0)|0)&3)==2)break c;g=da(g+20|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);q=da(g+46|0,2,0,0)|0|0;t=a+72|0;d=da(t|0,4,0,0)|0|0;o=q<<16>>16;ea(t|0,d+o|0,4,0);t=da(l|0,4,0,0)|0|0;ea(l|0,t+1|0,4,0);o=vh(E,57,t,o,0)|0;s=da(a+8|0,4,0,0)|0|0;wh(s,-1,gs(a,g)|0,-6);d=d+1|0;s=0}p=Us(a,b,c,0,0,12,n)|0;if(!p){d=0;break b}n=p+60|0;m=da(n|0,4,0,0)|0|0;n=da(n+4|0,4,0,0)|0|0;r=da(p+38>>0|0,1,0,0)|0|0;if((da(C|0,4,0,0)|0)&128)vh(E,37,D,1,0)|0;u=(g|0)!=0;do if(u){if(q<<16>>16<=0){e=d;break}k=g+4|0;f=q<<16>>16;l=0;do{mt(E,A,v,da((da(k|0,4,0,0)|0|0)+(l<<1)|0,2,0,0)|0|0,l+d|0);l=l+1|0}while((l|0)!=(f|0));e=d}else{f=a+72|0;e=bt(a,A,-1,v,(da(f|0,4,0,0)|0|0)+1|0,0)|0;if((e|0)<=(da(f|0,4,0,0)|0|0))break;ea(f|0,e|0,4,0)}while(0);k=r<<24>>24!=0;do if(!k)if(u){f=a+72|0;e=(da(f|0,4,0,0)|0|0)+1|0;ea(f|0,e|0,4,0);f=q<<16>>16;l=nt(E,g)|0;wh(E,vh(E,49,d,f,e)|0,l,f);vh(E,110,t,e,0)|0;d=0;f=0;l=0;y=59;break}else{vh(E,128,s,e,0)|0;Ws(p);d=0;n=0;g=1;break}else{d=h+2|0;d=lh(L,d,((d|0)<0)<<31>>31)|0;if(!d){Ws(p);d=0;break b}y=h+1|0;ew(d|0,1,y|0)|0;ea(d+y>>0|0,0|0,1,0);if((m|0)>-1)ea(d+(m-v)>>0|0,0|0,1,0);if((n|0)>-1)ea(d+(n-v)>>0|0,0|0,1,0);if(o)yh(E,o);f=vh(E,16,0,0,0)|0;l=q;y=59}while(0);do if((y|0)==59){Ws(p);if(!k){n=0;g=l;break}g=ws(E)|0;vh(E,16,0,g,0)|0;h=da(E+32|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(E+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(E+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);n=g;g=l}while(0);if(!I)ot(a,A,55,v,d,J,K)|0;do if(!k)if(u){f=vh(E,108,t,0,0)|0;vh(E,101,t,e,0)|0;break}else{f=vh(E,129,s,0,e)|0;break}else{h=da(J|0,4,0,0)|0|0;if(!(da(d+(h-v)>>0|0,1,0,0)|0)){f=0;break}wh(E,vh(E,68,h,n,e)|0,g<<16>>16,-14);f=0}while(0);if(!((da(x>>0|0,1,0,0)|0)&16))qt(a,A,z,da(J|0,4,0,0)|0|0,da(K|0,4,0,0)|0|0,e,g,(da(F>>0|0,1,0,0)|0|0)==0&1,10,r);else{h=da(A+60|0,4,0,0)|0|0;d:do if(!h)h=0;else while(1){if((da(h|0,4,0,0)|0|0)==(L|0))break d;h=da(h+24|0,4,0,0)|0|0;if(!h){h=0;break}}while(0);pt(a,A);wh(E,vh(E,15,0,1,e)|0,h,-10);h=da(E+4|0,4,0,0)|0|0;if(h)ea(h+(((da(E+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0);A=da(w|0,4,0,0)|0|0;ea(((A|0)==0?a:A)+21>>0|0,1|0,1,0)}do if(!k)if(u){vh(E,9,t,f+1|0,0)|0;h=da(E+32|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(E+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(E+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);break}else{vh(E,16,0,f,0)|0;h=da(E+32|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(E+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(E+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);break}else{g=da(E+24|0,4,0,0)|0|0;f=~n;do if((n|0)<0){h=da(g+112|0,4,0,0)|0|0;if(!h)break;ea(h+(f<<2)|0,da(E+32|0,4,0,0)|0|0,4,0)}while(0);ea(g+88|0,(da(E+32|0,4,0,0)|0|0)+-1|0,4,0)}while(0);if(I)break;if((da(x>>0|0,1,0,0)|0)&16)break;if(!u)vh(E,61,da(J|0,4,0,0)|0|0,0,0)|0;e=da(B|0,4,0,0)|0|0;if(!e)break;else f=0;while(1){vh(E,61,(da(K|0,4,0,0)|0|0)+f|0,0,0)|0;e=da(e+20|0,4,0,0)|0|0;if(!e)break;else f=f+1|0}}while(0);if((da(F>>0|0,1,0,0)|0|0)==0?(da(a+412|0,4,0,0)|0|0)==0:0)rt(a);if(((da(C|0,4,0,0)|0)&128|0)!=0?(da(F>>0|0,1,0,0)|0|0)==0:0){if(da(a+412|0,4,0,0)|0)break;vh(E,35,D,1,0)|0;hq(E,1);if(da((da(E|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg(da(E+16|0,4,0,0)|0|0,34568,-1,1,0)|0}}else d=0}else d=0;while(0);if(G)ea(G+492|0,H|0,4,0)}else d=0}else d=0;Co(L,b);Fk(L,c);lg(L,d);i=M;return}function rr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0;ha=i;i=i+64|0;if((i|0)>=(j|0))ba();M=ha;R=ha+32|0;Z=ha+24|0;$=ha+20|0;ga=da(a|0,4,0,0)|0|0;a:do if(((da(a+64|0,4,0,0)|0|0)==0?(da(ga+65>>0|0,1,0,0)|0|0)==0:0)?(fa=Ir(a,b)|0,(fa|0)!=0):0){g=da(a|0,4,0,0)|0|0;k=da(fa+68|0,4,0,0)|0|0;b:do if(k){l=da(g+20|0,4,0,0)|0|0;if((l|0)>0){g=da(g+16|0,4,0,0)|0|0;h=0;while(1){f=h+1|0;if((da(g+(h<<4)+12|0,4,0,0)|0|0)==(k|0))break b;if((f|0)<(l|0))h=f;else{h=f;break}}}else h=0}else h=-1e6;while(0);_=it(a,fa,110,c,Z)|0;X=(da(fa+12|0,4,0,0)|0|0)!=0;if((gr(a,fa)|0)==0?(jt(a,fa,da(Z|0,4,0,0)|0|0)|0)==0:0){T=a+68|0;U=da(T|0,4,0,0)|0|0;aa=U+1|0;ea(T|0,aa|0,4,0);k=b+48|0;ea(k|0,U|0,4,0);D=fa+44|0;n=da(fa+8|0,4,0,0)|0|0;c:do if(!((da(D>>0|0,1,0,0)|0)&32)){l=0;W=16}else{if(!n){p=fa+8|0;l=0;m=U;o=0;break}else l=n;while(1){if(((da(l+51>>0|0,1,0,0)|0)&3)==2){W=16;break c}l=da(l+20|0,4,0,0)|0|0;if(!l){l=0;W=16;break}}}while(0);if((W|0)==16){p=fa+8|0;if(!n){m=U;o=0}else{f=(l|0)!=0;g=aa;m=U;o=0;do{if(((da(n+51>>0|0,1,0,0)|0)&3)==2&f){ea(k|0,g|0,4,0);m=g}g=g+1|0;ea(T|0,g|0,4,0);o=o+1|0;n=da(n+20|0,4,0,0)|0|0}while((n|0)!=0)}}ca=fa+38|0;f=lh(ga,o+2+((da(ca|0,2,0,0)|0|0)+o<<2)|0,0)|0;if(f){B=da(ca|0,2,0,0)|0|0;V=f+(B<<2)|0;Y=f+(B+o<<2)|0;S=o+1|0;ew(Y|0,1,S|0)|0;ea(Y+S>>0|0,0|0,1,0);o=da(ca|0,2,0,0)|0|0;if(o<<16>>16>0)ew(f|0,-1,(o<<16>>16>1?o<<16>>16<<2:4)|0)|0;ea(R+0|0,0|0,4,0);ea(R+4|0,0|0,4,0);ea(R+8|0,0|0,4,0);ea(R+12|0,0|0,4,0);ea(R+16|0,0|0,4,0);ea(R+20|0,0|0,4,0);ea(R+24|0,0|0,4,0);ea(R+28|0,0|0,4,0);ea(R|0,a|0,4,0);ea(R+4|0,b|0,4,0);d:do if((da(c|0,4,0,0)|0|0)>0){x=c+4|0;w=fa+4|0;v=ga+16|0;y=(l|0)==0;z=fa+36|0;r=0;q=0;A=0;g=0;while(1){if(ks(R,da((da(x|0,4,0,0)|0|0)+(A*20|0)|0,4,0,0)|0|0)|0)break a;t=da(ca|0,2,0,0)|0|0;e:do if(t<<16>>16>0){o=da(w|0,4,0,0)|0|0;u=da(x|0,4,0,0)|0|0;k=da(u+(A*20|0)+4|0,4,0,0)|0|0;n=0;while(1){s=n+1|0;if(!(cd(da(o+(n*24|0)|0,4,0,0)|0|0,k)|0))break;if((s|0)<(t<<16>>16|0))n=s;else{n=s;k=g;break e}}if((n|0)!=(da(z|0,2,0,0)|0|0)){if(!y)r=((da(o+(n*24|0)+23>>0|0,1,0,0)|0)&1)==0?r:1}else{q=1;g=da(u+(A*20|0)|0,4,0,0)|0|0}ea(f+(n<<2)|0,A|0,4,0);k=g}else{n=0;k=g}while(0);if((n|0)<(t<<16>>16|0)){g=da(fa|0,4,0,0)|0|0;if((n|0)<0)o=12944;else o=da((da(w|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0}else{k=da(x|0,4,0,0)|0|0;g=da(k+(A*20|0)+4|0,4,0,0)|0|0;if(!y)break;if(!(_h(g)|0))break;g=da(fa|0,4,0,0)|0|0;o=12944;q=1;n=-1;k=da(k+(A*20|0)|0,4,0,0)|0|0}g=Rq(a,23,g,o,da((da(v|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0)|0;if((g|0)==1)break a;else if((g|0)==2)ea(f+(n<<2)|0,-1|0,4,0);A=A+1|0;if((A|0)>=(da(c|0,4,0,0)|0|0)){K=k;break d}else g=k}ea(M|0,g|0,4,0);sh(a,34496,M);ea(a+17>>0|0,1|0,1,0);break a}else{r=0;q=0;K=0}while(0);Q=(r&255)+(q&255)|0;N=Q&255;v=b+64|0;ea(v|0,0|0,4,0);ea(v+4|0,0|0,4,0);Q=Q&255;v=lt(a,fa,f,Q)|0;g=da(p|0,4,0,0)|0|0;if(g){s=(v|Q|0)==0;t=a+72|0;u=0;while(1){f:do if(s?!((da(g+36|0,4,0,0)|0|0)!=0|(g|0)==(l|0)):0){k=da(g+46|0,2,0,0)|0|0;if(!(k<<16>>16))W=56;else{n=da(g+4|0,4,0,0)|0|0;o=0;while(1){if((da(f+((da(n+(o<<1)|0,2,0,0)|0)<<2)|0,4,0,0)|0|0)>-1){W=54;break f}o=o+1|0;if((o|0)>=(k&65535|0)){W=56;break}}}}else W=54;while(0);if((W|0)==54){W=0;k=(da(t|0,4,0,0)|0|0)+1|0;ea(t|0,k|0,4,0);if(!k)W=56;else n=u+1|0}if((W|0)==56){W=0;n=u+1|0;ea(Y+n>>0|0,0|0,1,0);k=0}ea(f+(u+B<<2)|0,k|0,4,0);g=da(g+20|0,4,0,0)|0|0;if(!g)break;else u=n}}O=Nq(a)|0;if(O){P=a+18|0;if(!(da(P>>0|0,1,0,0)|0)){L=O+88|0;ea(L|0,da(L|0,2,0,0)|0|4|0,2,0)}A=a+408|0;L=da(A|0,4,0,0)|0|0;L=(L|0)==0?a:L;zr(a,h);J=L+328|0;ea(J|0,da(J|0,4,0,0)|0|1<<h|0,4,0);L=L+20|0;ea(L>>0|0,da(L>>0|0,1,0,1)|0|1|0,1,0);if((da(D>>0|0,1,0,0)|0)&16){q=da(a+8|0,4,0,0)|0|0;r=da(a|0,4,0,0)|0|0;g=da(fa+60|0,4,0,0)|0|0;g:do if(!g)g=0;else while(1){if((da(g|0,4,0,0)|0|0)==(r|0))break g;g=da(g+24|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);h=kr(a,0,st(r,27,34536)|0)|0;p=(K|0)!=0;if(p)h=kr(a,h,Lr(r,K,0,0)|0)|0;if((da(ca|0,2,0,0)|0|0)>0){k=c+4|0;m=fa+4|0;n=0;do{l=da(f+(n<<2)|0,4,0,0)|0|0;if((l|0)>-1)l=Lr(r,da((da(k|0,4,0,0)|0|0)+(l*20|0)|0,4,0,0)|0|0,0,0)|0;else l=st(r,27,da((da(m|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0)|0;h=kr(a,h,l)|0;n=n+1|0}while((n|0)<(da(ca|0,2,0,0)|0|0))}m=jr(a,h,b,d,0,0,0,0,0,0)|0;o=da(T|0,4,0,0)|0|0;ea(T|0,o+1|0,4,0);b=p&1;vh(q,57,o,(da(ca|0,2,0,0)|0|0)+(p?2:1)|0,0)|0;n=q+4|0;d=da(n|0,4,0,0)|0|0;if(d)ea(d+(((da(q+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(M>>0|0,14|0,1,0);ea(M+4|0,o|0,4,0);ea(M+1>>0|0,0|0,1,0);ea(M+8|0,0|0,4,0);ea(M+12|0,0|0,4,0);hr(a,m,M)|0;d=a+72|0;l=da(d|0,4,0,0)|0|0;h=l+1|0;Y=l+2|0;ea(d|0,(da(ca|0,2,0,0)|0|0)+Y|0,4,0);d=vh(q,108,o,0,0)|0;vh(q,47,o,0,h)|0;vh(q,47,o,b,Y)|0;if((da(ca|0,2,0,0)|0|0)>0){l=l+3|0;k=0;do{Y=k;k=k+1|0;vh(q,47,o,k+b|0,l+Y|0)|0}while((k|0)<(da(ca|0,2,0,0)|0|0))}pt(a,fa);wh(q,vh(q,15,0,(da(ca|0,2,0,0)|0|0)+2|0,h)|0,g,-10);g=da(n|0,4,0,0)|0|0;if(!g)g=q+32|0;else{Y=q+32|0;ea(g+(((da(Y|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,((e|0)==10?2:e&255)|0,1,0);g=Y}Y=da(A|0,4,0,0)|0|0;ea(((Y|0)==0?a:Y)+21>>0|0,1|0,1,0);vh(q,9,o,d+1|0,0)|0;g=da(g|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(n|0,4,0,0)|0|0)+(d*20|0)+8|0,g|0,4,0);ea((da(q+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);vh(q,61,o,0,0)|0;Lk(r,m,1);d=0;b=0;break}A=a+72|0;g=da(A|0,4,0,0)|0|0;z=g+1|0;J=g+2|0;ea(A|0,J|0,4,0);B=r<<24>>24!=0;C=(_|0)!=0;I=(v|0)!=0;if(B|C|I){h=(da(ca|0,2,0,0)|0|0)+J|0;ea(A|0,h|0,4,0);E=g+3|0}else{h=J;E=0}G=(Q|0)!=0;if(G|C|I){H=h+1|0;ea(A|0,H|0,4,0);h=H}else H=J;F=h+1|0;ea(A|0,(da(ca|0,2,0,0)|0|0)+h|0,4,0);if(X){L=a+492|0;M=da(L|0,4,0,0)|0|0;ea(L|0,da(fa|0,4,0,0)|0|0,4,0);kt(a,fa,d,m);L=a}else{L=0;M=0}do if(!(ks(R,d)|0)){if(!((da(D>>0|0,1,0,0)|0)&32)){vh(O,28,0,z,J)|0;r=Us(a,b,d,0,0,4,aa)|0;if(!r)break;t=r+60|0;g=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;u=da(r+38>>0|0,1,0,0)|0|0;vh(O,103,m,J,0)|0;if(!(u<<24>>24))vh(O,128,z,J,0)|0;Ws(r);w=0;v=0;s=u&255;x=0}else{u=da(l+46|0,2,0,0)|0|0;n=da(A|0,4,0,0)|0|0;r=n+1|0;v=u<<16>>16;n=v+1+n|0;ea(A|0,n|0,4,0);w=da(T|0,4,0,0)|0|0;ea(T|0,w+1|0,4,0);vh(O,28,0,r,0)|0;h=vh(O,57,w,v,0)|0;o=da(a+8|0,4,0,0)|0|0;wh(o,-1,gs(a,l)|0,-6);o=Us(a,b,d,0,0,4,aa)|0;if(!o)break;t=o+60|0;g=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;k=da(o+38>>0|0,1,0,0)|0|0;x=k&255;if(u<<16>>16>0){u=l+4|0;s=0;do{mt(O,fa,m,da((da(u|0,4,0,0)|0|0)+(s<<1)|0,2,0,0)|0|0,s+r|0);s=s+1|0}while((s|0)!=(v|0))}if(!(k<<24>>24)){u=nt(O,l)|0;wh(O,vh(O,49,r,v,n)|0,u,v);vh(O,110,w,n,0)|0;u=0;r=n}else{yh(O,h);u=v}Ws(o);v=u;s=x;x=r}D=ga+24|0;do if(!((da(D|0,4,0,0)|0)&128))o=0;else{if(da(a+412|0,4,0,0)|0){o=0;break}o=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,o|0,4,0);vh(O,25,0,o,0)|0}while(0);n=ws(O)|0;if(!X){h:do if((e|0)==5)ew(Y|0,1,S|0)|0;else{u=da(p|0,4,0,0)|0|0;if(!u)break;while(1){if((da(u+50>>0|0,1,0,0)|0|0)==5)break;u=da(u+20|0,4,0,0)|0|0;if(!u)break h}ew(Y|0,1,S|0)|0}while(0);do if(s){if((g|0)>-1)ea(Y+(g-U)>>0|0,0|0,1,0);if((t|0)<=-1)break;ea(Y+(t-U)>>0|0,0|0,1,0)}while(0);ot(a,fa,55,U,Y,0,0)|0}A=(s|0)!=0;do if(!A)if(!l){z=vh(O,129,z,n,J)|0;vh(O,70,m,z,J)|0;y=0;break}else{z=ws(O)|0;vh(O,108,w,n,0)|0;y=vh(O,101,w,x,0)|0;wh(O,vh(O,68,m,z,x)|0,0,-14);break}else{if(!((da(Y+(m-U)>>0|0,1,0,0)|0|0)==0|X))wh(O,vh(O,68,m,n,x)|0,v,-14);vh(O,76,(l|0)!=0?x:J,n,0)|0;y=0;z=n}while(0);q=q<<24>>24==0;if(!q){Qq(a,K,H);vh(O,38,H,0,0)|0}do if(B|I|C){if(I)r=tt(a,fa)|0;else r=0;u=ut(a,_,c,0,3,fa,e)|0|r;if((da(ca|0,2,0,0)|0|0)>0){t=(u|0)==-1;s=fa+4|0;r=0;do{do if(t)W=138;else{if((r|0)<32?(1<<r&u|0)!=0:0){W=138;break}if((da((da(s|0,4,0,0)|0|0)+(r*24|0)+23>>0|0,1,0,0)|0)&1){W=138;break}vh(O,28,0,r+E|0,0)|0}while(0);if((W|0)==138){W=0;mt(O,fa,m,r,r+E|0)}r=r+1|0}while((r|0)<(da(ca|0,2,0,0)|0|0))}if(!(q&(l|0)==0))break;vh(O,33,J,H,0)|0}while(0);r=ut(a,_,c,1,1,fa,e)|0;if((da(ca|0,2,0,0)|0|0)>0){q=fa+36|0;g=c+4|0;k=0;do{i:do if((k|0)==(da(q|0,2,0,0)|0|0))vh(O,28,0,k+F|0,0)|0;else{h=da(f+(k<<2)|0,4,0,0)|0|0;if((h|0)>-1){Qq(a,da((da(g|0,4,0,0)|0|0)+(h*20|0)|0,4,0,0)|0|0,k+F|0);break}do if(!(((da(Z|0,4,0,0)|0)&1|0)==0|(k|0)>31)){if(1<<k&r)break;vh(O,28,0,k+F|0,0)|0;break i}while(0);mt(O,fa,m,k,k+F|0)}while(0);k=k+1|0}while((k|0)<(da(ca|0,2,0,0)|0|0))}do if((da(Z|0,4,0,0)|0)&1){vt(O,fa,F);wt(a,_,110,c,1,fa,J,e,z);if(!l)vh(O,70,m,z,J)|0;else wh(O,vh(O,68,m,z,x)|0,v,-14);g=da(ca|0,2,0,0)|0|0;if(g<<16>>16<=0)break;q=fa+36|0;r=0;do{do if((da(f+(r<<2)|0,4,0,0)|0|0)<0){if((r|0)==(da(q|0,2,0,0)|0|0))break;mt(O,fa,m,r,r+F|0);g=da(ca|0,2,0,0)|0|0}while(0);r=r+1|0}while((r|0)<(g<<16>>16|0))}while(0);do if(!X){ea($|0,0|0,4,0);xt(a,fa,V,m,aa,H,J,N,e&255,z,$);if(I)yt(a,fa,J,0,f,Q);g=(da($|0,4,0,0)|0|Q|0)==0;do if(!g)if(!l){h=vh(O,70,m,0,J)|0;break}else{h=vh(O,68,m,0,x)|0;wh(O,h,v,-14);break}else h=0;while(0);zt(a,fa,m,aa,V);if(I|(G|(l|0)!=0))vh(O,95,m,0,0)|0;if(!g){g=da(O+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(O+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(O+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}if(I){yt(a,fa,0,H,f,Q);At(a,fa,m,aa,H,V,1,0,0);Bt(a,fa,c,J,f,Q);break}else{At(a,fa,m,aa,H,V,1,0,0);break}}while(0);do if((da(D|0,4,0,0)|0)&128){if(da(a+412|0,4,0,0)|0)break;vh(O,37,o,1,0)|0}while(0);wt(a,_,110,c,2,fa,J,e,z);do if(!A){if(!l){vh(O,16,0,z,0)|0;break}k=da(O+24|0,4,0,0)|0|0;h=~z;do if((z|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(O+32|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(O+32|0,4,0,0)|0|0)+-1|0,4,0);vh(O,9,w,y,0)|0}while(0);k=da(O+24|0,4,0,0)|0|0;h=~n;do if((n|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(O+32|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(O+32|0,4,0,0)|0|0)+-1|0,4,0);h=da(p|0,4,0,0)|0|0;if(h){k=0;do{l=k;k=k+1|0;if(da(Y+k>>0|0,1,0,0)|0)vh(O,61,l+aa|0,0,0)|0;h=da(h+20|0,4,0,0)|0|0}while((h|0)!=0)}if((m|0)<(aa|0))vh(O,61,m,0,0)|0;do if(!(da(P>>0|0,1,0,0)|0)){if(da(a+412|0,4,0,0)|0)break;rt(a)}while(0);if(!((da(D|0,4,0,0)|0)&128))break;if(da(a+412|0,4,0,0)|0)break;if(da(P>>0|0,1,0,0)|0)break;vh(O,35,o,1,0)|0;hq(O,1);if(da((da(O|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg(da(O+16|0,4,0,0)|0|0,34520,-1,1,0)|0}while(0);if(L)ea(L+492|0,M|0,4,0)}}}else f=0}else f=0;while(0);lg(ga,f);Co(ga,b);Mk(ga,c);Fk(ga,d);i=ha;return}function sr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+96|0;if((i|0)>=(j|0))ba();X=ja;ca=ja+92|0;ga=ja+88|0;E=ja+68|0;R=ja+64|0;H=ja+32|0;W=ja+28|0;ea(ca|0,0|0,4,0);ea(ga|0,0|0,4,0);ia=da(a|0,4,0,0)|0|0;ea(E+0|0,0|0,4,0);ea(E+4|0,0|0,4,0);ea(E+8|0,0|0,4,0);ea(E+12|0,0|0,4,0);ea(E+16|0,0|0,4,0);a:do if((da(a+64|0,4,0,0)|0|0)==0?(G=ia+65|0,(da(G>>0|0,1,0,0)|0|0)==0):0){if(c)if(((da(c+6|0,2,0,0)|0)&128)!=0?(da(c+52|0,4,0,0)|0|0)==0:0){f=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);Lk(ia,c,1);c=0}else f=0;else{c=0;f=0}if((da(b+16|0,4,0,0)|0|0)!=0?(fa=Ir(a,b)|0,(fa|0)!=0):0){n=da(fa+68|0,4,0,0)|0|0;b:do if(n){m=da(ia+20|0,4,0,0)|0|0;if((m|0)>0){l=da(ia+16|0,4,0,0)|0|0;h=0;while(1){k=h+1|0;if((da(l+(h<<4)+12|0,4,0,0)|0|0)==(n|0)){k=h;break b}if((k|0)<(m|0))h=k;else break}}else k=0}else k=-1e6;while(0);if((((Rq(a,18,da(fa|0,4,0,0)|0|0,0,da((da(ia+16|0,4,0,0)|0|0)+(k<<4)|0,4,0,0)|0|0)|0)==0?(_=fa+44|0,S=(da(_>>0|0,1,0,1)|0|0)>>>5&1,Z=it(a,fa,108,0,R)|0,$=(da(fa+12|0,4,0,0)|0|0)!=0,(gr(a,fa)|0)==0):0)?(jt(a,fa,da(R|0,4,0,0)|0|0)|0)==0:0)?(ha=Nq(a)|0,(ha|0)!=0):0){aa=a+18|0;if(!(da(aa>>0|0,1,0,0)|0)){Y=ha+88|0;ea(Y|0,da(Y|0,2,0,0)|0|4|0,2,0)}Y=(c|0)!=0;V=a+408|0;U=da(V|0,4,0,0)|0|0;U=(U|0)==0?a:U;zr(a,k);Q=U+328|0;ea(Q|0,da(Q|0,4,0,0)|0|1<<k|0,4,0);U=U+20|0;ea(U>>0|0,da(U>>0|0,1,0,1)|0|(Y|(Z|0)!=0)&1|0,1,0);U=(d|0)==0;c:do if((((!((c|0)==0|U^1)?(da(a+532|0,4,0,0)|0|0)==0:0)?(da(c+68|0,4,0,0)|0|0)==0:0)?(zs(a,fa)|0)==0:0)?((da(_>>0|0,1,0,0)|0)&16)==0:0){if((e|0)==10){if((da(fa+36|0,2,0,0)|0|0)>-1)n=da(fa+45>>0|0,1,0,1)|0|0;else n=10;r=(n|0)==10?2:n}else r=e;m=da(c+32|0,4,0,0)|0|0;if((da(m|0,4,0,0)|0|0)==1){if(da(m+28|0,4,0,0)|0){T=117;break}if(da(c+36|0,4,0,0)|0){T=117;break}if(da(c+48|0,4,0,0)|0){T=117;break}if(da(c+40|0,4,0,0)|0){T=117;break}if(da(c+60|0,4,0,0)|0){T=117;break}if(da(c+52|0,4,0,0)|0){T=117;break}if((da(c+6|0,2,0,0)|0)&1){T=117;break}n=da(c|0,4,0,0)|0|0;if((da(n|0,4,0,0)|0|0)!=1){T=117;break}if((da((da(da(n+4|0,4,0,0)|0|0,4,0,0)|0)>>0|0,1,0,0)|0|0)!=116){T=117;break}q=Tr(a,0,m+8|0)|0;if((q|0)==0|(q|0)==(fa|0)){T=117;break}u=q+44|0;n=da(u>>0|0,1,0,1)|0|0;if(!((n&16|0)==0?(((da(_>>0|0,1,0,1)|0|0)>>>5&1^1)&255|0)==(n>>>5&1^1|0):0)){T=117;break}if(da(q+12|0,4,0,0)|0){T=117;break}o=da(fa+38|0,2,0,0)|0|0;if(o<<16>>16!=(da(q+38|0,2,0,0)|0|0)){T=117;break}t=fa+36|0;if((da(t|0,2,0,0)|0|0)!=(da(q+36|0,2,0,0)|0|0)){T=117;break}if(o<<16>>16>0){h=da(fa+4|0,4,0,0)|0|0;g=da(q+4|0,4,0,0)|0|0;p=0;do{if((da(h+(p*24|0)+21>>0|0,1,0,0)|0|0)!=(da(g+(p*24|0)+21>>0|0,1,0,0)|0|0)){T=117;break c}n=da(h+(p*24|0)+16|0,4,0,0)|0|0;m=da(g+(p*24|0)+16|0,4,0,0)|0|0;l=(m|0)==0;if(!n){if(!l){T=117;break c}}else{if(l){T=117;break c}if(cd(n,m)|0){T=117;break c}}if((da(h+(p*24|0)+20>>0|0,1,0,0)|0|0)!=0?(da(g+(p*24|0)+20>>0|0,1,0,0)|0|0)==0:0){T=117;break c}do if((p|0)>0){n=da(h+(p*24|0)+8|0,4,0,0)|0|0;m=(n|0)==0;l=da(g+(p*24|0)+8|0,4,0,0)|0|0;if(m^(l|0)==0){T=117;break c}if(m)break;if(Zv(n,l)|0){T=117;break c}}while(0);p=p+1|0}while((p|0)<(o<<16>>16|0))}x=fa+8|0;n=da(x|0,4,0,0)|0|0;if(!n)m=0;else{o=da(q+8|0,4,0,0)|0|0;if(!o){T=117;break}else m=0;do{m=(da(n+50>>0|0,1,0,0)|0|0)==0?m:1;l=o;while(1){if(Ct(n,l)|0)break;l=da(l+20|0,4,0,0)|0|0;if(!l){T=117;break c}}if(!l){T=117;break c}n=da(n+20|0,4,0,0)|0|0}while((n|0)!=0)}n=da(fa+24|0,4,0,0)|0|0;if((n|0)!=0?(Ss(da(q+24|0,4,0,0)|0|0,n,-1)|0)!=0:0){T=117;break}l=da(a|0,4,0,0)|0|0;n=da(l+24|0,4,0,0)|0|0;if(!(n&524288)){if(n&128){T=117;break}}else if(!((da(fa+16|0,4,0,0)|0|0)==0&(n&128|0)==0)){T=117;break}g=da(q+68|0,4,0,0)|0|0;d:do if(!g)l=-1e6;else{o=da(l+20|0,4,0,0)|0|0;if((o|0)<=0){l=0;break}n=da(l+16|0,4,0,0)|0|0;h=0;while(1){l=h+1|0;if((da(n+(h<<4)+12|0,4,0,0)|0|0)==(g|0)){l=h;break d}if((l|0)<(o|0))h=l;else break}}while(0);w=Nq(a)|0;zr(a,l);s=a+68|0;y=da(s|0,4,0,0)|0|0;v=y+1|0;ea(s|0,y+2|0,4,0);s=Dt(a,k,fa)|0;o=a+19|0;h=da(o>>0|0,1,0,0)|0|0;do if(!(h<<24>>24)){T=a+72|0;n=(da(T|0,4,0,0)|0|0)+1|0;ea(T|0,n|0,4,0);T=78}else{Q=h+-1<<24>>24;ea(o>>0|0,Q|0,1,0);n=da(a+((Q&255)<<2)+24|0,4,0,0)|0|0;if(!(Q<<24>>24)){T=78;break}z=h+-2<<24>>24;ea(o>>0|0,z|0,1,0);A=n;z=da(a+((z&255)<<2)+24|0,4,0,0)|0|0}while(0);if((T|0)==78){A=a+72|0;z=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,z|0,4,0);A=n}Pq(a,v,k,fa,55);if((da(t|0,2,0,0)|0|0)<0)if((da(x|0,4,0,0)|0|0)!=0|(m|0)!=0|(r+-1|0)>>>0>1)T=83;else B=0;else if((m|0)!=0|(r+-1|0)>>>0>1)T=83;else B=0;if((T|0)==83){p=vh(w,108,v,0,0)|0;o=vh(w,16,0,0,0)|0;n=da(w+32|0,4,0,0)|0|0;if(n>>>0>p>>>0)ea((da(w+4|0,4,0,0)|0|0)+(p*20|0)+8|0,n|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0);B=o}if(!((da(u>>0|0,1,0,0)|0)&32)){Pq(a,y,l,q,54);m=vh(w,108,y,0,0)|0;do if((da(t|0,2,0,0)|0|0)<=-1)if(!(da(x|0,4,0,0)|0)){n=vh(w,74,v,z,0)|0;break}else{n=vh(w,103,y,z,0)|0;break}else{n=vh(w,103,y,z,0)|0;p=vh(w,70,v,0,z)|0;Et(a,r,fa);o=da(w+32|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(w+4|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);if((s|0)<=0)break;vh(da(a+8|0,4,0,0)|0|0,136,s,z,0)|0}while(0);vh(w,102,y,A,0)|0;vh(w,75,v,A,z)|0;o=da(w+4|0,4,0,0)|0|0;if(o)ea(o+(((da(w+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,11|0,1,0);wh(w,-1,da(fa|0,4,0,0)|0|0,0);vh(w,9,y,n,0)|0;vh(w,61,y,0,0)|0;vh(w,61,v,0,0)|0}else{fs(a,k,da(fa+32|0,4,0,0)|0|0,1,da(fa|0,4,0,0)|0|0);fs(a,l,da(q+32|0,4,0,0)|0|0,0,da(q|0,4,0,0)|0|0);m=0}p=da(x|0,4,0,0)|0|0;if(p){h=q+8|0;g=a+8|0;q=w+4|0;r=w+32|0;s=w+24|0;n=p;do{p=h;while(1){p=da(p|0,4,0,0)|0|0;if(Ct(n,p)|0)break;p=p+20|0}vh(w,54,y,da(p+40|0,4,0,0)|0|0,l)|0;Q=da(g|0,4,0,0)|0|0;wh(Q,-1,gs(a,p)|0,-6);vh(w,55,v,da(n+40|0,4,0,0)|0|0,k)|0;p=da(g|0,4,0,0)|0|0;wh(p,-1,gs(a,n)|0,-6);p=da(q|0,4,0,0)|0|0;if(p)ea(p+(((da(r|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);p=vh(w,108,y,0,0)|0;vh(w,101,y,A,0)|0;vh(w,110,v,A,1)|0;vh(w,9,y,p+1|0,0)|0;o=da(r|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(q|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(s|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);vh(w,61,y,0,0)|0;vh(w,61,v,0,0)|0;n=da(n+20|0,4,0,0)|0|0}while((n|0)!=0)}if(m){n=da(w+32|0,4,0,0)|0|0;if(n>>>0>m>>>0)ea((da(w+4|0,4,0,0)|0|0)+(m*20|0)+8|0,n|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0)}Zr(a,z);Zr(a,A);if(!B){g=0;h=0;break}vh(w,24,0,0,0)|0;n=da(w+32|0,4,0,0)|0|0;if(n>>>0>B>>>0)ea((da(w+4|0,4,0,0)|0|0)+(B*20|0)+8|0,n|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0);vh(w,61,v,0,0)|0;T=117}else T=117}else T=117;while(0);do if((T|0)==117){L=Dt(a,k,fa)|0;K=a+72|0;m=da(K|0,4,0,0)|0|0;P=m+1|0;Q=fa+38|0;B=da(Q|0,2,0,0)|0|0;A=B<<16>>16;n=P+A|0;ea(K|0,n|0,4,0);if(!((da(_>>0|0,1,0,0)|0)&16))O=P;else{n=n+1|0;ea(K|0,n|0,4,0);O=m+2|0}M=O+1|0;N=(d|0)!=0;e:do if(N?(I=da(d+4|0,4,0,0)|0|0,J=(I|0)>0,J):0){o=da(d|0,4,0,0)|0|0;m=0;do{ea(o+(m<<3)+4|0,-1|0,4,0);m=m+1|0}while((m|0)<(I|0));if(J){w=S<<24>>24!=0;v=fa+4|0;u=fa+36|0;m=1;t=0;o=-1;while(1){f:do if(B<<16>>16>0){s=da(d|0,4,0,0)|0|0;l=da(s+(t<<3)|0,4,0,0)|0|0;h=da(v|0,4,0,0)|0|0;p=0;while(1){r=p+1|0;if(!(cd(l,da(h+(p*24|0)|0,4,0,0)|0|0)|0))break;if((r|0)<(A|0))p=r;else{p=r;break f}}ea(s+(t<<3)+4|0,p|0,4,0);m=(t|0)==(p|0)?m:0;o=(p|0)==(da(u|0,2,0,0)|0|0)?t:o}else p=0;while(0);if((p|0)>=(A|0)){g=da((da(d|0,4,0,0)|0|0)+(t<<3)|0,4,0,0)|0|0;if((_h(g)|0)==0|w)break;else{m=0;p=t}}else p=o;t=t+1|0;if((t|0)>=(I|0)){x=p;break e}else o=p}ea(X|0,b|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,g|0,4,0);sh(a,33368,X);ea(a+17>>0|0,1|0,1,0);g=0;break a}else{m=1;x=-1}}else{m=1;x=-1}while(0);g:do if(!Y){ea(H+0|0,0|0,4,0);ea(H+4|0,0|0,4,0);ea(H+8|0,0|0,4,0);ea(H+12|0,0|0,4,0);ea(H+16|0,0|0,4,0);ea(H+20|0,0|0,4,0);ea(H+24|0,0|0,4,0);ea(H+28|0,0|0,4,0);ea(H|0,a|0,4,0);if(f){l=da(f|0,4,0,0)|0|0;if((l|0)>0){n=f+4|0;m=0;while(1){if(ks(H,da((da(n|0,4,0,0)|0|0)+(m*20|0)|0,4,0,0)|0|0)|0){c=0;g=0;break a}m=m+1|0;if((m|0)>=(l|0)){n=0;m=-1;k=0;T=169;break}}}else{I=x;H=0;J=-1;s=0}}else{I=x;l=0;H=0;J=-1;s=0}}else{n=n+1|0;ea(K|0,n|0,4,0);z=ha+32|0;o=da(z|0,4,0,0)|0|0;vh(ha,20,n,0,o+1|0)|0;ea(E>>0|0,13|0,1,0);A=E+4|0;ea(A|0,n|0,4,0);ea(E+1>>0|0,0|0,1,0);y=E+8|0;ea(y|0,(m<<24>>24!=0?M:0)|0,4,0);ea(E+12|0,da(Q|0,2,0,0)|0|0,4,0);J=hr(a,c,E)|0;y=da(y|0,4,0,0)|0|0;if(J){g=0;break a}if(da(G>>0|0,1,0,0)|0){g=0;break a}vh(ha,21,n,0,0)|0;n=da(z|0,4,0,0)|0|0;if(n>>>0>o>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(o*20|0)+8|0,n|0,4,0);B=ha+24|0;ea((da(B|0,4,0,0)|0|0)+88|0,n+-1|0,4,0);l=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;h:do if(!Z){p=Nq(a)|0;m=da(p+32|0,4,0,0)|0|0;i:do if(!((da(_>>0|0,1,0,0)|0)&16))o=0;else{n=da(a|0,4,0,0)|0|0;o=da(fa+60|0,4,0,0)|0|0;if(!o){o=0;break}while(1){if((da(o|0,4,0,0)|0|0)==(n|0))break i;o=da(o+24|0,4,0,0)|0|0;if(!o){o=0;break}}}while(0);if((m|0)<=1){n=y;m=0;k=0;T=169;break g}h=(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0;s=p+4|0;r=fa+32|0;q=fa+8|0;g=1;while(1){if(h)p=(da(s|0,4,0,0)|0|0)+(g*20|0)|0;else p=29120;n=da(p>>0|0,1,0,0)|0|0;do if(n<<24>>24==54){if((da(p+12|0,4,0,0)|0|0)!=(k|0))break;n=da(p+8|0,4,0,0)|0|0;if((n|0)==(da(r|0,4,0,0)|0|0))break h;p=da(q|0,4,0,0)|0|0;if(!p)break;do{if((n|0)==(da(p+40|0,4,0,0)|0|0))break h;p=da(p+20|0,4,0,0)|0|0}while((p|0)!=0)}else if(n<<24>>24==-107?(da(p+16|0,4,0,0)|0|0)==(o|0):0)break h;while(0);g=g+1|0;if((g|0)>=(m|0)){n=y;m=0;k=0;T=169;break g}}}while(0);o=a+68|0;p=da(o|0,4,0,0)|0|0;ea(o|0,p+1|0,4,0);o=a+19|0;m=da(o>>0|0,1,0,0)|0|0;do if(!(m<<24>>24)){n=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,n|0,4,0);T=159}else{J=m+-1<<24>>24;ea(o>>0|0,J|0,1,0);n=da(a+((J&255)<<2)+24|0,4,0,0)|0|0;if(!(J<<24>>24)){T=159;break}J=m+-2<<24>>24;ea(o>>0|0,J|0,1,0);o=da(a+((J&255)<<2)+24|0,4,0,0)|0|0}while(0);if((T|0)==159){o=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,o|0,4,0)}vh(ha,57,p,l,0)|0;k=vh(ha,22,da(A|0,4,0,0)|0|0,0,0)|0;vh(ha,49,y,l,n)|0;vh(ha,74,p,o,0)|0;vh(ha,75,p,n,o)|0;vh(ha,16,0,k,0)|0;m=da(z|0,4,0,0)|0|0;if(m>>>0>k>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(k*20|0)+8|0,m|0,4,0);ea((da(B|0,4,0,0)|0|0)+88|0,m+-1|0,4,0);Zr(a,n);Zr(a,o);n=y;m=p;k=1;T=169}while(0);if((T|0)==169)if(U&(l|0)>0){I=da(fa+36|0,2,0,0)|0|0;H=n;J=m;s=k}else{I=x;H=n;J=m;s=k}if(((da(_>>0|0,1,0,0)|0)&16)!=0?(F=da(Q|0,2,0,0)|0|0,F<<16>>16>0):0){o=da(fa+4|0,4,0,0)|0|0;m=F<<16>>16;k=0;n=0;do{n=((da(o+(k*24|0)+23>>0|0,1,0,1)|0|0)>>>1&1)+n|0;k=k+1|0}while((k|0)<(m|0))}else n=0;do if(U&(l|0)!=0){n=(da(Q|0,2,0,0)|0|0)-n|0;if((l|0)==(n|0))break;ea(X|0,b|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,n|0,4,0);ea(X+12|0,l|0,4,0);sh(a,33400,X);g=0;break a}while(0);do if(N){n=da(d+4|0,4,0,0)|0|0;if((l|0)==(n|0))break;ea(X|0,l|0,4,0);ea(X+4|0,n|0,4,0);sh(a,33456,X);g=0;break a}while(0);D=ia+24|0;if(!((da(D|0,4,0,0)|0)&128))h=0;else{h=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,h|0,4,0);vh(ha,25,0,h,0)|0}do if($)g=0;else{n=ot(a,fa,55,-1,0,ca,ga)|0;g=lh(ia,(n<<2)+4|0,0)|0;if(!g)break a;if((n|0)>0)m=0;else break;do{G=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,G|0,4,0);ea(g+(m<<2)|0,G|0,4,0);m=m+1|0}while((m|0)!=(n|0))}while(0);F=s<<24>>24!=0;do if(F){G=vh(ha,108,J,0,0)|0;E=da(ha+32|0,4,0,0)|0|0}else{if(!Y){E=0;G=0;break}G=vh(ha,22,da(E+4|0,4,0,0)|0|0,0,0)|0;E=G}while(0);C=ws(ha)|0;do if((da(R|0,4,0,0)|0)&1){p=(da(Q|0,2,0,0)|0|0)+1|0;A=a+60|0;o=da(A|0,4,0,0)|0|0;z=a+56|0;n=da(z|0,4,0,0)|0|0;if((n|0)<(p|0)){B=da(K|0,4,0,0)|0|0;ea(K|0,B+p|0,4,0);B=B+1|0}else{ea(A|0,p+o|0,4,0);ea(z|0,n-p|0,4,0);B=o}if((I|0)<0)vh(ha,25,-1,B,0)|0;else{if(F)vh(ha,47,J,I,B)|0;else Qq(a,da((da(f+4|0,4,0,0)|0|0)+(I*20|0)|0,4,0,0)|0|0,B);p=vh(ha,77,B,0,0)|0;vh(ha,25,-1,B,0)|0;o=da(ha+32|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(ha+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);vh(ha,38,B,0,0)|0}o=da(Q|0,2,0,0)|0|0;if(o<<16>>16>0){w=F|(f|0)!=0;m=d+4|0;n=B+1|0;p=f+4|0;t=a+8|0;u=fa+4|0;v=0;do{j:do if(U)s=v;else{r=da(m|0,4,0,0)|0|0;if((r|0)<=0){s=0;break}q=da(d|0,4,0,0)|0|0;k=0;while(1){s=k+1|0;if((da(q+(k<<3)+4|0,4,0,0)|0|0)==(v|0)){s=k;break j}if((s|0)<(r|0))k=s;else break}}while(0);do if(w){if(N?(s|0)>=(da(m|0,4,0,0)|0|0):0){T=213;break}if(F){vh(ha,47,J,s,n+v|0)|0;break}else{R=da((da(p|0,4,0,0)|0|0)+(s*20|0)|0,4,0,0)|0|0;k=n+v|0;q=da(t|0,4,0,0)|0|0;Qq(a,R,k);o=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,o|0,4,0);vh(q,33,k,o,0)|0;ea(R+38>>0|0,da(R>>0|0,1,0,0)|0|0|0,1,0);ea(R>>0|0,-97|0,1,0);ea(R+28|0,o|0,4,0);R=R+4|0;ea(R|0,(da(R|0,4,0,0)|0)&-4097|0,4,0);break}}else T=213;while(0);if((T|0)==213){T=0;Qq(a,da((da(u|0,4,0,0)|0|0)+(v*24|0)+4|0,4,0,0)|0|0,n+v|0)}v=v+1|0;o=da(Q|0,2,0,0)|0|0}while((v|0)<(o<<16>>16|0))}if(!$){vt(ha,fa,B+1|0);o=da(Q|0,2,0,0)|0|0}wt(a,Z,108,0,1,fa,B+-1-(o<<16>>16)|0,e,C);o=(da(Q|0,2,0,0)|0|0)+1|0;ct(a,B,o);if((da(z|0,4,0,0)|0|0)>=(o|0))break;ea(z|0,o|0,4,0);ea(A|0,B|0,4,0)}while(0);do if(!$){if((da(_>>0|0,1,0,0)|0)&16)vh(ha,28,0,P,0)|0;k:do if((I|0)<=-1)if(!(((da(_>>0|0,1,0,0)|0)&16|S)<<24>>24)){vh(ha,74,da(ca|0,4,0,0)|0|0,O,L)|0;B=1;break}else{vh(ha,28,0,O,0)|0;B=0;break}else{do if(F)vh(ha,47,J,I,O)|0;else{if(Y){vh(ha,33,I+H|0,O,0)|0;break}Qq(a,da((da(f+4|0,4,0,0)|0|0)+(I*20|0)|0,4,0,0)|0|0,O);if(!(da((da(ha|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){n=(da(ha+4|0,4,0,0)|0|0)+(((da(ha+32|0,4,0,0)|0|0)+-1|0)*20|0)|0;if(!n)break}else n=29120;if((da(n>>0|0,1,0,0)|0|0)!=28)break;if((da(_>>0|0,1,0,0)|0)&16)break;ea(n>>0|0,74|0,1,0);ea(n+4|0,da(ca|0,4,0,0)|0|0,4,0);ea(n+8|0,O|0,4,0);ea(n+12|0,L|0,4,0);B=1;break k}while(0);if(!((da(_>>0|0,1,0,0)|0)&16)){n=vh(ha,77,O,0,0)|0;vh(ha,74,da(ca|0,4,0,0)|0|0,O,L)|0;m=da(ha+32|0,4,0,0)|0|0;if(m>>>0>n>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(n*20|0)+8|0,m|0,4,0);ea((da(ha+24|0,4,0,0)|0|0)+88|0,m+-1|0,4,0)}else vh(ha,76,O,(da(ha+32|0,4,0,0)|0|0)+2|0,0)|0;vh(ha,38,O,0,0)|0;B=0}while(0);if((L|0)>0)vh(da(a+8|0,4,0,0)|0|0,136,L,O,0)|0;if((da(Q|0,2,0,0)|0|0)>0){z=fa+36|0;A=fa+4|0;v=(l|0)==0;u=d+4|0;t=(H|0)==(M|0);l=f+4|0;m=a+23|0;n=X+20|0;o=X+4|0;x=X+24|0;y=0;p=0;do{w=y+M|0;l:do if((y|0)==(da(z|0,2,0,0)|0|0))vh(ha,29,w,0,0)|0;else{m:do if(U)if(!((da((da(A|0,4,0,0)|0|0)+(y*24|0)+23>>0|0,1,0,0)|0)&2)){s=y-p|0;T=258;break}else{p=p+1|0;break}else{r=da(u|0,4,0,0)|0|0;if((r|0)<=0){s=0;T=258;break}q=da(d|0,4,0,0)|0|0;k=0;while(1){s=k+1|0;if((da(q+(k<<3)+4|0,4,0,0)|0|0)==(y|0)){s=k;T=258;break m}if((s|0)<(r|0))k=s;else{T=258;break}}}while(0);do if((T|0)==258){T=0;if((s|0)<0|v)break;if(N?(s|0)>=(da(u|0,4,0,0)|0|0):0)break;if(F){vh(ha,47,J,s,w)|0;break l}if(!Y){Qq(a,da((da(l|0,4,0,0)|0|0)+(s*20|0)|0,4,0,0)|0|0,w);break l}if(t)break l;vh(ha,34,s+H|0,w,0)|0;break l}while(0);s=da((da(A|0,4,0,0)|0|0)+(y*24|0)+4|0,4,0,0)|0|0;do if(da(m>>0|0,1,0,0)|0){ea(X+0|0,0|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,0|0,4,0);ea(X+12|0,0|0,4,0);ea(X+16|0,0|0,4,0);ea(X+20|0,0|0,4,0);ea(n>>0|0,1|0,1,0);ea(X|0,78|0,4,0);ea(o|0,79|0,4,0);ea(x|0,0|0,4,0);qs(X,s)|0;if(!(da(n>>0|0,1,0,0)|0))break;Ft(a,s,w,0);break l}while(0);Qq(a,s,w)}while(0);y=y+1|0}while((y|0)<(da(Q|0,2,0,0)|0|0))}if(!((da(_>>0|0,1,0,0)|0)&16)){xt(a,fa,g,da(ca|0,4,0,0)|0|0,da(ga|0,4,0,0)|0|0,P,0,I>>>31&255^1,e&255,C,W);yt(a,fa,0,P,0,0);At(a,fa,da(ca|0,4,0,0)|0|0,da(ga|0,4,0,0)|0|0,P,g,0,B,(da(W|0,4,0,0)|0|0)==0&1);break}n=da(fa+60|0,4,0,0)|0|0;n:do if(!n)n=0;else while(1){if((da(n|0,4,0,0)|0|0)==(ia|0))break n;n=da(n+24|0,4,0,0)|0|0;if(!n){n=0;break}}while(0);pt(a,fa);wh(ha,vh(ha,15,1,(da(Q|0,2,0,0)|0|0)+2|0,P)|0,n,-10);m=da(ha+4|0,4,0,0)|0|0;if(m)ea(m+(((da(ha+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,((e|0)==10?2:e&255)|0,1,0);X=da(V|0,4,0,0)|0|0;ea(((X|0)==0?a:X)+21>>0|0,1|0,1,0)}while(0);if((da(D|0,4,0,0)|0)&128)vh(ha,37,h,1,0)|0;if(Z)wt(a,Z,108,0,2,fa,O+-1-(da(Q|0,2,0,0)|0|0)|0,e,C);n=ha+24|0;m=da(n|0,4,0,0)|0|0;k=~C;do if((C|0)<0){l=da(m+112|0,4,0,0)|0|0;if(!l)break;ea(l+(k<<2)|0,da(ha+32|0,4,0,0)|0|0,4,0)}while(0);l=ha+32|0;ea(m+88|0,(da(l|0,4,0,0)|0|0)+-1|0,4,0);do if(F){vh(ha,9,J,E,0)|0;l=da(l|0,4,0,0)|0|0;if(l>>>0>G>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(G*20|0)+8|0,l|0,4,0);ea((da(n|0,4,0,0)|0|0)+88|0,l+-1|0,4,0);vh(ha,61,J,0,0)|0}else{if(!Y)break;vh(ha,16,0,E,0)|0;l=da(l|0,4,0,0)|0|0;if(l>>>0>G>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(G*20|0)+8|0,l|0,4,0);ea((da(n|0,4,0,0)|0|0)+88|0,l+-1|0,4,0)}while(0);if(((da(_>>0|0,1,0,0)|0)&16)!=0|$)break;k=da(ca|0,4,0,0)|0|0;if((k|0)<(da(ga|0,4,0,0)|0|0))vh(ha,61,k,0,0)|0;k=da(fa+8|0,4,0,0)|0|0;if(!k)break;else l=0;while(1){vh(ha,61,(da(ga|0,4,0,0)|0|0)+l|0,0,0)|0;k=da(k+20|0,4,0,0)|0|0;if(!k)break;else l=l+1|0}}while(0);if((da(aa>>0|0,1,0,0)|0|0)==0?(da(a+412|0,4,0,0)|0|0)==0:0)rt(a);if(((((da(ia+24|0,4,0,0)|0)&128|0)!=0?(da(aa>>0|0,1,0,0)|0|0)==0:0)?(da(a+412|0,4,0,0)|0|0)==0:0)?(vh(ha,35,h,1,0)|0,hq(ha,1),(da((da(ha|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg(da(ha+16|0,4,0,0)|0|0,33488,-1,1,0)|0}else g=0}else g=0}else{g=0;f=0}while(0);Co(ia,b);Mk(ia,f);Lk(ia,c,1);Gk(ia,d);lg(ia,g);i=ja;return}function tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;if(!b){b=lh(a,8,0)|0;if(!b)b=0;else{e=b;g=e;ea(g>>0|0,0|0,1,0);ea(g+1>>0|0,0|0,1,0);ea(g+2>>0|0,0|0,1,0);ea(g+3>>0|0,0|0,1,0);e=e+4|0;ea(e>>0|0,0|0,1,0);ea(e+1>>0|0,0|0,1,0);ea(e+2>>0|0,0|0,1,0);ea(e+3>>0|0,0|0,1,0);e=4}}else e=4;do if((e|0)==4){ea(b|0,Gt(a,da(b|0,4,0,0)|0|0,8,b+4|0,d)|0|0,4,0);d=da(d|0,4,0,0)|0|0;if((d|0)<0){Gk(a,b);b=0;break}else{a=Vq(a,c)|0;ea((da(b|0,4,0,0)|0|0)+(d<<3)|0,a|0,4,0);break}}while(0);i=f;return b|0}function ur(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((da(c+4|0,4,0,0)|0|0)!=0?(e=mr(da(a|0,4,0,0)|0|0,95,c,d)|0,(e|0)!=0):0){ea(e+12|0,b|0,4,0);b=e+4|0;ea(b|0,da(b|0,4,0,0)|0|4352|0,4,0);b=e}return b|0}function vr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=da(a|0,4,0,0)|0|0;c=mr(d,153,c,1)|0;if(!c){Mk(d,b);c=0}else{ea(c+20|0,b|0,4,0);xr(a,c)}return c|0}function wr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=da(a|0,4,0,0)|0|0;if((b|0)!=0&(c|0)!=0?(da(b>>0|0,1,0,0)|0|0)==101:0){ea(c>>0|0,d|0,1,0);d=c+16|0;Fk(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0)}return}function xr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if((da(a+64|0,4,0,0)|0|0)==0?(Ht(b),c=da((da(a|0,4,0,0)|0|0)+100|0,4,0,0)|0|0,(c|0)<(da(b+24|0,4,0,0)|0|0)):0){ea(d|0,c|0,4,0);sh(a,27152,d)}i=e;return}function yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(a|0,4,0,0)|0|0;h=c+20|0;d=da(h|0,4,0,0)|0|0;if((d|0)>0){f=c+16|0;g=(b|0)==0;c=d;e=0;do{d=da(f|0,4,0,0)|0|0;do if(da(d+(e<<4)+4|0,4,0,0)|0){if(!g?(cd(b,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)break;zr(a,e);c=da(h|0,4,0,0)|0|0}while(0);e=e+1|0}while((e|0)<(c|0))}return}function zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=da(a+408|0,4,0,0)|0|0;e=(e|0)==0?a:e;a=e+332|0;c=da(a|0,4,0,0)|0|0;d=1<<b;if((c&d|0)==0?(f=da(e|0,4,0,0)|0|0,ea(a|0,c|d|0,4,0),ea(e+(b<<2)+336|0,da(da((da(f+16|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0,4,0),(b|0)==1):0)Zk(e)|0;return}function Ar(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+128|0;if((i|0)>=(j|0))ba();d=m+8|0;l=m;k=m+24|0;ea(l|0,0|0,4,0);g=da(a|0,4,0,0)|0|0;if((da(a+64|0,4,0,0)|0|0)==0?(ea(d|0,c|0,4,0),h=Vk(g,b,d)|0,(h|0)!=0):0){b=a+18|0;ea(b>>0|0,(da(b>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);c=a+440|0;d=k+0|0;e=c+0|0;f=d+96|0;do{ea(d>>0|0,da(e>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;e=e+1|0}while((d|0)<(f|0));d=c+0|0;f=d+96|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(f|0));Kh(a,h,l)|0;lg(g,da(l|0,4,0,0)|0|0);lg(g,h);d=c+0|0;e=k+0|0;f=d+96|0;do{ea(d>>0|0,da(e>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;e=e+1|0}while((d|0)<(f|0));ea(b>>0|0,(da(b>>0|0,1,0,0)|0|0)+-1<<24>>24|0,1,0)}i=m;return}function Br(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();f=h;g=h+16|0;b=da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0;e=1;do{ea(f|0,e|0,4,0);$c(24,g,33272,f)|0;if(Zh(da(a|0,4,0,0)|0|0,g,b)|0){ea(f|0,b|0,4,0);ea(f+4|0,g|0,4,0);ea(f+8|0,c|0,4,0);ea(f+12|0,d|0,4,0);Ar(a,28840,f)}e=e+1|0}while((e|0)!=5);i=h;return}function Cr(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+19|0;d=da(c>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=a+72|0;c=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,c|0,4,0)}else{d=d+-1<<24>>24;ea(c>>0|0,d|0,1,0);c=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}d=da(a+8|0,4,0,0)|0|0;vh(d,25,(da(da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)+1|0,c,0)|0;vh(d,52,b,1,c)|0;Zr(a,c);return}function Dr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h;f=Nq(a)|0;d=a+19|0;e=da(d>>0|0,1,0,0)|0|0;if(!(e<<24>>24)){e=a+72|0;d=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,d|0,4,0)}else{e=e+-1<<24>>24;ea(d>>0|0,e|0,1,0);d=da(a+((e&255)<<2)+24|0,4,0,0)|0|0}vh(f,117,b,d,c)|0;e=da(a+408|0,4,0,0)|0|0;ea(((e|0)==0?a:e)+21>>0|0,1|0,1,0);ea(g|0,da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(c<<4)|0,4,0,0)|0|0,4,0);ea(g+4|0,((c|0)==1?13184:13208)|0,4,0);ea(g+8|0,b|0,4,0);ea(g+12|0,d|0,4,0);ea(g+16|0,d|0,4,0);Ar(a,33216,g);Zr(a,d);i=h;return}function Er(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=i;i=i+96|0;if((i|0)>=(j|0))ba();I=Q+24|0;p=Q+80|0;h=Q+64|0;t=Q+16|0;n=Q+60|0;o=Q+56|0;G=Q+52|0;F=Q+48|0;s=Q+44|0;w=Q+40|0;x=Q+36|0;y=Q+32|0;l=Q+8|0;m=Q;P=da(a|0,4,0,0)|0|0;M=Nq(a)|0;do if((M|0)!=0?(L=M+88|0,ea(L|0,da(L|0,2,0,0)|0|16|0,2,0),L=a+72|0,ea(L|0,2|0,4,0),J=dr(a,b,c,p)|0,(J|0)>=0):0){K=P+16|0;v=da(K|0,4,0,0)|0|0;if((J|0)==1?(Zk(a)|0)!=0:0)break;O=Vq(P,da(p|0,4,0,0)|0|0)|0;if(O){if(!e)N=Vq(P,d)|0;else{ea(I|0,d|0,4,0);N=th(P,30104,I)|0}u=c+4|0;if(!(da(u|0,4,0,0)|0))D=0;else D=da(v+(J<<4)|0,4,0,0)|0|0;a:do if(!(Rq(a,19,O,N,D)|0)){ea(h|0,0|0,4,0);ea(h+4|0,O|0,4,0);ea(h+8|0,N|0,4,0);ea(h+12|0,0|0,4,0);k=P+452|0;ea(k|0,0|0,4,0);b=bg(P,D,14,h)|0;if(!b){g=da(h|0,4,0,0)|0|0;if(!g)break;f=(da(L|0,4,0,0)|0|0)+1|0;ea(L|0,f|0,4,0);wh(M,vh(M,97,0,f,0)|0,g,0);hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30112,-1,1,0)|0;vh(M,35,f,1,0)|0;Vc(da(h|0,4,0,0)|0|0);break}else if((b|0)==12){p=0;g=56;b:while(1){while(1){e=(p+g|0)/2|0;b=da(30120+(e*12|0)|0,4,0,0)|0|0;d=cd(O,b)|0;if(!d){p=e;break b}if((d|0)<0){b=e;break}if((e|0)<(g|0))p=e+1|0;else break a}b=b+-1|0;if((p|0)>(b|0))break a;else g=b}if(((da(30125+(p*12|0)>>0|0,1,0,0)|0)&1)!=0?(Fn(a)|0)!=0:0)break;do switch(da(30124+(p*12|0)>>0|0,1,0,1)|0|0){case 24:{d=da(v+(J<<4)+4|0,4,0,0)|0|0;if(N){ea(I|0,0|0,4,0);Cn(N,I)|0;y=da(I|0,4,0,0)|0|0;ea(P+72|0,y|0,4,0);if((wg(d,y,-1,0)|0)!=7)break a;ea(P+65>>0|0,1|0,1,0);break a}if(!d){d=0;f=0}else{f=da((da(d+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=f;f=((f|0)<0)<<31>>31}It(a,30864,d,f);break a}case 10:{h=1<<J;y=M+96|0;ea(y|0,da(y|0,4,0,0)|0|h|0,4,0);if(N){ea(I|0,0|0,4,0);Cn(N,I)|0;g=da(I|0,4,0,0)|0|0;if((g|0)<=-1)g=(g|0)==-2147483648?2147483647:0-g|0;y=da(a+408|0,4,0,0)|0|0;zr(a,J);y=((y|0)==0?a:y)+328|0;ea(y|0,da(y|0,4,0,0)|0|h|0,4,0);vh(M,25,g,1,0)|0;vh(M,52,J,3,1)|0;ea((da(v+(J<<4)+12|0,4,0,0)|0|0)+80|0,g|0,4,0);oq(da(v+(J<<4)+4|0,4,0,0)|0|0,g);break a}hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30848,-1,1,0)|0;ea(L|0,(da(L|0,4,0,0)|0|0)+2|0,4,0);g=xh(M,9,30808)|0;d=da(M+32|0,4,0,0)|0|0;if(d>>>0>g>>>0)ea((da(M+4|0,4,0,0)|0|0)+(g*20|0)+4|0,J|0,4,0);f=g+1|0;if(d>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);f=g+6|0;if(d>>>0<=f>>>0)break a;ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,2e3|0,4,0);break a}case 19:{g=da(da((da(v+(J<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;y=t;ea(y|0,-2|0,4,0);ea(y+4|0,-1|0,4,0);if(N){ii(N,t)|0;f=t;d=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((f|0)<-1|(f|0)==-1&d>>>0<4294967295){d=t;ea(d|0,-1|0,4,0);ea(d+4|0,-1|0,4,0);d=-1;f=-1}y=g+160|0;ea(y|0,d|0,4,0);ea(y+4|0,f|0,4,0);g=da(g+208|0,4,0,0)|0|0;if(g){y=g+16|0;ea(y|0,d|0,4,0);ea(y+4|0,f|0,4,0)}}else{f=g+160|0;d=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0}y=t;ea(y|0,d|0,4,0);ea(y+4|0,f|0,4,0);It(a,30952,d,f);break a}case 1:{g=da(v+(J<<4)+4|0,4,0,0)|0|0;if(!N){f=da(g+4|0,4,0,0)|0|0;ea(f+4|0,da(g|0,4,0,0)|0|0,4,0);if(!(da(f+17>>0|0,1,0,0)|0)){f=0;d=0}else{d=(da(f+18>>0|0,1,0,0)|0|0)==0;f=d?1:2;d=d?0:0}It(a,30976,f,d);break a}if(cd(N,32192)|0)if(cd(N,31880)|0)if(!(cd(N,32200)|0))f=2;else{ea(I|0,0|0,4,0);Cn(N,I)|0;f=da(I|0,4,0,0)|0|0;f=f>>>0<3?f&255:0}else f=1;else f=0;ea(P+67>>0|0,f|0,1,0);k=f+-1|0;if(!((un(g,f)|0)==0&k>>>0<2))break a;d=xh(M,6,30992)|0;h=da(M+32|0,4,0,0)|0|0;if(h>>>0>d>>>0)ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+4|0,J|0,4,0);g=d+1|0;if(h>>>0>g>>>0)ea((da(M+4|0,4,0,0)|0|0)+(g*20|0)+4|0,J|0,4,0);g=d+2|0;f=d+4|0;if(h>>>0>g>>>0)ea((da(M+4|0,4,0,0)|0|0)+(g*20|0)+8|0,f|0,4,0);if(h>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,k|0,4,0);f=d+5|0;if(h>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);y=M+96|0;ea(y|0,da(y|0,4,0,0)|0|1<<J|0,4,0);break a}case 32:{if(!N){if(!(da(2708*4|0,4,0,0)|0))break a;hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,31048,-1,1,0)|0;y=da(2708*4|0,4,0,0)|0|0;wh(M,vh(M,97,0,1,0)|0,y,0);vh(M,35,1,1,0)|0;break a}if((da(N>>0|0,1,0,0)|0|0)!=0?(y=da(P|0,4,0,0)|0|0,y=(oc[(fa(da(y+32|0,4,0,0)|0|0,31|0)|0)&31](y,N,1,o)|0)!=0,y|(da(o|0,4,0,0)|0|0)==0):0){sh(a,31072,I);break a}if((da(P+64>>0|0,1,0,1)|0|0)<2)Jt(a)|0;Vc(da(2708*4|0,4,0,0)|0|0);if(!(da(N>>0|0,1,0,0)|0)){ea(2708*4|0,0|0,4,0);break a}else{ea(I|0,N|0,4,0);ea(2708*4|0,Zc(10344,I)|0|0,4,0);break a}}case 4:if(!N){y=da((da(v+(J<<4)+12|0,4,0,0)|0|0)+80|0,4,0,0)|0|0;It(a,30848,y,((y|0)<0)<<31>>31);break a}else{ea(I|0,0|0,4,0);Cn(N,I)|0;y=da(I|0,4,0,0)|0|0;ea((da(v+(J<<4)+12|0,4,0,0)|0|0)+80|0,y|0,4,0);oq(da(v+(J<<4)+4|0,4,0,0)|0|0,y);break a}case 23:{It(a,31016,0,0);break a}case 31:{if(!N){It(a,31032,da(P+64>>0|0,1,0,1)|0|0,0);break a}d=da(N>>0|0,1,0,0)|0|0;if((d+-48&255)>=3)if(!(cd(N,31352)|0))d=1;else{d=(cd(N,15168)|0)==0;d=d?2:0}else d=(d<<24>>24)+-48|0;f=(da(a|0,4,0,0)|0|0)+64|0;if((da(f>>0|0,1,0,1)|0|0)==(d|0))break a;if(Jt(a)|0)break a;ea(f>>0|0,d|0,1,0);break a}case 25:{d=da(v+(J<<4)+4|0,4,0,0)|0|0;if(N){f=(hi(N,1,0)|0)<<24>>24!=0&1;if((da(u|0,4,0,0)|0|0)==0?(r=P+20|0,(da(r|0,4,0,0)|0|0)>0):0){g=0;do{ro(da((da(K|0,4,0,0)|0|0)+(g<<4)+4|0,4,0,0)|0|0,f)|0;g=g+1|0}while((g|0)<(da(r|0,4,0,0)|0|0))}}else f=-1;y=ro(d,f)|0;It(a,30880,y,((y|0)<0)<<31>>31);break a}case 22:{zr(a,J);g=(da(L|0,4,0,0)|0|0)+1|0;ea(L|0,g|0,4,0);if(((da(O>>0|0,1,0,0)|0)&-33)<<24>>24==80)vh(M,153,J,g,0)|0;else{ea(I|0,0|0,4,0);if(N){Cn(N,I)|0;f=da(I|0,4,0,0)|0|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0}else f=0;vh(M,154,J,g,f)|0}vh(M,35,g,1,0)|0;hq(M,1);if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break a;Wg(da(M+16|0,4,0,0)|0|0,O,-1,1,-1)|0;break a}case 21:{do if(N){if(cd(N,30904)|0)if(!(cd(N,30896)|0))g=0;else{H=66;break}else g=1;if(!(da(u|0,4,0,0)|0)){m=da(P+20|0,4,0,0)|0|0;if((m|0)>2){k=da(K|0,4,0,0)|0|0;f=g&255;l=2;do{h=da(da((da(k+(l<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;do if(!(da(h+12>>0|0,1,0,0)|0)){d=da(h+208|0,4,0,0)|0|0;if((d|0)!=0?(da(d+43>>0|0,1,0,0)|0|0)==2:0)break;ea(h+4>>0|0,f|0,1,0)}while(0);l=l+1|0}while((l|0)<(m|0))}else f=g&255;ea(P+66>>0|0,f|0,1,0);H=74}else H=74}else H=66;while(0);if((H|0)==66)if(!(da(u|0,4,0,0)|0))d=P+66|0;else{g=-1;H=74}if((H|0)==74){f=da(da((da(v+(J<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;do if((g|0)>-1?(da(f+12>>0|0,1,0,0)|0|0)==0:0){d=da(f+208|0,4,0,0)|0|0;if((d|0)!=0?(da(d+43>>0|0,1,0,0)|0|0)==2:0)break;ea(f+4>>0|0,g|0,1,0)}while(0);d=f+4|0}d=(da(d>>0|0,1,0,0)|0|0)==1?30904:30896;hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30920,-1,1,0)|0;wh(M,vh(M,97,0,1,0)|0,d,0);vh(M,35,1,1,0)|0;break a}case 29:{if(!N){y=(da(v+(J<<4)+8>>0|0,1,0,1)|0|0)+-1|0;It(a,31104,y,((y|0)<0)<<31>>31);break a}if(!(da(P+63>>0|0,1,0,0)|0)){sh(a,31120,I);break a}else{ea(v+(J<<4)+8>>0|0,((hi(N,0,1)|0)&255)+1|0,1,0);Kt(P);break a}}case 2:{if(!N){It(a,b,((da(30128+(p*12|0)|0,4,0,0)|0)&(da(P+24|0,4,0,0)|0)|0)!=0&1,0);break a}d=da(30128+(p*12|0)|0,4,0,0)|0|0;d=(da(P+63>>0|0,1,0,0)|0|0)==0?d&-524289:d;if(!((hi(N,1,0)|0)<<24>>24)){y=P+24|0;ea(y|0,(da(y|0,4,0,0)|0)&~d|0,4,0);if((d|0)==16777216){y=P+512|0;ea(y|0,0|0,4,0);ea(y+4|0,0|0,4,0)}}else{y=P+24|0;ea(y|0,da(y|0,4,0,0)|0|d|0,4,0)}vh(M,144,0,0,0)|0;Kt(P);break a}case 18:{hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30936,-1,1,0)|0;c:do if(N){g=N;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;f=g-N&1073741823;g=0;while(1){if(!(Ec(N,da(32216+(g<<2)|0,4,0,0)|0|0,f)|0))break;g=g+1|0;if((g|0)==6){H=91;break c}}if((g|0)!=-1)h=J;else H=91}else H=91;while(0);if((H|0)==91)if(!(da(u|0,4,0,0)|0)){ea(u|0,1|0,4,0);g=-1;h=0}else{g=-1;h=J}f=da(P+20|0,4,0,0)|0|0;if((f|0)>0){d=M+96|0;do{f=f+-1|0;do if(da((da(K|0,4,0,0)|0|0)+(f<<4)+4|0,4,0,0)|0){if((f|0)!=(h|0)?(da(u|0,4,0,0)|0|0)!=0:0)break;ea(d|0,da(d|0,4,0,0)|0|1<<f|0,4,0);vh(M,12,f,1,g)|0}while(0)}while((f|0)>0)}vh(M,35,1,1,0)|0;break a}case 28:{h=Nq(a)|0;hq(h,4);ea(L|0,4|0,4,0);zr(a,J);if((((da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(h+16|0,4,0,0)|0|0,31232,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+40|0,20632,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+80|0,31240,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(h+16|0,4,0,0)|0|0)+120|0,31248,-1,1,0)|0;d=da((da(v+(J<<4)+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(!d)break a;do{f=da(d+8|0,4,0,0)|0|0;y=da(f|0,4,0,0)|0|0;wh(h,vh(h,97,0,1,0)|0,y,0);vh(h,28,0,2,0)|0;y=Vs(da(f+42|0,2,0,0)|0|0)|0;vh(h,25,y,3,0)|0;y=Vs(da(f+28|0,2,0,0)|0|0)|0;vh(h,25,y,4,0)|0;vh(h,35,1,4,0)|0;f=da(f+8|0,4,0,0)|0|0;if(f)do{y=da(f|0,4,0,0)|0|0;wh(h,vh(h,97,0,2,0)|0,y,0);y=Vs(da(f+44|0,2,0,0)|0|0)|0;vh(h,25,y,3,0)|0;y=Vs(da(da(f+8|0,4,0,0)|0|0,2,0,0)|0|0)|0;vh(h,25,y,4,0)|0;vh(h,35,1,4,0)|0;f=da(f+20|0,4,0,0)|0|0}while((f|0)!=0);d=da(d|0,4,0,0)|0|0}while((d|0)!=0);break}case 15:{if(!N)break a;m=aq(P,N,D)|0;if(!m)break a;e=(da(30128+(p*12|0)|0,4,0,0)|0|0)==0;d=m+46|0;y=e?3:6;k=da((e?d:m+48|0)|0,2,0,0)|0|0;n=k&65535;ea(L|0,y|0,4,0);l=da(m+12|0,4,0,0)|0|0;hq(M,y);zr(a,J);if(((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31256,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31176,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+80|0,31184,-1,1,0)|0;if(((!e?(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0:0)?(Wg((da(M+16|0,4,0,0)|0|0)+120|0,31264,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+160|0,31272,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+200|0,31280,-1,1,0)|0;if(!(k<<16>>16))break a;g=m+4|0;f=m+28|0;h=m+32|0;m=l+4|0;k=0;do{y=da((da(g|0,4,0,0)|0|0)+(k<<1)|0,2,0,0)|0|0;vh(M,25,k,1,0)|0;l=y<<16>>16;vh(M,25,l,2,0)|0;if(y<<16>>16<0)vh(M,28,0,3,0)|0;else{y=da((da(m|0,4,0,0)|0|0)+(l*24|0)|0,4,0,0)|0|0;wh(M,vh(M,97,0,3,0)|0,y,0)}if(!e){vh(M,25,da((da(f|0,4,0,0)|0|0)+k>>0|0,1,0,1)|0|0,4,0)|0;y=da((da(h|0,4,0,0)|0|0)+(k<<2)|0,4,0,0)|0|0;wh(M,vh(M,97,0,5,0)|0,y,0);vh(M,25,(k|0)<(da(d|0,2,0,1)|0|0)&1,6,0)|0}vh(M,35,1,da(L|0,4,0,0)|0|0,0)|0;k=k+1|0}while((k|0)<(n|0));break}case 5:{if(!N)break a;y=(hi(N,1,0)|0)<<24>>24!=0;x=y?32e3:19240;Ph(P,19248,2,1,x,40,0,0,0)|0;Ph(P,19248,3,1,x,40,0,0,0)|0;Ph(P,19232,2,1,10352,40,0,0,0)|0;Nt(P,19232,12);Nt(P,19248,y?12:4);break a}case 17:{p=da(O>>0|0,1,0,0)|0|0;q=(da(c|0,4,0,0)|0|0)==0?-1:J;ea(L|0,6|0,4,0);hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,31464,-1,1,0)|0;ea(s|0,100|0,4,0);if(N){Cn(N,s)|0;m=da(s|0,4,0,0)|0|0;if((m|0)<1){ea(s|0,100|0,4,0);m=100}}else m=100;vh(M,25,m,1,0)|0;E=P+20|0;e=da(E|0,4,0,0)|0|0;if((e|0)>0){D=(q|0)<0;f=M+32|0;A=M+4|0;z=M+24|0;F=(p&-33)<<24>>24==81;G=0;do{if(D|(G|0)==(q|0)){zr(a,G);e=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;d=da(f|0,4,0,0)|0|0;if(d>>>0>e>>>0)ea((da(A|0,4,0,0)|0|0)+(e*20|0)+8|0,d|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);g=(da((da(K|0,4,0,0)|0|0)+(G<<4)+12|0,4,0,0)|0|0)+16|0;e=da(g|0,4,0,0)|0|0;if(!e)p=0;else{p=0;do{d=da(e+8|0,4,0,0)|0|0;if(!((da(d+44>>0|0,1,0,0)|0)&32)){vh(M,25,da(d+32|0,4,0,0)|0|0,p+2|0,0)|0;p=p+1|0}b=da(d+8|0,4,0,0)|0|0;if(b)do{vh(M,25,da(b+40|0,4,0,0)|0|0,p+2|0,0)|0;p=p+1|0;b=da(b+20|0,4,0,0)|0|0}while((b|0)!=0);e=da(e|0,4,0,0)|0|0}while((e|0)!=0)}v=da(L|0,4,0,0)|0|0;e=p+8|0;ea(L|0,((v|0)>(e|0)?v:e)|0,4,0);vh(M,127,2,p,1)|0;e=da(A|0,4,0,0)|0|0;if(e)ea(e+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,G|0,1,0);p=vh(M,76,2,0,0)|0;ea(I|0,da((da(K|0,4,0,0)|0|0)+(G<<4)|0,4,0,0)|0|0,4,0);e=th(P,31480,I)|0;wh(M,vh(M,97,0,3,0)|0,e,-1);vh(M,32,2,4,1)|0;vh(M,94,4,3,2)|0;vh(M,35,2,1,0)|0;e=da(f|0,4,0,0)|0|0;if(e>>>0>p>>>0)ea((da(A|0,4,0,0)|0|0)+(p*20|0)+8|0,e|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,e+-1|0,4,0);e=da(g|0,4,0,0)|0|0;if(!((e|0)==0|F))do{c=da(e+8|0,4,0,0)|0|0;B=c+8|0;p=da(B|0,4,0,0)|0|0;do if(p){d:do if(!((da(c+44>>0|0,1,0,0)|0)&32))p=0;else while(1){if(((da(p+51>>0|0,1,0,0)|0)&3)==2)break d;p=da(p+20|0,4,0,0)|0|0;if(!p){p=0;break}}while(0);b=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;d=da(f|0,4,0,0)|0|0;if(d>>>0>b>>>0)ea((da(A|0,4,0,0)|0|0)+(b*20|0)+8|0,d|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);$s(a);ot(a,c,54,1,0,w,x)|0;vh(M,25,0,7,0)|0;d=da(B|0,4,0,0)|0|0;if(!d)b=8;else{b=0;while(1){vh(M,25,0,b+8|0,0)|0;d=da(d+20|0,4,0,0)|0|0;if(!d)break;else b=b+1|0}b=b+9|0}C=da(L|0,4,0,0)|0|0;ea(L|0,((C|0)>(b|0)?C:b)|0,4,0);vh(M,108,da(w|0,4,0,0)|0|0,0,0)|0;C=vh(M,37,7,1,0)|0;l=c+38|0;b=da(l|0,2,0,0)|0|0;if(b<<16>>16>0){n=c+36|0;o=c+4|0;k=0;do{do if((k|0)!=(da(n|0,2,0,0)|0|0)){if(!(da((da(o|0,4,0,0)|0|0)+(k*24|0)+20>>0|0,1,0,0)|0))break;mt(M,c,da(w|0,4,0,0)|0|0,k,3);b=da(A|0,4,0,0)|0|0;if(b)ea(b+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-128|0,1,0);b=vh(M,77,3,0,0)|0;vh(M,37,1,-1,0)|0;g=da((da(o|0,4,0,0)|0|0)+(k*24|0)|0,4,0,0)|0|0;ea(I|0,da(c|0,4,0,0)|0|0,4,0);ea(I+4|0,g|0,4,0);g=th(P,31504,I)|0;wh(M,vh(M,97,0,3,0)|0,g,-1);vh(M,35,3,1,0)|0;g=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;h=da(f|0,4,0,0)|0|0;if(h>>>0>b>>>0)ea((da(A|0,4,0,0)|0|0)+(b*20|0)+8|0,h|0,4,0);b=h+-1|0;d=(da(z|0,4,0,0)|0|0)+88|0;ea(d|0,b|0,4,0);if(h>>>0>g>>>0)ea((da(A|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);ea(d|0,b|0,4,0);b=da(l|0,2,0,0)|0|0}while(0);k=k+1|0}while((k|0)<(b<<16>>16|0))}b=da(B|0,4,0,0)|0|0;if(b){s=c+4|0;r=0;h=0;d=-1;while(1){g=ws(M)|0;if((p|0)!=(b|0)){d=Ot(a,b,da(w|0,4,0,0)|0|0,0,0,y,h,d)|0;vh(M,37,r+8|0,1,0)|0;c=da(b+48|0,2,0,1)|0|0;g=vh(M,69,(da(x|0,4,0,0)|0|0)+r|0,g,d)|0;wh(M,g,c,-14);vh(M,37,1,-1,0)|0;wh(M,vh(M,97,0,3,0)|0,31528,-2);vh(M,94,7,3,3)|0;wh(M,vh(M,97,0,4,0)|0,31536,-2);vh(M,94,4,3,3)|0;c=da(b|0,4,0,0)|0|0;o=vh(M,97,0,4,0)|0;wh(M,o,c,0);vh(M,94,4,3,3)|0;vh(M,35,3,1,0)|0;c=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;h=da(f|0,4,0,0)|0|0;if(h>>>0>g>>>0)ea((da(A|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);g=da(z|0,4,0,0)|0|0;ea(g+88|0,h+-1|0,4,0);if(da(b+50>>0|0,1,0,0)|0){n=ws(M)|0;l=b+46|0;g=da(l|0,2,0,0)|0|0;if(g<<16>>16){k=b+4|0;h=0;do{if(!(da((da(s|0,4,0,0)|0|0)+((da((da(k|0,4,0,0)|0|0)+(h<<1)|0,2,0,0)|0|0)*24|0)+20>>0|0,1,0,0)|0)){vh(M,76,h+d|0,n,0)|0;g=da(l|0,2,0,0)|0|0}h=h+1|0}while((h|0)<(g&65535|0))}g=vh(M,9,(da(x|0,4,0,0)|0|0)+r|0,0,0)|0;vh(M,16,0,n,0)|0;h=da(f|0,4,0,0)|0|0;if(h>>>0>g>>>0)ea((da(A|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);g=da(l|0,2,0,1)|0|0;wh(M,vh(M,114,(da(x|0,4,0,0)|0|0)+r|0,n,d)|0,g,-14);vh(M,37,1,-1,0)|0;wh(M,vh(M,97,0,3,0)|0,31560,-2);vh(M,16,0,o,0)|0;g=da(z|0,4,0,0)|0|0;k=~n;do if((n|0)<0){h=da(g+112|0,4,0,0)|0|0;if(!h)break;ea(h+(k<<2)|0,da(f|0,4,0,0)|0|0,4,0)}while(0);h=da(f|0,4,0,0)|0|0;ea(g+88|0,h+-1|0,4,0)}if(h>>>0>c>>>0)ea((da(A|0,4,0,0)|0|0)+(c*20|0)+8|0,h|0,4,0);ea(g+88|0,h+-1|0,4,0);Pt(a,da(y|0,4,0,0)|0|0);h=b}b=da(b+20|0,4,0,0)|0|0;if(!b)break;else r=r+1|0}}vh(M,9,da(w|0,4,0,0)|0|0,C,0)|0;d=C+-1|0;g=da(f|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(A|0,4,0,0)|0|0)+(d*20|0)+8|0,g|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);wh(M,vh(M,97,0,2,0)|0,31592,-2);d=da(B|0,4,0,0)|0|0;if(!d)break;else b=0;while(1){if((p|0)!=(d|0)){g=da(f|0,4,0,0)|0|0;vh(M,137,1,g+2|0,0)|0;vh(M,24,0,0,0)|0;vh(M,50,(da(x|0,4,0,0)|0|0)+b|0,3,0)|0;vh(M,79,b+8|0,g+8|0,3)|0;g=da(A|0,4,0,0)|0|0;if(g)ea(g+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);vh(M,37,1,-1,0)|0;v=da(d|0,4,0,0)|0|0;wh(M,vh(M,97,0,3,0)|0,v,0);vh(M,94,3,2,7)|0;vh(M,35,7,1,0)|0}d=da(d+20|0,4,0,0)|0|0;if(!d)break;else b=b+1|0}}while(0);e=da(e|0,4,0,0)|0|0}while((e|0)!=0);e=da(E|0,4,0,0)|0|0}G=G+1|0}while((G|0)<(e|0))}else f=M+32|0;d=xh(M,3,31448)|0;f=da(f|0,4,0,0)|0|0;if(f>>>0>d>>>0){ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+12|0,0-m|0,4,0);ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+8|0,f|0,4,0)}ea((da(M+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0);wh(M,d+1|0,31624,-2);break a}case 9:{hq(M,3);ea(L|0,3|0,4,0);if(((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31288,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+80|0,31352,-1,1,0)|0;d=P+20|0;f=da(d|0,4,0,0)|0|0;if((f|0)>0)h=0;else break a;do{if(da((da(K|0,4,0,0)|0|0)+(h<<4)+4|0,4,0,0)|0){vh(M,25,h,1,0)|0;g=da((da(K|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0;wh(M,vh(M,97,0,2,0)|0,g,0);g=da(da((da((da(K|0,4,0,0)|0|0)+(h<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(g+15>>0|0,1,0,0)|0))g=da(g+168|0,4,0,0)|0|0;else g=10360;wh(M,vh(M,97,0,3,0)|0,g,0);vh(M,35,1,3,0)|0;f=da(d|0,4,0,0)|0|0}h=h+1|0}while((h|0)<(f|0));break}case 6:{hq(M,2);ea(L|0,2|0,4,0);if((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31288,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0;f=da(P+436|0,4,0,0)|0|0;if(!f)break a;else d=0;while(1){y=da(f+8|0,4,0,0)|0|0;vh(M,25,d,1,0)|0;y=da(y|0,4,0,0)|0|0;wh(M,vh(M,97,0,2,0)|0,y,0);vh(M,35,1,2,0)|0;f=da(f|0,4,0,0)|0|0;if(!f)break;else d=d+1|0}break}case 13:{if(!N)break a;g=Zh(P,N,D)|0;if(!g)break a;p=Nq(a)|0;h=da(g+16|0,4,0,0)|0|0;if(!h)break a;hq(p,8);ea(L|0,8|0,4,0);zr(a,J);do if((((da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(p+16|0,4,0,0)|0|0,31360,-1,1,0)|0,(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(p+16|0,4,0,0)|0|0)+40|0,31288,-1,1,0)|0,(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(p+16|0,4,0,0)|0|0)+80|0,31232,-1,1,0)|0,(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0){Wg((da(p+16|0,4,0,0)|0|0)+120|0,31368,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+160|0,31376,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+200|0,31384,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+240|0,31400,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+280|0,31416,-1,1,0)|0}while(0);c=g+4|0;e=0;while(1){k=h+20|0;if((da(k|0,4,0,0)|0|0)>0){g=h+25|0;f=h+26|0;d=h+8|0;o=0;do{n=da(h+(o<<3)+40|0,4,0,0)|0|0;m=da(g>>0|0,1,0,1)|0|0;if((m|0)==8)l=32072;else if((m|0)==9)l=32088;else if((m|0)==6)l=32096;else if((m|0)==7)l=32056;else l=32112;m=da(f>>0|0,1,0,1)|0|0;if((m|0)==8)m=32072;else if((m|0)==9)m=32088;else if((m|0)==6)m=32096;else if((m|0)==7)m=32056;else m=32112;vh(p,25,e,1,0)|0;vh(p,25,o,2,0)|0;y=da(d|0,4,0,0)|0|0;wh(p,vh(p,97,0,3,0)|0,y,0);y=da((da(c|0,4,0,0)|0|0)+((da(h+(o<<3)+36|0,4,0,0)|0|0)*24|0)|0,4,0,0)|0|0;wh(p,vh(p,97,0,4,0)|0,y,0);wh(p,vh(p,(n|0)!=0?97:28,0,5,0)|0,n,0);wh(p,vh(p,97,0,6,0)|0,m,0);wh(p,vh(p,97,0,7,0)|0,l,0);wh(p,vh(p,97,0,8,0)|0,31424,0);vh(p,35,1,8,0)|0;o=o+1|0}while((o|0)<(da(k|0,4,0,0)|0|0))}h=da(h+4|0,4,0,0)|0|0;if(!h)break;else e=e+1|0}break}case 12:{b=da(L|0,4,0,0)|0|0;z=b+1|0;A=b+5|0;B=b+6|0;ea(L|0,B|0,4,0);C=Nq(a)|0;hq(C,4);if((((da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(C+16|0,4,0,0)|0|0,31232,-1,1,0)|0,(da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(C+16|0,4,0,0)|0|0)+40|0,20456,-1,1,0)|0,(da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(C+16|0,4,0,0)|0|0)+80|0,31432,-1,1,0)|0,(da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(C+16|0,4,0,0)|0|0)+120|0,31440,-1,1,0)|0;zr(a,J);p=da((da((da(K|0,4,0,0)|0|0)+(J<<4)+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(!p)break a;m=(N|0)==0;n=a+68|0;o=C+32|0;c=C+4|0;w=C+24|0;x=b+2|0;y=b+3|0;t=b+4|0;l=a+8|0;while(1){if(m){u=da(p|0,4,0,0)|0|0;v=da(p+8|0,4,0,0)|0|0}else{u=0;v=rh(a,0,N,D)|0}if((v|0)!=0?(E=v+16|0,(da(E|0,4,0,0)|0|0)!=0):0){fs(a,J,da(v+32|0,4,0,0)|0|0,0,da(v|0,4,0,0)|0|0);b=(da(v+38|0,2,0,0)|0|0)+B|0;if((b|0)>(da(L|0,4,0,0)|0|0))ea(L|0,b|0,4,0);Pq(a,0,J,v,54);p=da(v|0,4,0,0)|0|0;wh(C,vh(C,97,0,z,0)|0,p,0);p=da(E|0,4,0,0)|0|0;if(!p)b=1;else{b=1;do{e=Zh(P,da(p+8|0,4,0,0)|0|0,D)|0;do if(e){ea(G|0,0|0,4,0);fs(a,J,da(e+32|0,4,0,0)|0|0,0,da(e|0,4,0,0)|0|0);if(Lt(a,e,p,G,0)|0)break a;d=da(G|0,4,0,0)|0|0;if(!d){Pq(a,b,J,e,54);break}else{vh(C,54,b,da(d+40|0,4,0,0)|0|0,J)|0;s=da(l|0,4,0,0)|0|0;wh(s,-1,gs(a,d)|0,-6);break}}while(0);b=b+1|0;p=da(p+4|0,4,0,0)|0|0}while((p|0)!=0)}if((da(n|0,4,0,0)|0|0)<(b|0))ea(n|0,b|0,4,0);q=vh(C,108,0,0,0)|0;b=da(E|0,4,0,0)|0|0;if(b){s=v+36|0;r=1;while(1){k=b+8|0;p=Zh(P,da(k|0,4,0,0)|0|0,D)|0;ea(G|0,0|0,4,0);ea(F|0,0|0,4,0);h=(p|0)!=0;do if(h){Lt(a,p,b,G,F)|0;e=da(G|0,4,0,0)|0|0;d=ws(C)|0;if(!(h&(e|0)==0)){p=d;H=306;break}p=da(b+36|0,4,0,0)|0|0;if((p|0)==(da(s|0,2,0,0)|0|0))vh(C,103,0,B,0)|0;else{vh(C,47,0,p,B)|0;Mt(C,v,p,B);vh(C,76,B,d,0)|0;vh(C,38,B,(da(o|0,4,0,0)|0|0)+3|0,0)|0}vh(C,70,r,0,B)|0;vh(C,16,0,d,0)|0;p=da(o|0,4,0,0)|0|0;if(p>>>0>1)ea((da(c|0,4,0,0)|0|0)+((p+-2|0)*20|0)+8|0,p|0,4,0);ea((da(w|0,4,0,0)|0|0)+88|0,p+-1|0,4,0);p=d}else{p=ws(C)|0;e=0;H=306}while(0);do if((H|0)==306){H=0;g=b+20|0;d=da(g|0,4,0,0)|0|0;if((d|0)>0){f=0;do{d=da(F|0,4,0,0)|0|0;if(!d)d=b+(f<<3)+36|0;else d=d+(f<<2)|0;I=f+B|0;mt(C,v,0,da(d|0,4,0,0)|0|0,I);vh(C,76,I,p,0)|0;f=f+1|0;d=da(g|0,4,0,0)|0|0}while((f|0)<(d|0))}if(!h)break;f=nt(C,e)|0;e=da(g|0,4,0,0)|0|0;wh(C,vh(C,49,B,d,A)|0,f,e);wh(C,vh(C,69,r,p,A)|0,0,-14)}while(0);vh(C,103,0,x,0)|0;e=da(k|0,4,0,0)|0|0;wh(C,vh(C,97,0,y,0)|0,e,0);vh(C,25,r+-1|0,t,0)|0;vh(C,35,z,4,0)|0;e=da(w|0,4,0,0)|0|0;d=~p;do if((p|0)<0){p=da(e+112|0,4,0,0)|0|0;if(!p)break;ea(p+(d<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(e+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);lg(P,da(F|0,4,0,0)|0|0);b=da(b+4|0,4,0,0)|0|0;if(!b)break;else r=r+1|0}}vh(C,9,0,q+1|0,0)|0;b=da(o|0,4,0,0)|0|0;if(b>>>0>q>>>0)ea((da(c|0,4,0,0)|0|0)+(q*20|0)+8|0,b|0,4,0);ea((da(w|0,4,0,0)|0|0)+88|0,b+-1|0,4,0)}if(!u)break;else p=u}break}case 11:{if(!N){if(Fn(a)|0)break a;hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,31784,-1,1,0)|0;vh(M,97,0,1,0)|0;wh(M,-1,da(31632+((da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,1)|0)<<3)|0,4,0,0)|0|0,-2);vh(M,35,1,1,0)|0;break a}g=da((da(K|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;if(((da(g+78|0,2,0,0)|0)&5)==1)break a;else{f=31632;d=31704}do{if(!(cd(N,d)|0)){q=f;H=415;break}f=f+8|0;d=da(f|0,4,0,0)|0|0}while((d|0)!=0);if((H|0)==415?(y=da(q+4>>0|0,1,0,0)|0|0,y=y<<24>>24==0?2:y,ea(P+62>>0|0,y|0,1,0),ea(g+77>>0|0,y|0,1,0),(da(q|0,4,0,0)|0|0)!=0):0)break a;ea(I|0,N|0,4,0);sh(a,31800,I);break a}case 0:{m=da(30128+(p*12|0)|0,4,0,0)|0|0;y=M+96|0;ea(y|0,da(y|0,4,0,0)|0|1<<J|0,4,0);if((N|0)!=0?!((p|0)==11|(p|0)==20):0){f=xh(M,3,31832)|0;g=M+32|0;if((da(g|0,4,0,0)|0|0)>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);d=f+1|0;ea(I|0,0|0,4,0);Cn(N,I)|0;g=da(g|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+4|0,da(I|0,4,0,0)|0|0,4,0);f=f+2|0;if(g>>>0<=f>>>0)break a;ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+8|0,m|0,4,0);break a}f=xh(M,3,31848)|0;g=da(M+32|0,4,0,0)|0|0;if(g>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);f=f+1|0;if(g>>>0>f>>>0){ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+12|0,m|0,4,0)}hq(M,1);if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break a;Wg(da(M+16|0,4,0,0)|0|0,O,-1,1,-1)|0;break a}case 7:{hq(M,1);ea(L|0,1|0,4,0);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){Wg(da(M+16|0,4,0,0)|0|0,31864,-1,1,0)|0;d=0}else d=0;do{y=da(8648+(d<<2)|0,4,0,0)|0|0;d=d+1|0;wh(M,vh(M,97,0,1,0)|0,y,0);vh(M,35,1,1,0)|0}while((d|0)!=4);break}case 35:{f=(da(c|0,4,0,0)|0|0)!=0?J:10;if(N)if(cd(N,31880)|0)if(!(cd(N,31888)|0))d=2;else{d=(cd(N,31896)|0)==0;d=d?3:0}else d=1;else d=0;hq(M,3);ea(L|0,3|0,4,0);if(((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31912,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31920,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+80|0,31928,-1,1,0)|0;vh(M,11,f,d,1)|0;vh(M,35,1,3,0)|0;break a}case 26:{nf(P)|0;break a}case 34:{if(!N)d=da(P+216|0,4,0,0)|0|0;else{ea(I|0,0|0,4,0);Cn(N,I)|0;d=da(I|0,4,0,0)|0|0;if((d|0)>0)f=21;else{d=0;f=0}ea(P+216|0,f|0,4,0);ea(P+220|0,d|0,4,0);d=f}if((d|0)==21){d=da(P+220|0,4,0,0)|0|0;f=d;d=((d|0)<0)<<31>>31}else{f=0;d=0}It(a,31944,f,d);break a}case 27:{if((N|0)!=0?(ii(N,l)|0)==0:0){y=l;Oc(da(y|0,4,0,0)|0|0,da(y+4|0,4,0,0)|0|0)|0}f=(Kc()|0)==0;d=9032;It(a,31976,f?da(d|0,4,0,0)|0|0:-1,f?da(d+4|0,4,0,0)|0|0:-1);break a}case 33:{if((N|0)!=0?(w=(ii(N,m)|0)==0,y=m,x=da(y+4|0,4,0,0)|0|0,w&((x|0)>-1|(x|0)==-1&(da(y|0,4,0,0)|0|0)>>>0>4294967295)):0)ea(P+132|0,0|0,4,0);y=da(P+132|0,4,0,0)|0|0;It(a,31992,y,((y|0)<0)<<31>>31);break a}case 16:{if(!N)break a;g=Zh(P,N,D)|0;if(!g)break a;h=Nq(a)|0;hq(h,5);ea(L|0,5|0,4,0);zr(a,J);if(((((da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(h+16|0,4,0,0)|0|0,31288,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+80|0,31296,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+120|0,31304,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(h+16|0,4,0,0)|0|0)+160|0,31312,-1,1,0)|0;f=da(g+8|0,4,0,0)|0|0;if(!f)break a;else d=0;while(1){vh(h,25,d,1,0)|0;y=da(f|0,4,0,0)|0|0;wh(h,vh(h,97,0,2,0)|0,y,0);vh(h,25,(da(f+50>>0|0,1,0,0)|0|0)!=0&1,3,0)|0;y=da(31336+(((da(f+51>>0|0,1,0,0)|0)&3)<<2)|0,4,0,0)|0|0;wh(h,vh(h,97,0,4,0)|0,y,0);vh(h,25,(da(f+36|0,4,0,0)|0|0)!=0&1,5,0)|0;vh(h,35,1,5,0)|0;f=da(f+20|0,4,0,0)|0|0;if(!f)break;else d=d+1|0}break}case 30:{if(!N)break a;o=Zh(P,N,D)|0;if(!o)break a;g=da(o+8|0,4,0,0)|0|0;e:do if(!g)g=0;else while(1){if(((da(g+51>>0|0,1,0,0)|0)&3)==2)break e;g=da(g+20|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);hq(M,6);ea(L|0,6|0,4,0);zr(a,J);do if((((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31176,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+80|0,31192,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0){Wg((da(M+16|0,4,0,0)|0|0)+120|0,31200,-1,1,0)|0;if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(M+16|0,4,0,0)|0|0)+160|0,31208,-1,1,0)|0;if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(M+16|0,4,0,0)|0|0)+200|0,31224,-1,1,0)|0}while(0);gr(a,o)|0;c=o+38|0;f=da(c|0,2,0,0)|0|0;if(f<<16>>16<=0)break a;b=(g|0)==0;n=g+4|0;d=0;p=0;e=da(o+4|0,4,0,0)|0|0;while(1){k=e+23|0;if(!((da(k>>0|0,1,0,0)|0)&2)){vh(M,25,d-p|0,1,0)|0;h=da(e|0,4,0,0)|0|0;wh(M,vh(M,97,0,2,0)|0,h,0);h=da(e+12|0,4,0,0)|0|0;wh(M,vh(M,97,0,3,0)|0,(h|0)==0?10360:h,0);vh(M,25,(da(e+20>>0|0,1,0,0)|0|0)!=0&1,4,0)|0;h=da(e+8|0,4,0,0)|0|0;if(!h)vh(M,28,0,5,0)|0;else wh(M,vh(M,97,0,5,0)|0,h,0);g=(da(k>>0|0,1,0,0)|0)&1;f:do if(g<<24>>24==0|b)h=(g^1)&255^1;else{h=da(c|0,2,0,0)|0|0;if(h<<16>>16<1){h=1;break}k=da(n|0,4,0,0)|0|0;m=h<<16>>16;l=1;while(1){h=l+1|0;if((da(k+(l+-1<<1)|0,2,0,0)|0|0)==(d|0)){h=l;break f}if((l|0)<(m|0))l=h;else break}}while(0);vh(M,25,h,6,0)|0;vh(M,35,1,6,0)|0;f=da(c|0,2,0,0)|0|0;h=p}else h=p+1|0;d=d+1|0;if((d|0)>=(f<<16>>16|0))break;else{p=h;e=e+24|0}}break}case 14:{if(!((N|0)!=0?(y=(Cn(N,n)|0)==0,f=da(n|0,4,0,0)|0|0,!(y|(f|0)<1)):0)){ea(n|0,2147483647|0,4,0);f=2147483647}d=da(a+408|0,4,0,0)|0|0;zr(a,J);d=((d|0)==0?a:d)+328|0;ea(d|0,da(d|0,4,0,0)|0|1<<J|0,4,0);vh(M,25,f,1,0)|0;f=vh(M,143,J,0,0)|0;vh(M,35,1,0,0)|0;vh(M,37,1,-1,0)|0;vh(M,137,1,f,0)|0;d=da(M+32|0,4,0,0)|0|0;if(d>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+8|0,d|0,4,0);ea((da(M+24|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);break a}default:{if(!N)d=da(P+492|0,4,0,0)|0|0;else{ea(I|0,0|0,4,0);Cn(N,I)|0;d=da(I|0,4,0,0)|0|0;y=(d|0)>0;d=y?d:0;ea(P+444|0,(y?74:0)|0,4,0);ea(P+448|0,(y?P:0)|0,4,0);ea(k|0,0|0,4,0);ea(P+492|0,d|0,4,0)}It(a,31968,d,((d|0)<0)<<31>>31);break a}}while(0)}else{g=da(h|0,4,0,0)|0|0;if(g){ea(I|0,g|0,4,0);sh(a,10344,I);Vc(da(h|0,4,0,0)|0|0)}y=a+64|0;ea(y|0,(da(y|0,4,0,0)|0|0)+1|0,4,0);ea(a+12|0,b|0,4,0);break}}while(0);lg(P,O);lg(P,N)}}while(0);i=Q;return}function Fr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a:do if(!b)b=0;else{d=b;while(1){if((da(d>>0|0,1,0,0)|0|0)==-121){b=da(a|0,4,0,0)|0|0;if(!(da((da(b|0,4,0,0)|0|0)+145>>0|0,1,0,0)|0))break;ea(d>>0|0,101|0,1,0)}b=da(d+4|0,4,0,0)|0|0;if(b&16384){b=0;break a}c=d+20|0;if(!(b&2048)){if(Gr(a,da(c|0,4,0,0)|0|0)|0){b=1;break a}}else if(er(a,da(c|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(d+16|0,4,0,0)|0|0)|0){b=1;break a}d=da(d+12|0,4,0,0)|0|0;if(!d){b=0;break a}}ea(e|0,da(a+16|0,4,0,0)|0|0,4,0);sh(b,29984,e);b=1}while(0);i=f;return b|0}function Gr(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((b|0)!=0?(da(b|0,4,0,0)|0|0)>0:0){c=0;d=da(b+4|0,4,0,0)|0|0;while(1){if(Fr(a,da(d|0,4,0,0)|0|0)|0){c=1;break a}c=c+1|0;if((c|0)>=(da(b|0,4,0,0)|0|0)){c=0;break}else d=d+20|0}}else c=0;while(0);return c|0}function Hr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;wh(a,vh(a,122,b,0,0)|0,c,-1);c=da((da(a|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if((c|0)>0){d=a+96|0;b=da(d|0,4,0,0)|0|0;a=0;do{b=b|1<<a;a=a+1|0}while((a|0)<(c|0));ea(d|0,b|0,4,0)}return}function Ir(a,b){a=a|0;b=b|0;var c=0,d=0;c=b+8|0;d=Tr(a,0,c)|0;b=b+24|0;jg(da(a|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0);ea(b|0,d|0,4,0);if(d){b=d+40|0;ea(b|0,(da(b|0,2,0,0)|0|0)+1<<16>>16|0,2,0)}c=(Qt(a,c)|0)==0;return (c?d:0)|0}function Jr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;a:do if((b|0)!=0?(e=da(a+12|0,4,0,0)|0|0,(da(b|0,4,0,0)|0|0)>0):0){f=a+8|0;g=a+4|0;h=0;k=b+8|0;while(1){if(!(da(f|0,4,0,0)|0)){d=k+4|0;c=da(d|0,4,0,0)|0|0;if((c|0)!=0?(cd(c,e)|0)!=0:0)break;lg(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,c);ea(d|0,0|0,4,0);ea(k|0,da(g|0,4,0,0)|0|0,4,0)}if(er(a,da(k+20|0,4,0,0)|0|0)|0){c=1;break a}if(Fr(a,da(k+44|0,4,0,0)|0|0)|0){c=1;break a}h=h+1|0;if((h|0)>=(da(b|0,4,0,0)|0|0)){c=0;break a}else k=k+72|0}b=da(a|0,4,0,0)|0|0;k=da(a+20|0,4,0,0)|0|0;ea(l|0,da(a+16|0,4,0,0)|0|0,4,0);ea(l+4|0,k|0,4,0);ea(l+8|0,c|0,4,0);sh(b,29936,l);c=1}else c=0;while(0);i=m;return c|0}function Kr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=da(a|0,4,0,0)|0|0;if((((da(c+145>>0|0,1,0,0)|0|0)==0?(da(a+18>>0|0,1,0,0)|0|0)==0:0)?((da(c+24|0,4,0,0)|0)&2048|0)==0:0)?(Ec(b,25568,7)|0)==0:0){ea(d|0,b|0,4,0);sh(a,28440,d);c=1}else c=0;i=e;return c|0}function Lr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))ba();s=t;do if(b){p=c&1;r=(d|0)!=0;if(r){e=da(d|0,4,0,0)|0|0;n=32768}else{e=Rt(b,c)|0;e=lh(a,e,((e|0)<0)<<31>>31)|0;n=0}ea(s|0,e|0,4,0);if(e){h=(p|0)==0;if(!h)if(!(da(b+12|0,4,0,0)|0))m=(da(b+20|0,4,0,0)|0|0)==0?16396:8220;else m=8220;else m=48;o=m&60;q=b+4|0;k=da(q|0,4,0,0)|0|0;if((k&1024|0)==0?(f=da(b+8|0,4,0,0)|0|0,(f|0)!=0):0){g=f;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;l=(g-f&1073741823)+1|0}else l=0;if(h){if(!(k&16384))g=(k&8192|0)==0?48:28;else g=12;jw(e|0,b|0,g|0)|0;ew(e+g|0,0,48-g|0)|0}else jw(e|0,b|0,o|0)|0;k=e+4|0;f=m&24576|n|(da(k|0,4,0,0)|0)&-122881;ea(k|0,f|0,4,0);if(l){f=e+o|0;ea(e+8|0,f|0,4,0);jw(f|0,da(b+8|0,4,0,0)|0|0,l|0)|0;f=da(k|0,4,0,0)|0|0}g=da(q|0,4,0,0)|0|0;do if(!((f|g)&16384)){f=b+20|0;if(!(g&2048)){ea(e+20|0,Or(a,da(f|0,4,0,0)|0|0,p)|0|0,4,0);break}else{ea(e+20|0,fr(a,da(f|0,4,0,0)|0|0,p)|0|0,4,0);break}}while(0);f=da(k|0,4,0,0)|0|0;if(!(f&24576)){if((da(q|0,4,0,0)|0)&16384)break;ea(e+12|0,Lr(a,da(b+12|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(e+16|0,Lr(a,da(b+16|0,4,0,0)|0|0,0,0)|0|0,4,0);break}p=St(b,c)|0;ea(s|0,(da(s|0,4,0,0)|0|0)+p|0,4,0);if(f&8192){ea(e+12|0,Lr(a,da(b+12|0,4,0,0)|0|0,1,s)|0|0,4,0);ea(e+16|0,Lr(a,da(b+16|0,4,0,0)|0|0,1,s)|0|0,4,0)}if(r)ea(d|0,da(s|0,4,0,0)|0|0,4,0)}}else e=0;while(0);i=t;return e|0}function Mr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((b|0)!=0?(c=lh(a,8,0)|0,(c|0)!=0):0){f=b+4|0;ea(c+4|0,da(f|0,4,0,0)|0|0,4,0);d=lh(a,(da(f|0,4,0,0)|0)<<3,0)|0;ea(c|0,d|0,4,0);if(!d){lg(a,c);c=0;break}if((da(f|0,4,0,0)|0|0)>0){e=0;while(1){g=da(b|0,4,0,0)|0|0;ea(d+(e<<3)|0,jh(a,da(g+(e<<3)|0,4,0,0)|0|0)|0|0,4,0);ea(d+(e<<3)+4|0,da(g+(e<<3)+4|0,4,0,0)|0|0,4,0);e=e+1|0;if((e|0)>=(da(f|0,4,0,0)|0|0))break a;d=da(c|0,4,0,0)|0|0}}}else c=0;while(0);return c|0}function Nr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=c+4|0;e=(da(d|0,4,0,0)|0|0)+40|0;a=lh(a,e,0)|0;if(a){ew(a|0,0,e|0)|0;e=a+40|0;jw(e|0,da(c|0,4,0,0)|0|0,da(d|0,4,0,0)|0|0)|0;ea(a+12|0,e|0,4,0);ea(a+16|0,da(d|0,4,0,0)|0|0,4,0);ea(a>>0|0,b|0,1,0)}return a|0}function Or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if((b|0)!=0?(d=lh(a,8,0)|0,(d|0)!=0):0){e=da(b|0,4,0,0)|0|0;ea(d|0,e|0,4,0);if(!(c&1)){f=da(b|0,4,0,0)|0|0;e=1;while(1)if((e|0)<(f|0))e=e<<1;else break}e=lh(a,e*20|0,0)|0;ea(d+4|0,e|0,4,0);if(!e){lg(a,d);d=0;break}if((da(b|0,4,0,0)|0|0)>0){g=0;f=da(b+4|0,4,0,0)|0|0;while(1){ea(e|0,Lr(a,da(f|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(e+4|0,jh(a,da(f+4|0,4,0,0)|0|0)|0|0,4,0);ea(e+8|0,jh(a,da(f+8|0,4,0,0)|0|0)|0|0,4,0);ea(e+12>>0|0,da(f+12>>0|0,1,0,0)|0|0|0,1,0);i=e+13|0;h=da(i>>0|0,1,0,0)|0|0;ea(i>>0|0,h&-2|0,1,0);ea(i>>0|0,(da(f+13>>0|0,1,0,0)|0)&2|h&-4|0,1,0);ea(e+16|0,da(f+16|0,4,0,0)|0|0,4,0);g=g+1|0;if((g|0)>=(da(b|0,4,0,0)|0|0))break;else{e=e+20|0;f=f+20|0}}}}else d=0;while(0);return d|0}function Pr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;k=da(a|0,4,0,0)|0|0;e=da(b+20|0,4,0,0)|0|0;a:do if(e){d=da(k+20|0,4,0,0)|0|0;if((d|0)>0){c=da(k+16|0,4,0,0)|0|0;g=0;while(1){f=g+1|0;if((da(c+(g<<4)+12|0,4,0,0)|0|0)==(e|0)){f=g;break a}if((f|0)<(d|0))g=f;else break}}else f=0}else f=-1e6;while(0);c=an((da(b+24|0,4,0,0)|0|0)+8|0,da(b+4|0,4,0,0)|0|0,h)|0;if(!c)e=0;else e=da(c+8|0,4,0,0)|0|0;c=da((da(k+16|0,4,0,0)|0|0)+(f<<4)|0,4,0,0)|0|0;d=(f|0)==1;if((((Rq(a,d?14:16,da(b|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,c)|0)==0?(Rq(a,9,d?13184:13208,0,c)|0)==0:0)?(l=Nq(a)|0,(l|0)!=0):0)?(m=da(a+408|0,4,0,0)|0|0,zr(a,f),m=((m|0)==0?a:m)+328|0,ea(m|0,da(m|0,4,0,0)|0|1<<f|0,4,0),is(a,f),m=xh(l,9,29624)|0,wh(l,m+1|0,da(b|0,4,0,0)|0|0,0),wh(l,m+4|0,10720,-2),Cr(a,f),vh(l,61,0,0,0)|0,m=da(b|0,4,0,0)|0|0,wh(l,vh(l,126,f,0,0)|0,m,0),m=a+72|0,(da(m|0,4,0,0)|0|0)<3):0)ea(m|0,3|0,4,0);i=n;return}function Qr(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();h=p;n=da(a|0,4,0,0)|0|0;ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);ea(h+28|0,0|0,4,0);ea(h|0,a|0,4,0);do if(e)if((da(e>>0|0,1,0,0)|0|0)!=27)if(!(ks(h,e)|0)){o=5;break}else{o=13;break}else{ea(e>>0|0,97|0,1,0);o=5;break}else o=5;while(0);a:do if((o|0)==5){do if(f)if((da(f>>0|0,1,0,0)|0|0)!=27)if(!(ks(h,f)|0))break;else{o=13;break a}else{ea(f>>0|0,97|0,1,0);break}while(0);do if(g)if((da(g>>0|0,1,0,0)|0|0)!=27)if(!(ks(h,g)|0))break;else{o=13;break a}else{ea(g>>0|0,97|0,1,0);break}while(0);if(d){if((da(d>>0|0,1,0,0)|0|0)==97)d=da(d+8|0,4,0,0)|0|0;else d=0;if(Rq(a,b,d,0,0)|0)break}m=Nq(a)|0;h=a+60|0;d=da(h|0,4,0,0)|0|0;k=a+56|0;l=da(k|0,4,0,0)|0|0;if((l|0)<4){l=a+72|0;d=da(l|0,4,0,0)|0|0;ea(l|0,d+4|0,4,0);d=d+1|0}else{ea(h|0,d+4|0,4,0);ea(k|0,l+-4|0,4,0)}Qq(a,e,d);Qq(a,f,d+1|0);Qq(a,g,d+2|0);if(m){d=d+3|0;vh(m,1,0,d-(da(c|0,2,0,0)|0|0)|0,d)|0;d=da(m+4|0,4,0,0)|0|0;if(d)ea(d+(((da(m+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(c|0,2,0,0)|0|0,1,0);wh(m,-1,c,-5);vh(m,144,(b|0)==24&1,0,0)|0}}while(0);if((o|0)==13){c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}Fk(n,e);Fk(n,f);Fk(n,g);i=p;return}function Rr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=k+4|0;f=da(a|0,4,0,0)|0|0;a:do if(!(Fn(a)|0)){if(!b){Tt(a,0);break}if(!((c|0)!=0?(da(c|0,4,0,0)|0|0)!=0:0))d=6;do if((d|0)==6){d=Vq(da(a|0,4,0,0)|0|0,b)|0;if(!d)break a;if(!(Xn(f,da(f+62>>0|0,1,0,0)|0|0,d,0)|0)){lg(f,d);break}else{Tt(a,d);lg(f,d);break a}}while(0);b=dr(a,b,c,e)|0;if((b|0)>=0?(g=Vq(f,da(e|0,4,0,0)|0|0)|0,(g|0)!=0):0){c=da((da(f+16|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0;d=Zh(f,g,c)|0;if(d){Ut(a,d,0);lg(f,g);break}c=aq(f,g,c)|0;lg(f,g);if(!c){sh(a,28872,h);break}else{d=da(a+408|0,4,0,0)|0|0;zr(a,b);d=((d|0)==0?a:d)+328|0;ea(d|0,da(d|0,4,0,0)|0|1<<b|0,4,0);us(a,c,-1);break}}}while(0);i=k;return}function Sr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;f=da(a|0,4,0,0)|0|0;if(!(Fn(a)|0)){do if(!b){b=f+20|0;d=da(b|0,4,0,0)|0|0;if((d|0)>0){c=0;do{if((c|0)!=1){Vt(a,c);d=da(b|0,4,0,0)|0|0}c=c+1|0}while((c|0)<(d|0))}}else{if(da(c+4|0,4,0,0)|0){d=dr(a,b,c,e)|0;if((d|0)<=-1)break;d=da((da(f+16|0,4,0,0)|0|0)+(d<<4)|0,4,0,0)|0|0;b=Vq(f,da(e|0,4,0,0)|0|0)|0;if(!b)break;c=aq(f,b,d)|0;if(!c){d=rh(a,0,b,d)|0;if(d)Wt(a,d,0)}else Wt(a,da(c+12|0,4,0,0)|0|0,c);lg(f,b);break}c=Vq(f,b)|0;d=Uh(f,c)|0;lg(f,c);if((d|0)>-1){Vt(a,d);break}c=Vq(f,b)|0;if(c){d=aq(f,c,0)|0;if(!d){d=rh(a,0,c,0)|0;if(d)Wt(a,d,0)}else Wt(a,da(d+12|0,4,0,0)|0|0,d);lg(f,c)}}while(0);d=Nq(a)|0;if(d)vh(d,144,0,0,0)|0}i=g;return}function Tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=da(c|0,4,0,0)|0|0;if(!e)d=c+4|0;else{h=da(a|0,4,0,0)|0|0;f=da(h+20|0,4,0,0)|0|0;h=da(h+16|0,4,0,0)|0|0;a:do if((f|0)>0){g=0;while(1){d=g+1|0;if((da(h+(g<<4)+12|0,4,0,0)|0|0)==(e|0)){d=g;break a}if((d|0)<(f|0))g=d;else break}}else d=0;while(0);d=h+(d<<4)|0}return rh(a,b,da(c+8|0,4,0,0)|0|0,da(d|0,4,0,0)|0|0)|0}function Ur(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((c-b&1073741823)>>>0>6?(Ec(b,25568,7)|0)==0:0){ea(d|0,b|0,4,0);sh(a,25576,d);c=1}else c=0}else c=0;i=e;return c|0}function Vr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if(!b){ea(d|0,c|0,4,0);a=th(a,25992,d)|0}else{ea(d|0,b|0,4,0);ea(d+4|0,c|0,4,0);d=th(a,26e3,d)|0;lg(a,b);a=d}i=e;return a|0}function Wr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;d=da(a|0,4,0,0)|0|0;e=da((da(d+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0;if((da(b+68|0,4,0,0)|0|0)!=(e|0)?(c=zs(a,b)|0,(c|0)!=0):0){b=c;c=0;do{if((da(b+20|0,4,0,0)|0|0)==(e|0))c=Vr(d,c,da(b|0,4,0,0)|0|0)|0;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0);if(c){b=da(a|0,4,0,0)|0|0;ea(f|0,c|0,4,0);b=th(b,25968,f)|0;lg(da(a|0,4,0,0)|0|0,c);c=b}else c=0}else c=0;i=g;return c|0}function Xr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();m=p;n=Nq(a)|0;if(n){d=da(a|0,4,0,0)|0|0;g=da(b+68|0,4,0,0)|0|0;a:do if(g){h=da(d+20|0,4,0,0)|0|0;if((h|0)>0){e=da(d+16|0,4,0,0)|0|0;f=0;while(1){d=f+1|0;if((da(e+(f<<4)+12|0,4,0,0)|0|0)==(g|0))break a;if((d|0)<(h|0))f=d;else{f=d;break}}}else f=0}else f=-1e6;while(0);d=zs(a,b)|0;if(d)do{e=da(a|0,4,0,0)|0|0;k=da(d+20|0,4,0,0)|0|0;b:do if(k){l=da(e+20|0,4,0,0)|0|0;if((l|0)>0){h=da(e+16|0,4,0,0)|0|0;g=0;while(1){e=g+1|0;if((da(h+(g<<4)+12|0,4,0,0)|0|0)==(k|0)){e=g;break b}if((e|0)<(l|0))g=e;else break}}else e=0}else e=-1e6;while(0);l=da(d|0,4,0,0)|0|0;wh(n,vh(n,126,e,0,0)|0,l,0);d=da(d+32|0,4,0,0)|0|0}while((d|0)!=0);d=da(b|0,4,0,0)|0|0;wh(n,vh(n,124,f,0,0)|0,d,0);d=da(a|0,4,0,0)|0|0;ea(m|0,c|0,4,0);d=th(d,25952,m)|0;if((d|0)!=0?(Hr(n,f,d),o=Wr(a,b)|0,(o|0)!=0):0)Hr(n,1,o)}i=p;return}
function fh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,aa=0,ca=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,jc=0,mc=0,nc=0,pc=0,rc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,dd=0,ed=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0;he=i;i=i+1040|0;if((i|0)>=(j|0))ba();de=he+400|0;Mc=he+792|0;Yc=he+392|0;Uc=he+788|0;Ld=he+320|0;dd=he+784|0;id=he+780|0;jd=he+280|0;Gd=he+680|0;Tc=he+240|0;Jd=he+200|0;Sc=he+676|0;Pc=he+672|0;Hd=he+160|0;Nc=he+644|0;md=he+152|0;Cd=he+112|0;_c=he+640|0;Ed=he+636|0;Qc=he+632|0;nd=he+628|0;td=he+624|0;pd=he+604|0;ud=he+600|0;hd=he+596|0;qd=he+576|0;Lc=he+840|0;vd=he+572|0;Id=he+104|0;wd=he+568|0;Wc=he+564|0;Xc=he+96|0;Kd=he+88|0;xd=he+560|0;yd=he+556|0;zd=he+552|0;rd=he+532|0;sd=he+512|0;Zc=he+508|0;od=he+504|0;Rc=he+488|0;Fd=he+48|0;Oc=he+456|0;Kc=he+444|0;Dd=he+8|0;ld=he+440|0;Bd=he+412|0;Ad=he;rc=a+4|0;f=da(rc|0,4,0,0)|0|0;ee=da(a|0,4,0,0)|0|0;Cc=da(ee+62>>0|0,1,0,0)|0|0;Gc=a+8|0;p=da(Gc|0,4,0,0)|0|0;ge=ee+32|0;c=ge;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;fe=a+80|0;a:do if((da(fe|0,4,0,0)|0|0)==7){o=ee+65|0;p=a+44|0;e=d;b=0;g=0;d=0;be=1317}else{ea(fe|0,0|0,4,0);Yd=a+136|0;ea(Yd|0,0|0,4,0);ea(Yd+4|0,0|0,4,0);Yd=a+20|0;ea(Yd|0,0|0,4,0);ea(ee+452|0,0|0,4,0);vc=ee+240|0;b:do if(!(da(vc|0,4,0,0)|0)){Wd=ee+292|0;if(da(Wd|0,4,0,0)|0){e=da(a+124|0,4,0,0)|0|0;b=ee+300|0;o=da(b|0,4,0,0)|0|0;if(!e)pc=b;else{pc=b;o=(e>>>0)%(o>>>0)|0}}else{pc=ee+300|0;o=0}ae=a+76|0;$d=ee+65|0;Sd=ee+296|0;lb=a+176|0;mb=a+184|0;nb=a+92|0;ob=ee+80|0;pb=ee+84|0;qb=Cc&255;rb=Cc<<24>>24==1;sb=ee+88|0;tb=a+60|0;Td=a+144|0;_d=a+86|0;ce=a+44|0;ub=a+12|0;vb=Nc+4|0;wb=Nc+16|0;xb=Nc+12|0;yb=Nc+25|0;zb=Nc+20|0;Ab=a+200|0;Bb=a+56|0;Ud=a+72|0;Cb=Cd+16|0;Db=Cd+8|0;Eb=Cd+24|0;Fb=a+87|0;Vd=ee+156|0;Gb=ee+500|0;Hb=ee+496|0;Zd=ee+63|0;Ib=ee+488|0;Jb=ee+504|0;Kb=ee+512|0;Lb=ee+70|0;Mb=ee+24|0;Nb=ee+20|0;Qd=ee+16|0;Ob=ee+4|0;Rd=a+88|0;Pb=a+104|0;Qb=a+152|0;Rb=a+160|0;Sb=ee+152|0;Tb=ee+64|0;Ub=pd+4|0;Vb=pd+6|0;Wb=pd+8|0;Xb=qd+4|0;Yb=qd+8|0;Zb=ee+212|0;_b=ee+208|0;bc=a+116|0;cc=rd+4|0;dc=rd+6|0;ec=rd+8|0;fc=Tc+8|0;gc=Tc+32|0;hc=Tc+24|0;jc=Tc+16|0;mc=Tc+12|0;nc=sd+4|0;O=sd+6|0;P=sd+8|0;Q=jd+8|0;R=jd+32|0;S=jd+24|0;T=jd+12|0;U=jd+16|0;V=ee+164|0;W=Rc+8|0;X=Rc+4|0;Y=ee+145|0;aa=Rc+12|0;ca=Ld+4|0;ga=Ld+12|0;ha=Ld+16|0;ia=Ld+20|0;ja=Ld+24|0;ka=Ld+28|0;la=Ld+8|0;ma=Ld+40|0;na=Ld+44|0;oa=Ld+48|0;pa=Ld+52|0;qa=Ld+56|0;ra=Ld+60|0;sa=Ld+64|0;ta=Ld+65|0;ua=ee+128|0;va=a+28|0;wa=a+36|0;xa=a+32|0;ya=a+196|0;za=Oc+4|0;Aa=Oc+8|0;Ba=Fd+8|0;Ca=Fd+32|0;Da=Fd+24|0;Ea=Oc+20|0;Fa=Oc+12|0;Ga=Oc+16|0;Ha=Oc+24|0;Ia=Kc+8|0;Ja=Kc+4|0;Ka=ee+148|0;La=ee+176|0;Ma=ee+72|0;Na=ee+67|0;Oa=Mc+20|0;Pa=Mc+24|0;Qa=Mc+4|0;Ra=Mc+16|0;Sa=ee+304|0;Ta=ee+328|0;Ua=Dd+32|0;Va=Dd+8|0;Wa=Dd+24|0;Xa=ee+308|0;Ya=Bd+20|0;Za=ee+69|0;Xd=a+168|0;_a=jd+4|0;$a=jd+8|0;ab=jd+12|0;bb=jd+16|0;cb=jd+20|0;db=jd+24|0;eb=jd+25|0;fb=ee+180|0;gb=Hd+32|0;hb=Hd+8|0;ib=Hd+12|0;jb=Hd+16|0;kb=Hd+24|0;K=0;L=0;b=0;h=0;g=da(ae|0,4,0,0)|0|0;n=0;c:while(1){e=d;d:while(1){if(da($d>>0|0,1,0,0)|0){o=$d;p=ce;d=n;be=1317;break a}d=b+1|0;if(!((da(f+(g*20|0)+2>>0|0,1,0,0)|0)&2))A=h;else{h=da(f+(g*20|0)+8|0,4,0,0)|0|0;b=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if((da(h|0,2,0,0)|0)&9312)ug(b);ea(h|0,4|0,2,0);A=b}s=f+(g*20|0)|0;y=da(s>>0|0,1,0,0)|0|0;h=y&255;e:do switch(h|0){case 20:{b=d;d=e;be=24;break d}case 21:{b=d;d=e;h=A;be=25;break d}case 22:{b=d;d=e;h=A;be=26;break d}case 29:{b=d;d=e;e=g;be=65;break d}case 30:{b=d;d=e;h=A;e=g;be=66;break d}case 28:{b=d;d=e;h=A;e=g;be=60;break d}case 32:{b=d;d=e;e=g;be=72;break d}case 17:{b=d;d=e;h=A;be=22;break d}case 18:{b=d;d=e;h=A;be=23;break d}case 23:{b=d;d=e;h=A;e=g;be=27;break d}case 24:{b=d;d=e;h=A;e=g;be=28;break d}case 25:{b=d;d=e;h=A;e=g;be=44;break d}case 26:{b=d;d=e;h=A;e=g;be=45;break d}case 133:{b=d;d=e;h=A;e=g;be=46;break d}case 97:{ea(s>>0|0,27|0,1,0);s=f+(g*20|0)+16|0;l=da(s|0,4,0,0)|0|0;if(!l)b=0;else{b=l;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-l&1073741823}m=f+(g*20|0)+4|0;ea(m|0,b|0,4,0);if(rb)h=0;else{h=Wg(A,l,-1,1,0)|0;if((h|0)==18){b=d;d=e;h=n;be=1316;break c}if(Xl(A,qb)|0){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(A+24|0,0|0,4,0);b=A+8|0;ea(b|0,da(b|0,2,0,1)|0|2048|0,2,0);b=f+(g*20|0)+1|0;if((da(b>>0|0,1,0,0)|0|0)==-1)lg(ee,da(s|0,4,0,0)|0|0);ea(b>>0|0,-1|0,1,0);l=da(A+16|0,4,0,0)|0|0;ea(s|0,l|0,4,0);b=da(A+12|0,4,0,0)|0|0;ea(m|0,b|0,4,0)}if((b|0)>(da(sb|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else be=57;break}case 31:{b=d;d=e;h=A;e=g;be=67;break d}case 34:{b=d;d=e;e=g;be=79;break d}case 35:{b=d;d=e;h=n;be=80;break c}case 33:{b=d;d=e;be=74;break d}case 94:{b=d;d=e;be=94;break d}case 93:case 92:case 91:case 90:case 89:{b=d;F=s;d=e;e=g;be=112;break d}case 27:{l=da(f+(g*20|0)+16|0,4,0,0)|0|0;b=da(f+(g*20|0)+4|0,4,0,0)|0|0;h=0;be=57;break}case 16:{g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=0;be=19;break}case 36:{b=d;d=e;y=A;e=g;be=166;break d}case 1:{J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;s=J&255;q=da(ub|0,4,0,0)|0|0;b=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;ea(Nc|0,b|0,4,0);if(J<<24>>24){b=0;h=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){ea(q+(b<<2)|0,h|0,4,0);if(((da(h+8|0,2,0,0)|0)&4096)!=0?(Ul(h)|0)!=0:0){o=$d;p=ce;b=d;d=n;be=1317;break a}b=b+1|0;if((b|0)>=(s|0))break;else h=h+40|0}b=da(Nc|0,4,0,0)|0|0}J=da(f+(g*20|0)+16|0,4,0,0)|0|0;ea(vb|0,J|0,4,0);ea(wb|0,g|0,4,0);ea(xb|0,a|0,4,0);I=b+8|0;ea(I|0,(da(I|0,2,0,1)|0)&48640|1|0,2,0);ea(yb>>0|0,0|0,1,0);I=ge;ea(I|0,e|0,4,0);ea(I+4|0,c|0,4,0);lc[(fa(da(J+12|0,4,0,0)|0|0,63|0)|0)&63](Nc,s,q);c=ge;e=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if(!(da(yb>>0|0,1,0,0)|0))b=0;else{if(!(da(zb|0,4,0,0)|0))b=0;else{ea(de|0,Rg(da(Nc|0,4,0,0)|0|0,1)|0|0,4,0);ch(ce,ee,10344,de);b=da(zb|0,4,0,0)|0|0}dm(a,g,da(f+(g*20|0)+4|0,4,0,0)|0|0)}Xl(da(Nc|0,4,0,0)|0|0,qb)|0;m=da(Nc|0,4,0,0)|0|0;l=da(m+8|0,2,0,1)|0|0;if(l&18){h=da(m+12|0,4,0,0)|0|0;if(l&16384)h=(da(m|0,4,0,0)|0|0)+h|0;if((h|0)>(da((da(m+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else{s=A;H=g;h=b}}else{s=A;H=g;h=b}break}case 88:case 87:case 86:case 85:{b=d;w=s;d=e;e=g;be=184;break d}case 39:{b=d;d=e;y=A;e=g;be=208;break d}case 37:{b=d;d=e;h=A;e=g;be=202;break d}case 38:{b=d;d=e;y=A;e=g;be=203;break d}case 83:case 80:case 81:case 82:case 78:case 79:{b=d;x=y;d=e;h=A;be=213;break d}case 40:{J=da(f+(g*20|0)+4|0,4,0,0)|0|0;b=p+(J*40|0)|0;if(!((da(p+(J*40|0)+8|0,2,0,0)|0)&16384))h=0;else h=Qg(b)|0;fm(b,(da(f+(g*20|0)+8|0,4,0,0)|0)&255,Cc);s=A;H=g;break}case 41:{b=d;d=e;h=A;e=g;be=248;break d}case 42:{b=d;d=e;h=A;e=g;be=249;break d}case 43:{b=d;d=e;h=A;be=256;break d}case 71:case 72:{b=d;d=e;e=g;be=261;break d}case 76:{b=d;d=e;h=A;e=g;be=286;break d}case 19:{b=d;d=e;e=g;be=268;break d}case 96:{b=d;d=e;e=g;be=273;break d}case 44:{b=d;d=e;h=A;e=g;be=278;break d}case 46:case 45:{b=d;d=e;h=A;e=g;be=281;break d}case 77:{b=d;d=e;h=A;e=g;be=288;break d}case 47:{b=d;d=e;h=A;be=290;break d}case 48:{b=d;d=e;h=A;e=g;be=368;break d}case 49:{b=d;d=e;be=371;break d}case 50:{u=da(da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0,4,0,0)|0|0;f:do if(da(u+60|0,4,0,0)|0){b=pm(u)|0;if(!b){z=u+76|0;w=u+44|0;v=u+72|0;l=0;h=0;g:while(1){s=da(z|0,2,0,0)|0|0;y=da(u+(s<<16>>16<<2)+120|0,4,0,0)|0|0;if(!(da(y+5>>0|0,1,0,0)|0)){if(!(da(y+2>>0|0,1,0,0)|0)){l=iw(da(y+18|0,2,0,1)|0|0,0,l|0,h|0)|0;h=C}}else{l=iw(da(y+18|0,2,0,1)|0|0,0,l|0,h|0)|0;h=C;while(1){if(!(s<<16>>16))break g;if(y){Ag(da(y+68|0,4,0,0)|0|0);s=da(z|0,2,0,0)|0|0}s=s+-1<<16>>16;ea(z|0,s|0,2,0);ea(w|0,0|0,2,0);ea(v>>0|0,(da(v>>0|0,1,0,1)|0)&249|0,1,0);y=s<<16>>16;q=u+(y<<1)+78|0;x=da(q|0,2,0,0)|0|0;y=da(u+(y<<2)+120|0,4,0,0)|0|0;if((x&65535)<(da(y+18|0,2,0,1)|0|0)){s=x;break}}ea(q|0,s+1<<16>>16|0,2,0);y=da(z|0,2,0,0)|0|0;s=y;y=da(u+(y<<16>>16<<2)+120|0,4,0,0)|0|0}s=da(u+(s<<16>>16<<1)+78|0,2,0,0)|0|0;q=da(y+56|0,4,0,0)|0|0;if(s<<16>>16==(da(y+18|0,2,0,0)|0|0)){b=da(y+6>>0|0,1,0,1)|0|0;b=qm(u,(da(q+(b+9)>>0|0,1,0,1)|0)<<16|(da(q+(b+8)>>0|0,1,0,1)|0)<<24|(da(q+(b+10)>>0|0,1,0,1)|0)<<8|(da(q+(b+11)>>0|0,1,0,1)|0))|0}else{b=(s&65535)<<1;J=da(y+64|0,4,0,0)|0|0;b=((da(J+b>>0|0,1,0,1)|0)<<8|(da(J+(b|1)>>0|0,1,0,1)|0))&(da(y+20|0,2,0,1)|0);b=qm(u,(da(q+(b+1)>>0|0,1,0,1)|0)<<16|(da(q+b>>0|0,1,0,1)|0)<<24|(da(q+(b+2)>>0|0,1,0,1)|0)<<8|(da(q+(b+3)>>0|0,1,0,1)|0))|0}if(b){l=0;h=0;break f}}b=pm(u)|0}else{l=0;h=0}}else{b=0;l=0;h=0}while(0);s=A;ea(s|0,l|0,4,0);ea(s+4|0,h|0,4,0);s=A;H=g;h=b;break}case 2:{E=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=da(f+(g*20|0)+16|0,4,0,0)|0|0;if(!E){b=d;d=e;e=g;be=446;break d}b=da(Ib|0,4,0,0)|0|0;if(!b){f=l;b=d;d=e;h=n;be=460;break c}else h=0;while(1){if(!(cd(da(b|0,4,0,0)|0|0,l)|0)){B=b;break}b=da(b+24|0,4,0,0)|0|0;if(!b){f=l;b=d;d=e;h=n;be=460;break c}else h=h+1|0}w=(E|0)==1;if((da(Vd|0,4,0,0)|0|0)>0&w){b=d;d=e;h=n;be=462;break c}v=B+24|0;if(!(da(v|0,4,0,0)|0)){q=(da(Lb>>0|0,1,0,0)|0|0)!=0;if(q&w){b=sm(a,1)|0;if(b)break a;ea(Zd>>0|0,1|0,1,0);if((Ql(a)|0)==5){b=g;be=467;break c}ea(Lb>>0|0,0|0,1,0);q=1;z=h;h=da(fe|0,4,0,0)|0|0}else be=469}else{q=0;be=469}if((be|0)==469){be=0;z=(da(Hb|0,4,0,0)|0|0)-h+-1|0;if((E|0)==2){s=(da(Mb|0,4,0,0)|0|0)>>>1&1;if((da(Nb|0,4,0,0)|0|0)>0){y=s^1;x=0;while(1){h=Hl(da((da(Qd|0,4,0,0)|0|0)+(x<<4)+4|0,4,0,0)|0|0,516,y)|0;x=x+1|0;if(h){b=d;d=e;be=1318;break c}b=da(Nb|0,4,0,0)|0|0;if((x|0)>=(b|0)){be=475;break}}}}else{b=da(Nb|0,4,0,0)|0|0;s=0;be=475}if((be|0)==475){be=0;if((b|0)>0){u=0;do{h=tm(da((da(Qd|0,4,0,0)|0|0)+(u<<4)+4|0,4,0,0)|0|0,E,z)|0;u=u+1|0;if(h){b=d;d=e;be=1318;break c}}while((u|0)<(da(Nb|0,4,0,0)|0|0))}}if(!s)h=0;else{s=da(Ob|0,4,0,0)|0|0;if(s)do{J=s+88|0;ea(J|0,da(J|0,2,0,0)|0|8|0,2,0);s=da(s+52|0,4,0,0)|0|0}while((s|0)!=0);Dg(ee);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);h=0}}s=da(Ib|0,4,0,0)|0|0;if((s|0)!=(B|0))do{ea(Ib|0,da(s+24|0,4,0,0)|0|0,4,0);lg(ee,s);ea(Hb|0,(da(Hb|0,4,0,0)|0|0)+-1|0,4,0);s=da(Ib|0,4,0,0)|0|0}while((s|0)!=(B|0));if(w){ea(Ib|0,da(v|0,4,0,0)|0|0,4,0);lg(ee,B);if(q){s=A;H=g;break e}else{b=d;s=E;d=e;q=z;u=A;e=g;be=486;break d}}else{I=B+8|0;H=da(I+4|0,4,0,0)|0|0;J=Jb;ea(J|0,da(I|0,4,0,0)|0|0,4,0);ea(J+4|0,H|0,4,0);H=B+16|0;J=da(H+4|0,4,0,0)|0|0;I=Kb;ea(I|0,da(H|0,4,0,0)|0|0,4,0);ea(I+4|0,J|0,4,0);if(q){s=A;H=g;break e}else{s=E;b=d;d=e;q=z;u=A;e=g;be=488;break d}}}case 3:{h=n;be=489;break c}case 4:{l=f+(g*20|0)+8|0;b=da(l|0,4,0,0)|0|0;if((b|0)!=0?((da(Mb|0,4,0,0)|0)&33554432|0)!=0:0){b=d;d=e;h=8;be=1318;break c}x=f+(g*20|0)+4|0;y=da((da(Qd|0,4,0,0)|0|0)+((da(x|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;if(!y){l=0;h=0;b=0}else{h=xg(y,b)|0;if((h|0)==5){b=g;be=508;break c}else if(h){b=d;d=e;be=1318;break c}do if((da(l|0,4,0,0)|0|0)!=0?((da(Rd|0,2,0,0)|0)&32)!=0:0){if((da(Zd>>0|0,1,0,0)|0|0)!=0?(da(Sb|0,4,0,0)|0|0)<=1:0){b=0;break}b=da(Pb|0,4,0,0)|0|0;if(!b){b=(da(Gb|0,4,0,0)|0|0)+1|0;ea(Gb|0,b|0,4,0);b=(da(Hb|0,4,0,0)|0|0)+b|0;ea(Pb|0,b|0,4,0)}b=rm(ee,0,b+-1|0)|0;if(!b){b=da(Pb|0,4,0,0)|0|0;J=da(y+4|0,4,0,0)|0|0;ea(J+4|0,da(y|0,4,0,0)|0|0,4,0);b=gl(da(J|0,4,0,0)|0|0,b)|0}I=Jb;H=da(I+4|0,4,0,0)|0|0;J=Qb;ea(J|0,da(I|0,4,0,0)|0|0,4,0);ea(J+4|0,H|0,4,0);H=Kb;J=da(H+4|0,4,0,0)|0|0;I=Rb;ea(I|0,da(H|0,4,0,0)|0|0,4,0);ea(I+4|0,J|0,4,0)}else b=0;while(0);l=da(y+4|0,4,0,0)|0|0;ea(l+4|0,da(y|0,4,0,0)|0|0,4,0);l=da((da(l+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;l=(da(l+41>>0|0,1,0,1)|0)<<16|(da(l+40>>0|0,1,0,1)|0)<<24|(da(l+42>>0|0,1,0,1)|0)<<8|(da(l+43>>0|0,1,0,1)|0);h=da((da((da(Qd|0,4,0,0)|0|0)+((da(x|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}if(da(f+(g*20|0)+3>>0|0,1,0,0)|0){if((l|0)!=(da(f+(g*20|0)+12|0,4,0,0)|0|0)){b=d;f=x;d=e;h=n;be=522;break c}if((h|0)!=(da(f+(g*20|0)+16|0,4,0,0)|0|0)){b=d;f=x;d=e;h=n;be=522;break c}else{s=A;H=g;h=b}}else{s=A;H=g;h=b}break}case 53:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;if((b|0)!=0?(da(b+28|0,4,0,0)|0|0)==(da(f+(g*20|0)+8|0,4,0,0)|0|0):0){l=f+(g*20|0)+3|0;h=0;be=548}else be=536;break}case 51:{b=d;d=e;h=A;e=g;be=525;break d}case 52:{q=f+(g*20|0)+4|0;b=da(q|0,4,0,0)|0|0;l=da(Qd|0,4,0,0)|0|0;s=da(f+(g*20|0)+12|0,4,0,0)|0|0;m=p+(s*40|0)|0;h=Ug(m)|0;J=m;ea(J|0,h|0,4,0);ea(J+4|0,C|0,4,0);s=p+(s*40|0)+8|0;ea(s|0,(da(s|0,2,0,1)|0)&48640|4|0,2,0);s=f+(g*20|0)+8|0;h=Cg(da(l+(b<<4)+4|0,4,0,0)|0|0,da(s|0,4,0,0)|0|0,h)|0;s=da(s|0,4,0,0)|0|0;if((s|0)==1){ea(da(l+(b<<4)+12|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0,4,0);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0)}else if((s|0)==2)ea((da(l+(b<<4)+12|0,4,0,0)|0|0)+76>>0|0,da(m|0,4,0,0)|0|0,1,0);if((da(q|0,4,0,0)|0|0)==1){b=da(Ob|0,4,0,0)|0|0;if(b)do{J=b+88|0;ea(J|0,da(J|0,2,0,0)|0|8|0,2,0);b=da(b+52|0,4,0,0)|0|0}while((b|0)!=0);ea(Rd|0,(da(Rd|0,2,0,0)|0)&-9|0,2,0);s=A;H=g}else{s=A;H=g}break}case 55:case 54:{be=536;break}case 57:case 56:{b=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,-1,1)|0;if(!b){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(b+25>>0|0,1|0,1,0);y=b+27|0;ea(y>>0|0,da(y>>0|0,1,0,0)|0|1|0,1,0);l=b+4|0;x=f+(g*20|0)+3|0;h=ym(da(ee|0,4,0,0)|0|0,0,ee,l,da(x>>0|0,1,0,1)|0|5,1054)|0;do if(!h){h=xg(da(l|0,4,0,0)|0|0,1)|0;if(!h){q=da(f+(g*20|0)+16|0,4,0,0)|0|0;s=da(l|0,4,0,0)|0|0;if(!q){h=xm(s,1,1,0,da(b|0,4,0,0)|0|0)|0;ea(y>>0|0,da(y>>0|0,1,0,0)|0|4|0,1,0);break}h=zm(s,nd,da(x>>0|0,1,0,1)|0|2)|0;if(!h){ea(b+8|0,q|0,4,0);h=xm(da(l|0,4,0,0)|0|0,da(nd|0,4,0,0)|0|0,1,q,da(b|0,4,0,0)|0|0)|0}ea(y>>0|0,(da(y>>0|0,1,0,0)|0)&-5|0,1,0)}}while(0);ea(y>>0|0,((da(x>>0|0,1,0,0)|0|0)!=8&1)<<3&255|(da(y>>0|0,1,0,0)|0)&-9|0,1,0);s=A;H=g;break}case 58:{b=d;d=e;be=558;break d}case 60:{b=d;d=e;h=A;be=568;break d}case 61:{b=d;d=e;h=A;e=g;be=570;break d}case 59:{b=d;d=e;h=A;e=g;be=566;break d}case 65:case 64:case 63:case 62:{b=d;z=h;d=e;e=g;be=571;break d}case 66:{b=d;d=e;h=A;e=g;be=596;break d}case 69:case 68:case 67:{b=d;w=s;d=e;h=A;be=597;break d}case 73:{b=d;d=e;h=A;e=g;be=624;break d}case 70:{l=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(b|0,4,0,0)|0|0;ea(vd|0,0|0,4,0);l=p+(l*40|0)|0;I=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;h=Bm(h,0,I,l,0,vd)|0;J=b+48|0;ea(J|0,I|0,4,0);ea(J+4|0,l|0,4,0);ea(b+25>>0|0,0|0,1,0);ea(b+60|0,0|0,4,0);ea(b+26>>0|0,0|0,1,0);l=da(vd|0,4,0,0)|0|0;if(l)g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;ea(b+12|0,l|0,4,0);s=A;H=g;break}case 74:{w=Id;ea(w|0,0|0,4,0);ea(w+4|0,0|0,4,0);ea(wd|0,0|0,4,0);w=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;b=da(w|0,4,0,0)|0|0;if(!b){h=0;l=0;b=0}else{z=w+27|0;do if(!((da(z>>0|0,1,0,0)|0)&2)){h=Gm(b,wd)|0;if(h){b=d;d=e;be=1318;break c}if(da(wd|0,4,0,0)|0){J=Id;ea(J|0,1|0,4,0);ea(J+4|0,0|0,4,0);break}jm(da(w|0,4,0,0)|0|0,Id);h=Id;b=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;if((b|0)==-1&(h|0)==2147483647){ea(z>>0|0,da(z>>0|0,1,0,0)|0|2|0,1,0);break}else{I=iw(b|0,h|0,1,0)|0;J=Id;ea(J|0,I|0,4,0);ea(J+4|0,C|0,4,0);break}}while(0);y=da(f+(g*20|0)+12|0,4,0,0)|0|0;if(y){b=da(lb|0,4,0,0)|0|0;if(!b)s=p;else{while(1){h=da(b+4|0,4,0,0)|0|0;if(!h)break;else b=h}s=da(b+16|0,4,0,0)|0|0}x=s+(y*40|0)|0;q=Ug(x)|0;b=C;J=x;ea(J|0,q|0,4,0);ea(J+4|0,b|0,4,0);J=s+(y*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|4|0,2,0);if((q|0)==-1&(b|0)==2147483647){b=d;d=e;h=13;be=1318;break c}if((da(z>>0|0,1,0,0)|0)&2){b=d;d=e;h=13;be=1318;break c}y=Id;h=da(y|0,4,0,0)|0|0;y=da(y+4|0,4,0,0)|0|0;s=iw(q|0,b|0,1,0)|0;b=C;if((y|0)<(b|0)|(y|0)==(b|0)&h>>>0<s>>>0){J=Id;ea(J|0,s|0,4,0);ea(J+4|0,b|0,4,0)}else{s=h;b=y}J=x;ea(J|0,s|0,4,0);ea(J+4|0,b|0,4,0)}h:do if(!((da(z>>0|0,1,0,0)|0)&2))b=0;else{h=0;while(1){bd(8,Id);J=Id;J=iw(da(J|0,4,0,0)|0|0,(da(J+4|0,4,0,0)|0)&1073741823|0,1,0)|0;b=C;I=Id;ea(I|0,J|0,4,0);ea(I+4|0,b|0,4,0);b=Bm(da(w|0,4,0,0)|0|0,0,J,b,0,wd)|0;if(da(wd|0,4,0,0)|0|b)break h;h=h+1|0;if((h|0)>=100){b=d;d=e;h=13;be=1318;break c}}}while(0);ea(w+26>>0|0,0|0,1,0);ea(w+60|0,0|0,4,0);l=Id;h=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0}s=A;ea(s|0,h|0,4,0);ea(s+4|0,l|0,4,0);s=A;H=g;h=b;break}case 84:case 75:{b=d;s=y;d=e;h=A;e=g;be=647;break d}case 95:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=Im(da(b|0,4,0,0)|0|0)|0;ea(b+60|0,0|0,4,0);if((((h|0)==0?(zc=da(Zb|0,4,0,0)|0|0,(zc|0)!=0):0)?(Ac=da(f+(g*20|0)+16|0,4,0,0)|0|0,(Ac|0)!=0):0)?((da(b+27>>0|0,1,0,0)|0)&4)!=0:0){J=b+48|0;ac[(fa(zc|0,1|0)|0)&1](da(_b|0,4,0,0)|0|0,9,da((da(Qd|0,4,0,0)|0|0)+((da(b+24>>0|0,1,0,0)|0)<<4)|0,4,0,0)|0|0,Ac,da(J|0,4,0,0)|0|0,da(J+4|0,4,0,0)|0|0)}if(!((da(f+(g*20|0)+8|0,4,0,0)|0)&1)){s=A;H=g}else{ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);s=A;H=g}break}case 98:{b=d;d=e;h=A;e=g;be=671;break d}case 99:{b=d;d=e;h=A;e=g;be=672;break d}case 100:{l=da(f+(g*20|0)+8|0,4,0,0)|0|0;s=p+(l*40|0)|0;b=da((da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if(!(da(b+56>>0|0,1,0,0)|0)){h=da(b+36|0,4,0,0)|0|0;b=h;h=h+8|0}else{J=da(b+20|0,4,0,0)|0|0;h=da((da(J+8|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;J=da(J+12|0,4,0,0)|0|0;b=J+(h*56|0)+20|0;h=da(J+(h*56|0)+32|0,4,0,0)|0|0}b=da(b|0,4,0,0)|0|0;if(!(eh(s,b)|0)){ea(p+(l*40|0)+12|0,b|0,4,0);J=p+(l*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|16|0,2,0);jw(da(p+(l*40|0)+16|0,4,0,0)|0|0,h|0,b|0)|0;h=0}else h=7;ea((da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+12|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+60|0,0|0,4,0);H=g;break}case 102:case 101:{l=da(f+(g*20|0)+8|0,4,0,0)|0|0;y=p+(l*40|0)|0;q=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;s=da(q|0,4,0,0)|0|0;q=q+27|0;if((da(q>>0|0,1,0,0)|0)&4){km(s,Wc);b=da(Wc|0,4,0,0)|0|0;if(b>>>0>(da(sb|0,4,0,0)|0|0)>>>0){b=d;d=e;h=n;be=1316;break c}}else{jm(s,Xc);H=Xc;b=da(H|0,4,0,0)|0|0;H=da(H+4|0,4,0,0)|0|0;J=da(sb|0,4,0,0)|0|0;I=((J|0)<0)<<31>>31;if((H|0)>(I|0)|(H|0)==(I|0)&b>>>0>J>>>0){b=d;d=e;h=n;be=1316;break c}ea(Wc|0,b|0,4,0)}if(eh(y,b>>>0>32?b:32)|0){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(p+(l*40|0)+12|0,b|0,4,0);b=p+(l*40|0)+8|0;ea(b|0,(da(b|0,2,0,1)|0)&48640|16|0,2,0);b=da(Wc|0,4,0,0)|0|0;h=da(p+(l*40|0)+16|0,4,0,0)|0|0;if(!((da(q>>0|0,1,0,0)|0)&4))h=Km(s,0,b,h,0)|0;else h=Ch(s,0,b,h)|0;ea(p+(l*40|0)+10>>0|0,1|0,1,0);s=y;H=g;break}case 103:{l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;m=l+25|0;if(da(m>>0|0,1,0,0)|0){b=d;d=e;h=A;e=g;be=700;break d}do if(!(da(l+26>>0|0,1,0,0)|0)){b=da(l+32|0,4,0,0)|0|0;if(b){J=da(b|0,4,0,0)|0|0;h=qc[(fa(da((da(J|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](b,Kd)|0;Lm(a,J);break}if((da((da(l|0,4,0,0)|0|0)+73>>0|0,1,0,0)|0|0)!=1){h=im(l)|0;if(h){b=d;d=e;be=1318;break c}if(da(m>>0|0,1,0,0)|0){b=d;d=e;h=A;e=g;be=708;break d}}jm(da(l|0,4,0,0)|0|0,Kd);h=0}else{I=l+48|0;h=da(I+4|0,4,0,0)|0|0;J=Kd;ea(J|0,da(I|0,4,0,0)|0|0,4,0);ea(J+4|0,h|0,4,0);h=0}while(0);J=Kd;s=da(J+4|0,4,0,0)|0|0;H=A;ea(H|0,da(J|0,4,0,0)|0|0,4,0);ea(H+4|0,s|0,4,0);s=A;H=g;break}case 108:{be=715;break}case 104:{b=d;d=e;h=A;e=g;be=711;break d}case 107:case 106:{ea(bc|0,(da(bc|0,4,0,0)|0|0)+1|0,4,0);be=715;break}case 105:{H=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(H|0,4,0,0)|0|0;ea(xd|0,0|0,4,0);h=Gm(h,xd)|0;J=da(xd|0,4,0,0)|0|0;ea(H+25>>0|0,J|0,1,0);ea(H+26>>0|0,0|0,1,0);ea(H+60|0,0|0,4,0);H=da(f+(g*20|0)+8|0,4,0,0)|0|0;s=A;H=(H|0)>0&(J|0)!=0?H+-1|0:g;break}case 7:case 6:{if(!(da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0)){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}else be=765;break}case 5:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(yd|0,0|0,4,0);m=da(b+56|0,4,0,0)|0|0;if(da(m+56>>0|0,1,0,0)|0){h=Vm(da(m+20|0,4,0,0)|0|0,yd)|0;be=766;break e}h=m+36|0;l=da(h|0,4,0,0)|0|0;J=l+4|0;ea(h|0,da(J|0,4,0,0)|0|0,4,0);ea(J|0,0|0,4,0);if(!((da(m+40|0,4,0,0)|0|0)!=0|(l|0)==0))lg(ee,l);ea(yd|0,(da(h|0,4,0,0)|0|0)==0&1|0,4,0);h=0;be=766;break}case 9:case 8:{be=765;break}case 110:case 109:{q=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;G=da(f+(g*20|0)+8|0,4,0,0)|0|0;h=da(q|0,4,0,0)|0|0;s=f+(g*20|0)+3|0;if((da(s>>0|0,1,0,0)|0)&1)ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);if(((da(p+(G*40|0)+8|0,2,0,0)|0)&16384)!=0?(Nd=Qg(p+(G*40|0)|0)|0,(Nd|0)!=0):0){b=d;d=e;f=Nd;h=n;be=1309;break c}v=da(q+56|0,4,0,0)|0|0;H=p+(G*40|0)+12|0;F=da(H|0,4,0,0)|0|0;if(!v){if(!((da(s>>0|0,1,0,0)|0)&16))b=0;else b=da(q+12|0,4,0,0)|0|0;h=Hm(h,da(p+(G*40|0)+16|0,4,0,0)|0|0,F,((F|0)<0)<<31>>31,10360,0,0,da(f+(g*20|0)+12|0,4,0,0)|0|0,b)|0;ea(q+60|0,0|0,4,0);s=A;H=g;break e}s=F;b=((F|0)<0)<<31>>31;q=0;do{q=q+1|0;s=lw(s|0,b|0,7)|0;b=C}while(((s|0)!=0|(b|0)!=0)&(q|0)<9);z=F+8|0;w=q+F|0;q=v+4|0;y=da(q|0,4,0,0)|0|0;do if(!y)h=0;else{if(!(da(v+40|0,4,0,0)|0)){s=v+44|0;x=da(s|0,4,0,0)|0|0;if((x|0)<=(y|0)?!((da(2265*4|0,4,0,0)|0|0)!=0?(x|0)>(da(v|0,4,0,0)|0|0):0):0){h=0;break}}else{J=da(v+48|0,4,0,0)|0|0;if(!((J|0)!=0&(J+z|0)>(y|0))){h=0;break}s=v+44|0}h=Nm(v)|0;ea(s|0,0|0,4,0);ea(v+48|0,0|0,4,0)}while(0);s=v+36|0;y=v+44|0;ea(y|0,(da(y|0,4,0,0)|0|0)+w|0,4,0);y=v+8|0;if((w|0)>(da(y|0,4,0,0)|0|0))ea(y|0,w|0,4,0);u=v+40|0;y=da(u|0,4,0,0)|0|0;if(!y){b=pg(z,((z|0)<0)<<31>>31)|0;if(!b){b=d;d=e;f=7;h=n;be=1309;break c}ea(b+4|0,da(s|0,4,0,0)|0|0,4,0)}else{B=v+48|0;x=da(B|0,4,0,0)|0|0;z=x+z|0;v=v+52|0;w=da(v|0,4,0,0)|0|0;if((z|0)>(w|0)){x=w;do x=x<<1;while((x|0)<(z|0));J=da(q|0,4,0,0)|0|0;x=(x|0)>(J|0)?J:x;x=(x|0)<(z|0)?z:x;y=qg(y,x,((x|0)<0)<<31>>31)|0;if(!y){b=d;d=e;f=7;h=n;be=1309;break c}q=y+((da(s|0,4,0,0)|0|0)-(da(u|0,4,0,0)|0|0))|0;ea(s|0,q|0,4,0);ea(u|0,y|0,4,0);ea(v|0,x|0,4,0);x=da(B|0,4,0,0)|0|0}else q=da(s|0,4,0,0)|0|0;ea(B|0,x+(F+15&-8)|0,4,0);ea(y+(x+4)|0,q-y|0,4,0);b=y+x|0}jw(b+8|0,da(p+(G*40|0)+16|0,4,0,0)|0|0,da(H|0,4,0,0)|0|0)|0;ea(b|0,da(H|0,4,0,0)|0|0,4,0);ea(s|0,b|0,4,0);s=A;H=g;break}case 112:{b=d;d=e;e=g;be=801;break d}case 111:{l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;b=da(l|0,4,0,0)|0|0;ea(rd|0,da(l+8|0,4,0,0)|0|0,4,0);ea(cc|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,2,0);ea(dc>>0|0,0|0,1,0);ea(ec|0,p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0,4,0);h=Bm(b,rd,0,0,0,zd)|0;if(!(da(zd|0,4,0,0)|0|h))h=Im(b)|0;ea(l+60|0,0|0,4,0);s=A;H=g;break}case 116:case 115:case 114:case 113:{h=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(sd|0,da(h+8|0,4,0,0)|0|0,4,0);ea(nc|0,da(f+(g*20|0)+16|0,4,0,0)|0|0,2,0);ea(O>>0|0,((y&255)<115)<<31>>31|0,1,0);ea(P|0,p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0,4,0);J=Ld;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);jm(da(h|0,4,0,0)|0|0,Ld);J=Ld;b=da(J|0,4,0,0)|0|0;J=iw(b|0,da(J+4|0,4,0,0)|0|0,-1,-1)|0;I=C;if(!(I>>>0>0|(I|0)==0&J>>>0>2147483646)){ea(Q|0,0|0,2,0);ea(R|0,ee|0,4,0);ea(S|0,0|0,4,0);b=mm(da(h|0,4,0,0)|0|0,0,b,1,jd)|0;if(!b){h=Jm(da(T|0,4,0,0)|0|0,da(U|0,4,0,0)|0|0,sd,0)|0;if(((da(Q|0,2,0,0)|0)&9312)==0&(da(S|0,4,0,0)|0|0)==0)b=0;else{Pg(jd);b=0}}else h=0}else{ea(de|0,68730|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);b=11;h=0}if(((((da(s>>0|0,1,0,0)|0)&1)==0?h+1|0:0-h|0)|0)>0){s=A;H=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=b}else{s=A;H=g;h=b}break}case 117:{E=A+8|0;ea(E|0,1|0,2,0);if((da(Sb|0,4,0,0)|0|0)>((da(V|0,4,0,0)|0|0)+1|0)){b=d;d=e;h=n;be=832;break c}D=da(f+(g*20|0)+12|0,4,0,0)|0|0;B=da((da(Qd|0,4,0,0)|0|0)+(D<<4)+4|0,4,0,0)|0|0;F=f+(g*20|0)+4|0;x=da(F|0,4,0,0)|0|0;s=B+4|0;z=da(s|0,4,0,0)|0|0;ea(z+4|0,da(B|0,4,0,0)|0|0,4,0);ea(de|0,0|0,4,0);do if(!(da(z+8|0,4,0,0)|0)){h=cl(z,x,de,0)|0;if(!h){h=Wm(B,x,0)|0;if(h){b=da(de|0,4,0,0)|0|0;if(!b){q=0;break}Ag(da(b+68|0,4,0,0)|0|0);q=0;break}if(x>>>0<=1){b=da(de|0,4,0,0)|0|0;ol(b,9);if(!b){h=0;q=0;break}Ag(da(b+68|0,4,0,0)|0|0);h=0;q=0;break}if(!(da(z+17>>0|0,1,0,0)|0)){b=da(de|0,4,0,0)|0|0;h=Xm(da(b+52|0,4,0,0)|0|0,b,da(b+72|0,4,0,0)|0|0)|0;if(!b){q=0;break}Ag(da(b+68|0,4,0,0)|0|0);q=0;break}y=da(s|0,4,0,0)|0|0;ea(y+4|0,da(B|0,4,0,0)|0|0,4,0);y=da((da(y+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;y=(da(y+53>>0|0,1,0,1)|0)<<16|(da(y+52>>0|0,1,0,1)|0)<<24|(da(y+54>>0|0,1,0,1)|0)<<8|(da(y+55>>0|0,1,0,1)|0);s=da(de|0,4,0,0)|0|0;if((y|0)==(x|0)){h=Xm(da(s+52|0,4,0,0)|0|0,s,da(s+72|0,4,0,0)|0|0)|0;if(s)Ag(da(s+68|0,4,0,0)|0|0);if(!h)q=0;else{q=0;break}}else{if(s)Ag(da(s+68|0,4,0,0)|0|0);h=cl(z,y,Ld,0)|0;if(h){q=0;break}s=da(Ld|0,4,0,0)|0|0;h=Ym(z,s,1,0,x,0)|0;if(s)Ag(da(s+68|0,4,0,0)|0|0);if(h){q=0;break}ea(Ld|0,0|0,4,0);h=cl(z,y,Ld,0)|0;s=da(Ld|0,4,0,0)|0|0;if(h){if(!s){q=0;break}}else h=Xm(da(s+52|0,4,0,0)|0|0,s,da(s+72|0,4,0,0)|0|0)|0;Ag(da(s+68|0,4,0,0)|0|0);if(!h)q=y;else{q=0;break}}w=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(z+32|0,4,0,0)|0|0)>>>0)|0;v=w+1|0;x=z+36|0;while(1){s=y+-1|0;if((s|0)==(v|0)){y=s;continue}if(s>>>0<2)u=0;else{u=y+-3|0;u=u-((u>>>0)%(((((da(x|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;u=((u+1|0)==(w|0)?3:2)+u|0}if((u|0)==(s|0))y=s;else break}h=Cg(B,4,s)|0}else q=0}else{h=262;q=0}while(0);ea(E|0,4|0,2,0);J=A;ea(J|0,q|0,4,0);ea(J+4|0,((q|0)<0)<<31>>31|0,4,0);if((h|0)==0&(q|0)!=0){b=d;z=D;s=F;d=e;h=A;e=g;be=865;break d}else{s=A;H=g}break}case 118:{ea(Zc|0,0|0,4,0);b=f+(g*20|0)+12|0;h=Wm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+8|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,da(f+(g*20|0)+4|0,4,0,0)|0|0,(da(b|0,4,0,0)|0|0)!=0?Zc:0)|0;b=da(b|0,4,0,0)|0|0;if((b|0)!=0?(Bc=da(Zc|0,4,0,0)|0|0,ea(nb|0,(da(nb|0,4,0,0)|0|0)+Bc|0,4,0),(b|0)>0):0){s=p+(b*40|0)|0;H=s;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,Bc|0,((Bc|0)<0)<<31>>31|0)|0;ea(s|0,H|0,4,0);ea(s+4|0,C|0,4,0);s=A;H=g}else{s=A;H=g}break}case 121:case 120:{ea(od|0,0|0,4,0);h=zm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,od,y<<24>>24==121?1:2)|0;s=da(od|0,4,0,0)|0|0;H=A;ea(H|0,s|0,4,0);ea(H+4|0,((s|0)<0)<<31>>31|0,4,0);s=A;H=g;break}case 119:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(b+56|0,4,0,0)|0|0;if(h){b=d;d=e;y=A;e=g;be=878;break d}h=da(b|0,4,0,0)|0|0;s=A;H=g;h=Wm(da(h|0,4,0,0)|0|0,da(h+60|0,4,0,0)|0|0,0)|0;break}case 123:{s=A;H=g;h=$m(ee,da(f+(g*20|0)+4|0,4,0,0)|0|0)|0;break}case 124:{b=d;d=e;h=A;e=g;be=886;break d}case 122:{b=d;d=e;y=A;e=g;be=881;break d}case 126:{b=d;d=e;h=A;e=g;be=895;break d}case 125:{b=d;d=e;y=A;e=g;be=887;break d}case 127:{b=d;d=e;h=A;be=903;break d}case 128:{b=d;d=e;y=A;be=947;break d}case 129:{m=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(m*40|0)|0;m=p+(m*40|0)+8|0;b=da(m|0,2,0,0)|0|0;do if(b&32){u=da(l|0,4,0,0)|0|0;h=u+26|0;b=da(h|0,2,0,0)|0|0;if(!(b&2)){if(!(b&1)){b=u+8|0;ea(b|0,jn(da(b|0,4,0,0)|0|0)|0|0,4,0);b=da(h|0,2,0,0)|0|0}ea(h|0,b&65535|2|0,2,0)}s=u+8|0;q=da(s|0,4,0,0)|0|0;if(!q){b=da(m|0,2,0,0)|0|0;break}m=q;l=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;J=da(q+8|0,4,0,0)|0|0;ea(s|0,J|0,4,0);if(!J)Yk(u);h=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312)){be=b;ea(be|0,l|0,4,0);ea(be+4|0,m|0,4,0);ea(h|0,4|0,2,0);h=0;be=19;break e}else{Yg(b,l,m);h=0;be=19;break e}}while(0);if(!(b&9312))ea(m|0,1|0,2,0);else ug(l);g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=0;be=19;break}case 130:{b=d;d=e;h=A;be=966;break d}case 131:{b=d;d=e;h=A;e=g;be=993;break d}case 132:{b=d;d=e;h=A;e=g;be=1009;break d}case 134:{b=d;d=e;y=A;e=g;be=1010;break d}case 135:{b=d;d=e;h=A;e=g;be=1015;break d}case 136:{b=d;d=e;e=g;be=1022;break d}case 137:{b=d;d=e;h=A;e=g;be=1028;break d}case 138:{b=d;d=e;h=A;e=g;be=1030;break d}case 139:{b=d;d=e;y=A;e=g;be=1032;break d}case 140:{b=d;d=e;h=A;e=g;be=1034;break d}case 141:{b=d;d=e;h=A;e=g;be=1036;break d}case 10:{J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;b=J&255;h=da(ub|0,4,0,0)|0|0;if(J<<24>>24){l=0;m=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){ea(h+(l<<2)|0,m|0,4,0);l=l+1|0;if((l|0)>=(b|0))break;else m=m+40|0}}J=da(f+(g*20|0)+16|0,4,0,0)|0|0;ea(za|0,J|0,4,0);I=da(f+(g*20|0)+12|0,4,0,0)|0|0;ea(Aa|0,p+(I*40|0)|0,4,0);I=p+(I*40|0)+12|0;ea(I|0,(da(I|0,4,0,0)|0|0)+1|0,4,0);ea(Ba|0,1|0,2,0);ea(Ca|0,ee|0,4,0);ea(Da|0,0|0,4,0);ea(Oc|0,Fd|0,4,0);ea(Ea|0,0|0,4,0);ea(Fa|0,a|0,4,0);ea(Ga|0,g|0,4,0);ea(Ha>>0|0,0|0,1,0);lc[(fa(da(J+16|0,4,0,0)|0|0,63|0)|0)&63](Oc,b,h);if(!(da(Ea|0,4,0,0)|0))h=0;else{ea(de|0,Rg(Fd,1)|0|0,4,0);ch(ce,ee,10344,de);h=da(Ea|0,4,0,0)|0|0}do if((da(Ha>>0|0,1,0,0)|0|0)!=0?(Fc=da(f+((g+-1|0)*20|0)+4|0,4,0,0)|0|0,(Fc|0)!=0):0){b=p+(Fc*40|0)|0;l=p+(Fc*40|0)+8|0;if(!((da(l|0,2,0,0)|0)&9312)){J=b;ea(J|0,1|0,4,0);ea(J+4|0,0|0,4,0);ea(l|0,4|0,2,0);break}else{Yg(b,1,0);break}}while(0);if(((da(Ba|0,2,0,0)|0)&9312)==0&(da(Da|0,4,0,0)|0|0)==0){s=A;H=g}else{Pg(Fd);s=A;H=g}break}case 11:{ea(Kc|0,0|0,4,0);ea(Ia|0,-1|0,4,0);ea(Ja|0,-1|0,4,0);b=Vh(ee,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,Ja,Ia)|0;if((b|0)==5){ea(Kc|0,1|0,4,0);b=0}l=0;m=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;while(1){s=da(Kc+(l<<2)|0,4,0,0)|0|0;q=((s|0)<0)<<31>>31;h=m+8|0;if(!((da(h|0,2,0,0)|0)&9312)){J=m;ea(J|0,s|0,4,0);ea(J+4|0,q|0,4,0);ea(h|0,4|0,2,0)}else Yg(m,s,q);l=l+1|0;if((l|0)==3){s=A;H=g;h=b;break}else m=m+40|0}break}case 142:{s=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(s*40|0)|0;h=Xk(l,da(f+(g*20|0)+16|0,4,0,0)|0|0)|0;if(h){ea(de|0,Rg(l,1)|0|0,4,0);ch(ce,ee,10344,de)}Xl(l,qb)|0;m=da(p+(s*40|0)+8|0,2,0,1)|0|0;if(m&18){b=da(p+(s*40|0)+12|0,4,0,0)|0|0;if(m&16384)b=(da(l|0,4,0,0)|0|0)+b|0;if((b|0)>(da((da(p+(s*40|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else{s=A;H=g}}else{s=A;H=g}break}case 12:{b=da(f+(g*20|0)+12|0,4,0,0)|0|0;A=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;x=da(da(A+4|0,4,0,0)|0|0,4,0,0)|0|0;y=da(x+5>>0|0,1,0,0)|0|0;w=y&255;b=(b|0)==-1?w:b;do if((da(x+16>>0|0,1,0,1)|0|0)>2)b=w;else if((da(da(x+64|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(J=x+72|0,I=da(J+4|0,4,0,0)|0|0,(I|0)>0|(I|0)==0&(da(J|0,4,0,0)|0|0)>>>0>0):0){b=w;break}while(0);if(!(da(x+15>>0|0,1,0,0)|0))q=da(x+168|0,4,0,0)|0|0;else q=10360;z=(b|0)==5;if(z)if(q){s=q;while(1)if(!(da(s>>0|0,1,0,0)|0))break;else s=s+1|0;if(s-q&1073741823){s=da(da(x+60|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(x+4>>0|0,1,0,0)|0))if((da(s|0,4,0,0)|0|0)>1?!((da(s+52|0,4,0,0)|0|0)==0|(b|0)==(w|0)):0)be=1077;else{b=w;h=0}else be=1076}else{b=w;h=0}}else{b=w;h=0}else be=1076;if((be|0)==1076){be=0;if((b|0)==(w|0)){b=w;h=0}else be=1077}do if((be|0)==1077){be=0;s=y<<24>>24==5;if(s|z){if(!(da(Zd>>0|0,1,0,0)|0)){b=d;f=z;d=e;h=n;be=1080;break c}if((da(Sb|0,4,0,0)|0|0)>1){b=d;f=z;d=e;h=n;be=1080;break c}if(!s){if(y<<24>>24==4)rn(x,2)|0}else{y=x+208|0;if(!(da(y|0,4,0,0)|0)){ea(Sc|0,0|0,4,0);h=el(x,1)|0;if(h)break;h=da(x|0,4,0,0)|0|0;h=oc[(fa(da(h+32|0,4,0,0)|0|0,31|0)|0)&31](h,da(x+212|0,4,0,0)|0|0,0,Sc)|0;if((h|0)==0&(da(Sc|0,4,0,0)|0|0)!=0)h=on(x)|0;if(h)break;if(da(y|0,4,0,0)|0)be=1088}else be=1088;if((be|0)==1088){be=0;h=pn(x)|0;if(h)break;h=qn(da(y|0,4,0,0)|0|0,da(x+9>>0|0,1,0,1)|0|0,da(x+152|0,4,0,0)|0|0,da(x+200|0,4,0,0)|0|0)|0;ea(y|0,0|0,4,0);if(h)break}rn(x,b)|0}h=Eg(A,z?2:1)|0}else h=0}while(0);b=rn(x,(h|0)==0?b:w)|0;s=da(f+(g*20|0)+8|0,4,0,0)|0|0;y=p+(s*40|0)|0;ea(p+(s*40|0)+8|0,2562|0,2,0);if((b|0)==6){ea(p+(s*40|0)+16|0,0|0,4,0);b=0}else{l=da(32216+(b<<2)|0,4,0,0)|0|0;ea(p+(s*40|0)+16|0,l|0,4,0);b=l;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-l&1073741823}ea(p+(s*40|0)+12|0,b|0,4,0);ea(p+(s*40|0)+10>>0|0,1|0,1,0);Xl(y,qb)|0;s=y;H=g;break}case 13:{if(!(da(Zd>>0|0,1,0,0)|0)){b=d;d=e;h=n;be=1101;break c}if((da(Ka|0,4,0,0)|0|0)>1){b=d;d=e;h=n;be=1103;break c}D=da(Mb|0,4,0,0)|0|0;m=da(ob|0,4,0,0)|0|0;l=da(pb|0,4,0,0)|0|0;b=da(La|0,4,0,0)|0|0;ea(Mb|0,D&-2762753|2107392|0,4,0);ea(La|0,0|0,4,0);B=da((da(Qd|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;H=B+4|0;z=da((da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)+15>>0|0,1,0,0)|0|0;y=da(Nb|0,4,0,0)|0|0;h=sn(ee,ce,(da(Tb>>0|0,1,0,0)|0|0)==2?42432:42464)|0;x=da(Nb|0,4,0,0)|0|0;if((x|0)>(y|0))E=(da(Qd|0,4,0,0)|0|0)+(x+-1<<4)|0;else E=0;i:do if(!h){F=da((da(Qd|0,4,0,0)|0|0)+(x+-1<<4)+4|0,4,0,0)|0|0;tn(F)|0;G=da(H|0,4,0,0)|0|0;ea(G+4|0,da(B|0,4,0,0)|0|0,4,0);G=(da(G+32|0,4,0,0)|0|0)-(da(G+36|0,4,0,0)|0|0)|0;h=sn(ee,ce,42488)|0;if(!h){h=sn(ee,ce,42528)|0;if(!h){h=xg(B,2)|0;if(!h){y=da(H|0,4,0,0)|0|0;if((da((da(y|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)==5)ea(Ma|0,0|0,4,0);if(!(wg(F,da(y+32|0,4,0,0)|0|0,G,0)|0)){if(z<<24>>24==0?(wg(F,da(Ma|0,4,0,0)|0|0,G,0)|0)!=0:0){h=7;break}if(da($d>>0|0,1,0,0)|0){h=7;break}y=da(Na>>0|0,1,0,0)|0|0;do if(y<<24>>24>-1)y=y<<24>>24;else{y=da(H|0,4,0,0)|0|0;ea(y+4|0,da(B|0,4,0,0)|0|0,4,0);if(!(da(y+17>>0|0,1,0,0)|0)){y=0;break}y=(da(y+18>>0|0,1,0,0)|0|0)==0?1:2}while(0);un(F,y)|0;h=vn(ee,ce,42536)|0;if(h)break;h=vn(ee,ce,42688)|0;if(h)break;h=vn(ee,ce,42792)|0;if(h)break;h=vn(ee,ce,42912)|0;if(h)break;h=vn(ee,ce,43112)|0;if(h)break;h=vn(ee,ce,43232)|0;if(h)break;h=sn(ee,ce,43392)|0;if(!h)y=0;else break;do{h=da(43576+y>>0|0,1,0,1)|0|0;vm(B,h,Uc);h=Cg(F,h,(da(43576+(y|1)>>0|0,1,0,1)|0|0)+(da(Uc|0,4,0,0)|0|0)|0)|0;y=y+2|0;if(h)break i}while((y|0)<10);w=da(H|0,4,0,0)|0|0;ea(w+4|0,da(B|0,4,0,0)|0|0,4,0);y=da(F|0,4,0,0)|0|0;z=F+4|0;x=da(z|0,4,0,0)|0|0;ea(x+4|0,y|0,4,0);w=da((da(w|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;v=da(w|0,4,0,0)|0|0;if(v){J=da(x+32|0,4,0,0)|0|0;J=rw(da(x+44|0,4,0,0)|0|0,0,J|0,((J|0)<0)<<31>>31|0)|0;h=Yc;ea(h|0,J|0,4,0);ea(h+4|0,C|0,4,0);h=$b[(fa(da(v+40|0,4,0,0)|0|0,63|0)|0)&63](w,11,Yc)|0;h=(h|0)==12?0:h;if(h)break;y=da(F|0,4,0,0)|0|0}I=Mc+0|0;J=I+48|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));ea(Oa|0,y|0,4,0);ea(Pa|0,F|0,4,0);ea(Qa|0,B|0,4,0);ea(Ra|0,1|0,4,0);fd(Mc,2147483647)|0;h=gd(Mc)|0;if(h){s=da(da((da(Qa|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;if(da(s+15>>0|0,1,0,0)|0)break;if(da(s+12>>0|0,1,0,0)|0)break;wn(s);break}h=(da(H|0,4,0,0)|0|0)+22|0;ea(h|0,(da(h|0,2,0,1)|0)&65533|0,2,0);h=tn(F)|0;if(h)break;y=da(z|0,4,0,0)|0|0;ea(y+4|0,da(F|0,4,0,0)|0|0,4,0);if(!(da(y+17>>0|0,1,0,0)|0))u=0;else u=(da(y+18>>0|0,1,0,0)|0|0)==0?1:2;un(B,u)|0;h=wg(B,da((da(z|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,G,1)|0}else h=7}}}}while(0);ea(Mb|0,D|0,4,0);ea(ob|0,m|0,4,0);ea(pb|0,l|0,4,0);ea(La|0,b|0,4,0);wg(B,-1,-1,1)|0;ea(Zd>>0|0,1|0,1,0);if(E){J=E+4|0;Ll(da(J|0,4,0,0)|0|0);ea(J|0,0|0,4,0);ea(E+12|0,0|0,4,0)}Dg(ee);s=A;H=g;break}case 143:{J=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;x=da(J+4|0,4,0,0)|0|0;ea(x+4|0,da(J|0,4,0,0)|0|0,4,0);if(!(da(x+17>>0|0,1,0,0)|0)){b=d;d=e;h=A;be=1157;break d}u=x+44|0;w=da(u|0,4,0,0)|0|0;q=x+12|0;s=da((da(q|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;s=(da(s+37>>0|0,1,0,1)|0)<<16|(da(s+36>>0|0,1,0,1)|0)<<24|(da(s+38>>0|0,1,0,1)|0)<<8|(da(s+39>>0|0,1,0,1)|0);v=Dl(x,w,s)|0;if(w>>>0<v>>>0){b=d;d=e;h=n;be=1145;break c}if(!s){b=d;d=e;h=A;be=1157;break d}y=x+8|0;b=da(y|0,4,0,0)|0|0;do if(b){s=b;do{if(s){be=1150;break}s=da(2*4|0,4,0,0)|0|0}while((s|0)!=0);if((be|0)==1150){be=0;h=El(s,0,0)|0;if(h)break;b=da(y|0,4,0,0)|0|0}if(b){do{J=b+72|0;ea(J>>0|0,(da(J>>0|0,1,0,1)|0)&251|0,1,0);b=da(b+8|0,4,0,0)|0|0}while((b|0)!=0);be=1154}else be=1154}else be=1154;while(0);if((be|0)==1154){be=0;h=Fl(x,v,w,0)|0;if(!h){h=Fg(da((da(q|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;I=da((da(q|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;J=da(u|0,4,0,0)|0|0;ea(I+28>>0|0,J>>>24|0,1,0);ea(I+29>>0|0,J>>>16|0,1,0);ea(I+30>>0|0,J>>>8|0,1,0);ea(I+31>>0|0,J|0,1,0)}}if((h|0)==101){b=d;d=e;h=A;be=1157;break d}else{s=A;H=g}break}case 145:{b=da(f+(g*20|0)+12|0,4,0,0)|0|0;if((b&255|0)==0?((da(Mb|0,4,0,0)|0)&16384|0)!=0:0){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}s=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;q=da(f+(g*20|0)+8|0,4,0,0)|0|0;if(!(da(s+9>>0|0,1,0,0)|0)){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}l=b+1&255;m=s+4|0;ea((da(m|0,4,0,0)|0|0)+4|0,da(s|0,4,0,0)|0|0,4,0);h=al(s,q,l)|0;if(!h){b=d;d=e;h=A;e=g;be=1166;break d}if((h&255|0)!=6){b=d;d=e;f=h;h=n;be=1309;break c}ea(de|0,da(f+(g*20|0)+16|0,4,0,0)|0|0,4,0);ch(ce,ee,42224,de);s=A;H=g;break}case 144:{b=d;d=e;h=A;e=g;be=1158;break d}case 146:{y=da(f+(g*20|0)+16|0,4,0,0)|0|0;l=da(Sa|0,4,0,0)|0|0;h=(l|0)>0;if(h?(da(Ta|0,4,0,0)|0|0)==0:0){h=6;be=1188}else be=1179;j:do if((be|0)==1179){be=0;if(!y){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}b=y+8|0;m=(da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)+56|0;if(da(m|0,4,0,0)|0){if(h){s=da(Ta|0,4,0,0)|0|0;q=0;do{if((da(s+(q<<2)|0,4,0,0)|0|0)==(y|0)){h=0;be=1188;break j}q=q+1|0}while((q|0)<(l|0))}h=xn(ee)|0;if(!h){h=kc[(fa(da(m|0,4,0,0)|0|0,127|0)|0)&127](da(b|0,4,0,0)|0|0)|0;if(!h){h=da(Sa|0,4,0,0)|0|0;ea(Sa|0,h+1|0,4,0);ea((da(Ta|0,4,0,0)|0|0)+(h<<2)|0,y|0,4,0);h=y+12|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);h=0}}else be=1188}else h=0}while(0);if((be|0)==1188){be=0;if(!y){s=A;H=g;break e}b=y+8|0}Lm(a,da(b|0,4,0,0)|0|0);s=A;H=g;break}case 147:{I=Dd+0|0;J=I+40|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));ea(Ua|0,ee|0,4,0);b=Zg(Dd,p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0)|0;h=Rg(Dd,1)|0;k:do if(h){l=Zh(ee,h,da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)|0,4,0,0)|0|0)|0;b=da(da(l+56|0,4,0,0)|0|0,4,0,0)|0|0;h=an(Xa,b,Pc)|0;if((h|0)!=0?(Hc=da(h+8|0,4,0,0)|0|0,(Hc|0)!=0):0){b=yn(ee,l,Hc,da((da(Hc|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,ce)|0;if(b)break;h=l+60|0;b=da(h|0,4,0,0)|0|0;if(!b){b=0;break}while(1){if((da(b|0,4,0,0)|0|0)==(ee|0))break;b=da(b+24|0,4,0,0)|0|0;if(!b){b=0;break k}}b=xn(ee)|0;if(b)break;b=da(h|0,4,0,0)|0|0;l:do if(!b)b=0;else while(1){if((da(b|0,4,0,0)|0|0)==(ee|0))break l;b=da(b+24|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);J=da(Sa|0,4,0,0)|0|0;ea(Sa|0,J+1|0,4,0);ea((da(Ta|0,4,0,0)|0|0)+(J<<2)|0,b|0,4,0);b=b+12|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=0;break}ea(de|0,b|0,4,0);ea(ce|0,th(ee,28320,de)|0|0,4,0);b=1}while(0);if(((da(Va|0,2,0,0)|0)&9312)==0&(da(Wa|0,4,0,0)|0|0)==0){s=A;H=g;h=b}else{Pg(Dd);s=A;H=g;h=b}break}case 148:{ea(V|0,(da(V|0,4,0,0)|0|0)+1|0,4,0);b=Zh(ee,da(f+(g*20|0)+16|0,4,0,0)|0|0,da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)|0,4,0,0)|0|0)|0;m:do if((b|0)!=0?(Ic=b+60|0,Jc=da(Ic|0,4,0,0)|0|0,(Jc|0)!=0):0){h=Jc;do{if((da((da(h+8|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)>0){h=6;break m}h=da(h+24|0,4,0,0)|0|0}while((h|0)!=0);b=Nk(ee,b)|0;l=b+8|0;h=kc[(fa(da((da(da(b+4|0,4,0,0)|0|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](da(l|0,4,0,0)|0|0)|0;if(!h){ea(l|0,0|0,4,0);ea(Ic|0,0|0,4,0);zn(b);h=0}}else h=0;while(0);ea(V|0,(da(V|0,4,0,0)|0|0)+-1|0,4,0);s=A;H=g;break}case 149:{b=d;d=e;h=A;e=g;be=1213;break d}case 150:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;s=da(f+(g*20|0)+12|0,4,0,0)|0|0;q=p+(s*40|0)|0;if(da(b+25>>0|0,1,0,0)|0){b=d;d=e;h=A;e=g;be=1226;break d}J=b+32|0;h=da(da(J|0,4,0,0)|0|0,4,0,0)|0|0;I=da(h|0,4,0,0)|0|0;ea(Bd+0|0,0|0,4,0);ea(Bd+4|0,0|0,4,0);ea(Bd+8|0,0|0,4,0);ea(Bd+12|0,0|0,4,0);ea(Bd+16|0,0|0,4,0);ea(Bd+20|0,0|0,4,0);ea(Bd+24|0,0|0,4,0);ea(Bd|0,q|0,4,0);l=p+(s*40|0)+8|0;ea(l|0,(da(l|0,2,0,1)|0)&48640|1|0,2,0);J=$b[(fa(da(I+44|0,4,0,0)|0|0,63|0)|0)&63](da(J|0,4,0,0)|0|0,Bd,da(f+(g*20|0)+8|0,4,0,0)|0|0)|0;Lm(a,h);h=da(Ya|0,4,0,0)|0|0;h=(h|0)==0?J:h;Xl(q,qb)|0;l=da(l|0,2,0,1)|0|0;if(l&18){b=da(p+(s*40|0)+12|0,4,0,0)|0|0;if(l&16384)b=(da(q|0,4,0,0)|0|0)+b|0;if((b|0)>(da((da(p+(s*40|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else{s=A;H=g}}else{s=A;H=g}break}case 14:{q=da(f+(g*20|0)+12|0,4,0,0)|0|0;s=q+1|0;v=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;y=da(v+32|0,4,0,0)|0|0;x=da(y|0,4,0,0)|0|0;w=da(x|0,4,0,0)|0|0;u=da(p+(s*40|0)|0,4,0,0)|0|0;q=da(p+(q*40|0)|0,4,0,0)|0|0;b=da(ub|0,4,0,0)|0|0;if((u|0)>0){h=0;do{J=h;h=h+1|0;ea(b+(J<<2)|0,p+((h+s|0)*40|0)|0,4,0)}while((h|0)!=(u|0))}h=sc[(fa(da(w+32|0,4,0,0)|0|0,31|0)|0)&31](y,q,da(f+(g*20|0)+16|0,4,0,0)|0|0,u,b)|0;Lm(a,x);if((h|0)==0?(kc[(fa(da(w+40|0,4,0,0)|0|0,127|0)|0)&127](y)|0)!=0:0)g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;ea(v+25>>0|0,0|0,1,0);s=A;H=g;break}case 151:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;if(da(b+25>>0|0,1,0,0)|0){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}b=b+32|0;l=da(b|0,4,0,0)|0|0;J=da(l|0,4,0,0)|0|0;h=da(J|0,4,0,0)|0|0;l=kc[(fa(da(h+36|0,4,0,0)|0|0,127|0)|0)&127](l)|0;Lm(a,J);if((l|0)==0?(kc[(fa(da(h+40|0,4,0,0)|0|0,127|0)|0)&127](da(b|0,4,0,0)|0|0)|0)!=0:0){h=0;be=19;break e}g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=l;be=19;break}case 15:{v=f+(g*20|0)+16|0;l=da((da(v|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(!l){b=d;d=e;f=6;h=n;be=1309;break c}b=da(l|0,4,0,0)|0|0;if(!b){b=d;d=e;f=6;h=n;be=1309;break c}x=da(f+(g*20|0)+8|0,4,0,0)|0|0;u=b+52|0;s=da(u|0,4,0,0)|0|0;if(!s){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}w=da(Za>>0|0,1,0,0)|0|0;y=da(ub|0,4,0,0)|0|0;if((x|0)>0){s=0;q=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;while(1){ea(y+(s<<2)|0,q|0,4,0);s=s+1|0;if((s|0)==(x|0))break;else q=q+40|0}s=da(u|0,4,0,0)|0|0}q=f+(g*20|0)+3|0;ea(Za>>0|0,da(q>>0|0,1,0,0)|0|0|0,1,0);h=oc[(fa(s|0,31|0)|0)&31](l,x,y,Ad)|0;ea(Za>>0|0,w|0,1,0);Lm(a,l);if(!h){if(da(f+(g*20|0)+4|0,4,0,0)|0){c=Ad;e=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;J=ge;ea(J|0,e|0,4,0);ea(J+4|0,c|0,4,0)}}else if((h&255|0)==19?(da((da(v|0,4,0,0)|0|0)+16>>0|0,1,0,0)|0|0)!=0:0){b=da(q>>0|0,1,0,0)|0|0;if(b<<24>>24==5)b=2;else if(b<<24>>24==4){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}ea(_d>>0|0,b|0,1,0);s=A;H=g;break e}ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);s=A;H=g;break}case 152:{b=da((da(f+(g*20|0)+16|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;h=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(h*40|0)|0;if((((da(p+(h*40|0)+8|0,2,0,0)|0)&2)!=0?(da(p+(h*40|0)+10>>0|0,1,0,0)|0|0)!=1:0)?(Pd=An(l,1)|0,(Pd|0)!=0):0){b=d;d=e;f=Pd;h=n;be=1309;break c}h=qc[(fa(da((da(b|0,4,0,0)|0|0)+76|0,4,0,0)|0|0,127|0)|0)&127](b,da(p+(h*40|0)+16|0,4,0,0)|0|0)|0;Lm(a,b);ea(Rd|0,(da(Rd|0,2,0,0)|0)&-9|0,2,0);s=A;H=g;break}case 153:{b=d;d=e;h=A;e=g;be=1257;break d}case 155:{b=d;d=e;be=1264;break d}case 154:{b=d;d=e;y=A;e=g;be=1258;break d}default:{b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}}while(0);n:do if((be|0)==57){be=0;m=A+8|0;ea(m|0,2562|0,2,0);ea(A+16|0,l|0,4,0);ea(A+12|0,b|0,4,0);ea(A+10>>0|0,Cc|0,1,0);if((da(f+(g*20|0)+3>>0|0,1,0,0)|0|0)!=0?(J=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0,!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)):0){ea(m|0,2576|0,2,0);s=A;H=g}else{s=A;H=g}}else if((be|0)==536){if((da(Rd|0,2,0,0)|0)&8){b=d;d=e;f=516;h=n;be=1309;break c}s=da(f+(g*20|0)+8|0,4,0,0)|0|0;x=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=da(Qd|0,4,0,0)|0|0;w=da(b+(x<<4)+4|0,4,0,0)|0|0;if(y<<24>>24==55){b=da((da(b+(x<<4)+12|0,4,0,0)|0|0)+76>>0|0,1,0,0)|0|0;if((b&255)<(da(Fb>>0|0,1,0,1)|0|0)){ea(Fb>>0|0,b|0,1,0);y=1}else y=1}else y=0;l=f+(g*20|0)+3|0;if((da(l>>0|0,1,0,0)|0)&4){J=p+(s*40|0)|0;b=Ug(J)|0;ea(J|0,b|0,4,0);ea(J+4|0,C|0,4,0);J=p+(s*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|4|0,2,0);if((b|0)<2){b=d;d=e;f=n;be=542;break c}else u=b}else u=s;h=f+(g*20|0)+1|0;s=da(h>>0|0,1,0,0)|0|0;if(s<<24>>24==-6){q=da(f+(g*20|0)+16|0,4,0,0)|0|0;s=(da(q+8|0,2,0,1)|0|0)+(da(q+6|0,2,0,1)|0|0)|0}else if(s<<24>>24==-14){s=da(f+(g*20|0)+16|0,4,0,0)|0|0;q=0}else{s=0;q=0}b=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,s,x,1)|0;if(!b){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(b+25>>0|0,1|0,1,0);J=b+27|0;ea(J>>0|0,da(J>>0|0,1,0,0)|0|8|0,1,0);ea(b+28|0,u|0,4,0);be=xm(w,u,y,q,da(b|0,4,0,0)|0|0)|0;ea(b+8|0,q|0,4,0);ea(J>>0|0,((da(h>>0|0,1,0,0)|0|0)!=-6&1)<<2&255|(da(J>>0|0,1,0,0)|0)&-5|0,1,0);h=be;be=548}else if((be|0)==715){be=0;B=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;J=da(B+56|0,4,0,0)|0|0;do if(!J){h=da(B|0,4,0,0)|0|0;b=pm(h)|0;if(!b)if(!(da(h+73>>0|0,1,0,0)|0)){l=1;b=0}else{l=0;b=Um(h)|0}else l=1;ea(B+26>>0|0,0|0,1,0);ea(B+60|0,0|0,4,0);ea(B+25>>0|0,l|0,1,0);if(!l){s=A;H=g;h=b;break n}}else{do if(!(da(J+56>>0|0,1,0,0)|0)){b=J+36|0;if(!(da(b|0,4,0,0)|0)){b=0;be=756}else{b=Mm(J+64|0,b)|0;be=755}}else{b=Nm(J)|0;if(!b){I=J+59|0;o:do if(!(da(I>>0|0,1,0,0)|0)){h=0;b=0}else{m=0;l=0;p:while(1){H=J+(m<<6)+64|0;ea(de|0,0|0,4,0);G=J+(m<<6)+92|0;s=da(G|0,4,0,0)|0|0;y=((s|0)<0)<<31>>31;do if((s|0)>16){x=16;w=0;u=0;while(1){x=hw(x|0,w|0,4)|0;w=C;v=u+1|0;if(!((w|0)<(y|0)|(w|0)==(y|0)&x>>>0<s>>>0)){w=u;break}else u=v}F=Ld;ea(F|0,0|0,4,0);ea(F+4|0,0|0,4,0);if((s|0)<17){be=726;break}h=Pm(16)|0;ea(de|0,h|0,4,0);y=(h|0)==0;x=da(G|0,4,0,0)|0|0;if(!((x|0)>0&(y^1))){b=y?7:0;break}D=(w|0)>0;F=0;E=0;do{ea(jd|0,0|0,4,0);b=x-F|0;b=Om(H,(b|0)<16?b:16,Ld,jd)|0;if(b){be=747;break p}b=Qm(H,da(jd|0,4,0,0)|0|0,id)|0;do if(D){x=1;y=1;do{y=y<<4;x=x+1|0}while((x|0)!=(v|0));if(!b){w=1;x=h}else{y=da(id|0,4,0,0)|0|0;be=743;break}while(1){z=(da(x+12|0,4,0,0)|0|0)+((((E|0)/(y|0)|0|0)%16|0)*56|0)+48|0;x=da(z|0,4,0,0)|0|0;if(!x){x=Pm(16)|0;if(!x){b=7;be=738;break}b=Qm(H,x,z)|0;if(b){be=738;break}x=da(z|0,4,0,0)|0|0}x=da(x+4|0,4,0,0)|0|0;w=w+1|0;if((w|0)>=(v|0)){be=740;break}else y=(y|0)/16|0}if((be|0)==738){y=da(id|0,4,0,0)|0|0;be=743;break}else if((be|0)==740){y=da(id|0,4,0,0)|0|0;be=742;break}}else{y=da(id|0,4,0,0)|0|0;if(!b){x=h;be=742}else be=743}while(0);if((be|0)==742){be=0;ea((da(x+12|0,4,0,0)|0|0)+(((E|0)%16|0)*56|0)+48|0,y|0,4,0);b=0}else if((be|0)==743){be=0;Rm(y)}E=E+1|0;F=F+16|0;x=da(G|0,4,0,0)|0|0}while((F|0)<(x|0)&(b|0)==0)}else{be=Ld;ea(be|0,0|0,4,0);ea(be+4|0,0|0,4,0);be=726}while(0);if((be|0)==726){be=0;b=Om(H,s,Ld,de)|0;h=da(de|0,4,0,0)|0|0}m=m+1|0;if(b){be=746;break}if((m|0)>=(da(I>>0|0,1,0,1)|0|0)){b=0;break o}else l=h}if((be|0)==746)Sm(h);else if((be|0)==747)Sm(h);Sm(l);h=0}while(0);if(!b){b=Tm(J+64|0,h)|0;ea(J+20|0,h|0,4,0);if(!b){b=0;be=755;break}else h=0}Sm(h);be=755}else be=756}while(0);if((be|0)==755){be=0;ea(B+25>>0|0,0|0,1,0);s=A;H=g;h=b;break n}else if((be|0)==756){be=0;ea(B+25>>0|0,1|0,1,0);break}}while(0);s=A;H=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=b}else if((be|0)==765){h=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(yd|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,4,0);b=h;h=qc[(fa(da(f+(g*20|0)+16|0,4,0,0)|0|0,127|0)|0)&127](da(h|0,4,0,0)|0|0,yd)|0;be=766}while(0);do if((be|0)==548){be=0;ea((da(b|0,4,0,0)|0|0)+74>>0|0,(da(l>>0|0,1,0,1)|0)&3|0,1,0);s=A;H=g}else if((be|0)==766){ea(b+60|0,0|0,4,0);b=b+25|0;if(!(da(yd|0,4,0,0)|0)){ea(b>>0|0,0|0,1,0);be=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;g=a+((da(f+(g*20|0)+3>>0|0,1,0,1)|0)<<2)+108|0;ea(g|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);g=be;be=19;break}else{ea(b>>0|0,1|0,1,0);be=19;break}}while(0);if((be|0)==19){be=0;if(da(vc|0,4,0,0)|0){h=ce;b=d;d=n;break b}b=da(Wd|0,4,0,0)|0|0;if(!((b|0)==0|d>>>0<o>>>0)){o=da(pc|0,4,0,0)|0|0;if(!(kc[(fa(b|0,127|0)|0)&127](da(Sd|0,4,0,0)|0|0)|0)){o=o+d-((d>>>0)%(o>>>0)|0)|0;s=A;H=g}else{b=d;f=9;d=n;be=1311;break a}}else{s=A;H=g}}g=H+1|0;if(!h){b=d;h=s}else{b=d;f=h;d=n;be=1311;break a}}q:switch(be|0){case 22:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;ea(p+(G*40|0)+8|0,4|0,2,0);G=p+(G*40|0)|0;ea(G|0,g|0,4,0);ea(G+4|0,((g|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break}case 23:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;e=da(p+(G*40|0)|0,4,0,0)|0|0;ea(p+(G*40|0)+8|0,128|0,2,0);G=p;H=f;I=K;J=L;break}case 24:{be=0;e=da(f+(g*20|0)+4|0,4,0,0)|0|0;h=p+(e*40|0)|0;G=(da(f+(g*20|0)+12|0,4,0,0)|0|0)+-1|0;H=h;ea(H|0,G|0,4,0);ea(H+4|0,((G|0)<0)<<31>>31|0,4,0);ea(p+(e*40|0)+8|0,4|0,2,0);e=da(f+(g*20|0)+8|0,4,0,0)|0|0;G=p;H=f;I=K;J=L;e=(e|0)==0?g:e+-1|0;break}case 25:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;e=(da(f+((da(p+(G*40|0)|0,4,0,0)|0|0)*20|0)+8|0,4,0,0)|0|0)+-1|0;ea(p+(G*40|0)+8|0,128|0,2,0);G=p;H=f;I=K;J=L;break}case 26:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;ea(p+(G*40|0)+8|0,4|0,2,0);G=p+(G*40|0)|0;e=da(G|0,4,0,0)|0|0;ea(G|0,g|0,4,0);ea(G+4|0,((g|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;break}case 27:{be=0;if(!((da(p+((da(f+(e*20|0)+12|0,4,0,0)|0|0)*40|0)+8|0,2,0,0)|0)&1)){G=p;H=f;I=K;J=L}else be=28;break}case 44:{be=0;G=da(f+(e*20|0)+4|0,4,0,0)|0|0;H=h;ea(H|0,G|0,4,0);ea(H+4|0,((G|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;break}case 45:{be=0;I=da(f+(e*20|0)+16|0,4,0,0)|0|0;G=da(I+4|0,4,0,0)|0|0;H=h;ea(H|0,da(I|0,4,0,0)|0|0,4,0);ea(H+4|0,G|0,4,0);G=p;H=f;I=K;J=L;break}case 46:{be=0;ea(h+8|0,8|0,2,0);ea(h|0,+(+(+da(da(f+(e*20|0)+16|0,4,0,0)|0|0,8,1,0))),8,1);G=p;H=f;I=K;J=L;break}case 60:{be=0;y=(da(f+(e*20|0)+12|0,4,0,0)|0|0)-(da(f+(e*20|0)+8|0,4,0,0)|0|0)|0;g=(da(f+(e*20|0)+4|0,4,0,0)|0|0)!=0?257:1;ea(h+8|0,g|0,2,0);if((y|0)>0){m=y;q=h;do{l=q+48|0;q=q+40|0;if(!((da(l|0,2,0,0)|0)&9312))ea(l|0,1|0,2,0);else ug(q);ea(l|0,g|0,2,0);m=m+-1|0}while((m|0)>0);G=p;H=f;I=K;J=L;h=h+(y*40|0)|0}else{G=p;H=f;I=K;J=L}break}case 65:{be=0;h=da(f+(e*20|0)+4|0,4,0,0)|0|0;G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&65406|1|0,2,0);G=p;H=f;I=K;J=L;h=p+(h*40|0)|0;break}case 66:{be=0;Wg(h,da(f+(e*20|0)+16|0,4,0,0)|0|0,da(f+(e*20|0)+4|0,4,0,0)|0|0,0,0)|0;ea(h+10>>0|0,Cc|0,1,0);G=p;H=f;I=K;J=L;break}case 67:{be=0;s=(da(f+(e*20|0)+4|0,4,0,0)|0|0)+-1|0;q=da(tb|0,4,0,0)|0|0;m=q+(s*40|0)|0;l=da(q+(s*40|0)+8|0,2,0,1)|0|0;if(l&18){g=da(q+(s*40|0)+12|0,4,0,0)|0|0;if(l&16384)g=(da(m|0,4,0,0)|0|0)+g|0;if((g|0)>(da((da(q+(s*40|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){g=e;h=n;be=1316;break c}}Yl(h,m,2048);G=p;H=f;I=K;J=L;break}case 72:{be=0;g=da(f+(e*20|0)+12|0,4,0,0)|0|0;l=da(f+(e*20|0)+8|0,4,0,0)|0|0;y=g+l|0;h=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;l=p+(l*40|0)|0;while(1){Zl(l,h);g=g+-1|0;if(!g)break;else{h=h+40|0;l=l+40|0}}G=p;H=f;I=K;J=L;h=p+(y*40|0)|0;break}case 74:{be=0;e=da(f+(g*20|0)+12|0,4,0,0)|0|0;h=p+((da(f+(g*20|0)+4|0,4,0,0)|0|0)*40|0)|0;y=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){Yl(y,h,4096);if(((da(y+8|0,2,0,0)|0)&4096)!=0?(Ul(y)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(!e){G=p;H=f;I=K;J=L;h=y;e=g;break q}e=e+-1|0;h=h+40|0;y=y+40|0}}case 79:{be=0;h=p+((da(f+(e*20|0)+8|0,4,0,0)|0|0)*40|0)|0;Yl(h,p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0,4096);G=p;H=f;I=K;J=L;break}case 94:{be=0;z=da(f+(g*20|0)+4|0,4,0,0)|0|0;y=p+(z*40|0)|0;A=da(f+(g*20|0)+8|0,4,0,0)|0|0;x=p+(A*40|0)|0;B=da(f+(g*20|0)+12|0,4,0,0)|0|0;h=p+(B*40|0)|0;w=p+(z*40|0)+8|0;u=da(w|0,2,0,0)|0|0;v=p+(A*40|0)+8|0;s=da(v|0,2,0,0)|0|0;if((s|u)&1){e=p+(B*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);G=p;H=f;I=K;J=L;e=g;break}else{ug(h);G=p;H=f;I=K;J=L;e=g;break}}if(u&16384){if(Qg(y)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}s=da(v|0,2,0,0)|0|0}if((s&16384)!=0?(Qg(x)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(((da(w|0,2,0,0)|0)&18)==0?(am(y,Cc,0)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(((da(v|0,2,0,0)|0)&18)==0?(am(x,Cc,0)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}u=p+(z*40|0)+12|0;q=p+(A*40|0)+12|0;e=(da(q|0,4,0,0)|0|0)+(da(u|0,4,0,0)|0|0)|0;if((e|0)>(da(sb|0,4,0,0)|0|0)){h=n;be=1316;break c}l=(B|0)==(A|0);if(dh(h,e+2|0,l&1)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}m=p+(B*40|0)+8|0;ea(m|0,(da(m|0,2,0,1)|0)&48640|2|0,2,0);s=p+(B*40|0)+16|0;if(!l)jw(da(s|0,4,0,0)|0|0,da(p+(A*40|0)+16|0,4,0,0)|0|0,da(q|0,4,0,0)|0|0)|0;jw((da(s|0,4,0,0)|0|0)+(da(q|0,4,0,0)|0|0)|0,da(p+(z*40|0)+16|0,4,0,0)|0|0,da(u|0,4,0,0)|0|0)|0;ea((da(s|0,4,0,0)|0|0)+e>>0|0,0|0,1,0);ea((da(s|0,4,0,0)|0|0)+(e+1)>>0|0,0|0,1,0);ea(m|0,da(m|0,2,0,1)|0|512|0,2,0);ea(p+(B*40|0)+12|0,e|0,4,0);ea(p+(B*40|0)+10>>0|0,Cc|0,1,0);G=p;H=f;I=K;J=L;e=g;break}case 112:{be=0;J=da(f+(e*20|0)+4|0,4,0,0)|0|0;D=p+(J*40|0)|0;G=bm(D)|0;m=da(f+(e*20|0)+8|0,4,0,0)|0|0;E=p+(m*40|0)|0;H=bm(E)|0;I=da(f+(e*20|0)+12|0,4,0,0)|0|0;h=p+(I*40|0)|0;r:do if(!((da(p+(m*40|0)+8|0,2,0,0)|0|(da(p+(J*40|0)+8|0,2,0,0)|0))&1)){s:do if(!((G&4&H)<<16>>16))A=0;else{g=D;s=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;v=E;l=da(v|0,4,0,0)|0|0;v=da(v+4|0,4,0,0)|0|0;y=da(F>>0|0,1,0,1)|0|0;t:do if((y|0)==89){if((g|0)>-1|(g|0)==-1&s>>>0>4294967295){J=cw(-1,2147483647,l|0,v|0)|0;m=C;if(((v|0)>0|(v|0)==0&l>>>0>0)&((m|0)<(g|0)|(m|0)==(g|0)&J>>>0<s>>>0)){A=1;break s}}else if((v|0)<0?(m=cw(1,-2147483648,l|0,v|0)|0,q=C,J=iw(s|0,g|0,1,0)|0,B=C,(q|0)>(B|0)|(q|0)==(B|0)&m>>>0>J>>>0):0){A=1;break s}l=iw(l|0,v|0,s|0,g|0)|0;g=C}else if((y|0)==90){if((s|0)==0&(g|0)==-2147483648){if((v|0)>-1|(v|0)==-1&l>>>0>4294967295){A=1;break s}g=v^-2147483648;break}if((g|0)<0|(g|0)==0&s>>>0<1){J=cw(0,0,s|0,g|0)|0;B=C;m=cw(-1,2147483647,l|0,v|0)|0;q=C;if(((v|0)>0|(v|0)==0&l>>>0>0)&((q|0)<(B|0)|(q|0)==(B|0)&m>>>0<J>>>0)){A=1;break s}}else if((v|0)<0?(m=cw(1,-2147483648,l|0,v|0)|0,q=C,J=cw(1,0,s|0,g|0)|0,B=C,(q|0)>(B|0)|(q|0)==(B|0)&m>>>0>J>>>0):0){A=1;break s}l=cw(l|0,v|0,s|0,g|0)|0;g=C}else if((y|0)==91){A=pw(l|0,v|0,0,1)|0;z=C;u=qw(l|0,v|0,0,1)|0;q=C;y=pw(s|0,g|0,0,1)|0;x=C;B=qw(s|0,g|0,0,1)|0;m=C;J=iw(l|0,v|0,-1,0)|0;ie=C;w=iw(s|0,g|0,-1,0)|0;je=C;w=je>>>0<1|(je|0)==1&w>>>0<4294967295;do if(ie>>>0<1|(ie|0)==1&J>>>0<4294967295)if(w){l=rw(l|0,v|0,s|0,g|0)|0;g=C;break t}else{w=rw(y|0,x|0,u|0,q|0)|0;v=C;break}else{if(!w){A=1;break s}w=rw(B|0,m|0,A|0,z|0)|0;v=C}while(0);J=iw(w|0,v|0,-2147483648,0)|0;l=C;if(l>>>0>0|(l|0)==0&J>>>0>4294967295){A=1;break s}y=rw(B|0,m|0,u|0,q|0)|0;x=C;if((x|0)>-1|(x|0)==-1&y>>>0>4294967295){J=cw(-1,2147483647,0,w|0)|0;m=C;if(((v|0)>0|(v|0)==0&w>>>0>0)&((m|0)<(x|0)|(m|0)==(x|0)&J>>>0<y>>>0)){A=1;break s}}else if((v|0)<0?(m=cw(1,-2147483648,0,w|0)|0,g=C,J=iw(y|0,x|0,1,0)|0,l=C,(g|0)>(l|0)|(g|0)==(l|0)&m>>>0>J>>>0):0){A=1;break s}l=iw(0,w|0,y|0,x|0)|0;g=C}else if((y|0)==92){if((s|0)==0&(g|0)==0)break r;if((s|0)==-1&(g|0)==-1&((l|0)==0&(v|0)==-2147483648)){A=1;break s}l=pw(l|0,v|0,s|0,g|0)|0;g=C}else{if((s|0)==-1){if((g|0)==-1){s=1;g=0}}else if((s|0)==0?(g|0)==0:0)break r;l=qw(l|0,v|0,s|0,g|0)|0;g=C}while(0);G=h;ea(G|0,l|0,4,0);ea(G+4|0,g|0,4,0);G=p+(I*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|4|0,2,0);G=p;H=f;I=K;J=L;break q}while(0);t=+Tg(D);r=+Tg(E);s=da(F>>0|0,1,0,1)|0|0;if((s|0)==89)r=t+r;else if((s|0)==90)r=r-t;else if((s|0)==91)r=t*r;else if((s|0)==92){if(t==0.0)break;r=r/t}else{u=~~t>>>0;s=+N(t)>=1.0?(t>0.0?~~+$(+M(t/4294967296.0),4294967295.0)>>>0:~~+Z((t-+(~~t>>>0))/4294967296.0)>>>0):0;x=~~r>>>0;y=+N(r)>=1.0?(r>0.0?~~+$(+M(r/4294967296.0),4294967295.0)>>>0:~~+Z((r-+(~~r>>>0))/4294967296.0)>>>0):0;if(!u){if(!s)break}else if((u|0)==-1?(s|0)==-1:0){u=1;s=0}J=qw(x|0,y|0,u|0,s|0)|0;r=+(J>>>0)+4294967296.0*+(C|0)}ea(de|0,+r,8,1);ea(Ld|0,+(+(+da(de|0,8,1,0))),8,1);if(!(+(+da(de|0,8,1,0))!=+(+da(Ld|0,8,1,0)))){ea(h|0,+r,8,1);J=p+(I*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|8|0,2,0);if(((H|G)&8)!=0|A<<24>>24!=0){G=p;H=f;I=K;J=L;break q}cm(h);G=p;H=f;I=K;J=L;break q}}while(0);g=p+(I*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);G=p;H=f;I=K;J=L;break}else{ug(h);G=p;H=f;I=K;J=L;break}}case 166:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;if(g){h=p+(g*40|0)|0;g=p+(g*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){G=h;ea(G|0,0|0,4,0);ea(G+4|0,0|0,4,0);ea(g|0,4|0,2,0);G=p;H=f;I=K;J=L;h=y;break}else{Yg(h,0,0);G=p;H=f;I=K;J=L;h=y;break}}else{G=p;H=f;I=K;J=L;h=y}break}case 184:{be=0;s=da(f+(e*20|0)+4|0,4,0,0)|0|0;g=da(f+(e*20|0)+8|0,4,0,0)|0|0;z=da(f+(e*20|0)+12|0,4,0,0)|0|0;h=p+(z*40|0)|0;if((da(p+(g*40|0)+8|0,2,0,0)|0|(da(p+(s*40|0)+8|0,2,0,0)|0))&1){g=p+(z*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);G=p;H=f;I=K;J=L;break}else{ug(h);G=p;H=f;I=K;J=L;break}}q=Ug(p+(g*40|0)|0)|0;A=C;y=Ug(p+(s*40|0)|0)|0;x=C;g=da(w>>0|0,1,0,0)|0|0;s=g&255;do if(g<<24>>24==86){q=y|q;g=x|A}else if(g<<24>>24!=85)if(!((y|0)==0&(x|0)==0)){if((x|0)<0){g=175-s&255;s=cw(0,0,y|0,x|0)|0;if((x|0)>-1|(x|0)==-1&y>>>0>4294967232){x=C;be=194}}else{s=y;be=194}if((be|0)==194){be=0;if(!((x|0)>0|(x|0)==0&s>>>0>63)){if(g<<24>>24==87){q=hw(q|0,A|0,s|0)|0;g=C;break}q=lw(q|0,A|0,s|0)|0;g=C;if((A|0)>=0)break;J=cw(64,0,s|0,x|0)|0;J=hw(-1,-1,J|0)|0;q=J|q;g=C|g;break}}if((A|0)>-1|(A|0)==-1&q>>>0>4294967295){q=0;g=0}else{g=(g<<24>>24!=87)<<31>>31;q=g;g=((g|0)<0)<<31>>31}}else g=A;else{q=y&q;g=x&A}while(0);G=h;ea(G|0,q|0,4,0);ea(G+4|0,g|0,4,0);G=p+(z*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|4|0,2,0);G=p;H=f;I=K;J=L;break}case 202:{be=0;H=da(f+(e*20|0)+4|0,4,0,0)|0|0;G=p+(H*40|0)|0;I=Ug(G)|0;H=p+(H*40|0)+8|0;ea(H|0,(da(H|0,2,0,1)|0)&48640|4|0,2,0);H=da(f+(e*20|0)+8|0,4,0,0)|0|0;H=iw(I|0,C|0,H|0,((H|0)<0)<<31>>31|0)|0;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;break}case 203:{be=0;h=da(f+(e*20|0)+4|0,4,0,0)|0|0;l=p+(h*40|0)+8|0;g=da(l|0,2,0,0)|0|0;if(!(g&4)){em(p+(h*40|0)|0,67,Cc);g=da(l|0,2,0,0)|0|0;if(!(g&4)){u=da(f+(e*20|0)+8|0,4,0,0)|0|0;if(!u){g=e;h=20;be=1318;break c}G=p;H=f;I=K;J=L;h=y;e=u+-1|0;break}}ea(l|0,g&48640|4|0,2,0);G=p;H=f;I=K;J=L;h=y;break}case 208:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;h=p+(g*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&4)){G=p;H=f;I=K;J=L;h=y}else{G=p+(g*40|0)|0;ea(G|0,+(+Tg(G)),8,1);ea(h|0,(da(h|0,2,0,1)|0)&48640|8|0,2,0);G=p;H=f;I=K;J=L;h=y}break}case 213:{be=0;D=da(f+(g*20|0)+4|0,4,0,0)|0|0;A=p+(D*40|0)|0;m=da(f+(g*20|0)+12|0,4,0,0)|0|0;z=p+(m*40|0)|0;D=p+(D*40|0)+8|0;v=da(D|0,2,0,0)|0|0;m=p+(m*40|0)+8|0;B=da(m|0,2,0,0)|0|0;w=v&65535;q=B&65535;l=f+(g*20|0)+3|0;y=da(l>>0|0,1,0,1)|0|0;do if(!((B|v)&1)){y=y&71;if(y>>>0>66){if((w&14|0)==2){qh(A,0);q=da(m|0,2,0,0)|0|0}else q=B;if((q&14)==2){qh(z,0);y=v;u=B}else{y=v;u=B}}else if((y|0)==66){if((w&2|0)!=0|(w&12|0)==0){x=B;y=v}else{am(A,Cc,1)|0;x=da(m|0,2,0,0)|0|0;y=((da(D|0,2,0,1)|0)&65024|w&511)&65535}J=x&65535;if((J&2|0)!=0|(J&12|0)==0)u=B;else{am(z,Cc,1)|0;u=((da(m|0,2,0,1)|0)&65024|q&511)&65535}}else{y=v;u=B}if((da(D|0,2,0,0)|0)&16384){Qg(A)|0;y=y&49151}if((da(m|0,2,0,0)|0)&16384){Qg(z)|0;u=u&49151}if(da($d>>0|0,1,0,0)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}J=gm(z,A,da(f+(g*20|0)+16|0,4,0,0)|0|0)|0;x=da(s>>0|0,1,0,0)|0|0;e=g;s=J}else{if(y&128){y=v;u=B;e=g;s=(v&1&B)<<16>>16!=0&(q&256|0)==0&1^1;break}if(y&32){h=da(f+(g*20|0)+8|0,4,0,0)|0|0;G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|1|0,2,0);G=p;H=f;I=K;J=L;h=p+(h*40|0)|0;e=g;break q}if(!(y&16)){G=p;H=f;I=K;J=L;e=g;break q}G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break q}while(0);switch(x&255|0){case 79:{s=(s|0)==0&1;break}case 78:{s=(s|0)!=0&1;break}case 82:{s=s>>>31;break}case 81:{s=(s|0)<1&1;break}case 80:{s=(s|0)>0&1;break}default:s=s>>>31^1}if(!((da(l>>0|0,1,0,0)|0)&32)){if(s)e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{J=da(f+(e*20|0)+8|0,4,0,0)|0|0;h=p+(J*40|0)|0;J=p+(J*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|4|0,2,0);J=h;ea(J|0,s|0,4,0);ea(J+4|0,0|0,4,0)}ea(D|0,y|0,2,0);ea(m|0,u|0,2,0);G=p;H=f;I=K;J=L;break}case 248:{be=0;G=p;H=f;I=da(f+(e*20|0)+16|0,4,0,0)|0|0;J=L;break}case 249:{be=0;m=((da(f+(e*20|0)+3>>0|0,1,0,0)|0)&1)==0?0:K;v=da(f+(e*20|0)+12|0,4,0,0)|0|0;w=da(f+(e*20|0)+16|0,4,0,0)|0|0;x=da(f+(e*20|0)+4|0,4,0,0)|0|0;y=da(f+(e*20|0)+8|0,4,0,0)|0|0;if((v|0)>0){g=(m|0)==0;l=w+16|0;u=0;while(1){if(g)q=u;else q=da(m+(u<<2)|0,4,0,0)|0|0;s=da((da(l|0,4,0,0)|0|0)+u>>0|0,1,0,0)|0|0;q=gm(p+((q+x|0)*40|0)|0,p+((q+y|0)*40|0)|0,da(w+(u<<2)+20|0,4,0,0)|0|0)|0;u=u+1|0;if(q)break;if((u|0)>=(v|0)){G=p;H=f;I=0;J=0;break q}}G=p;H=f;I=0;J=s<<24>>24==0?q:0-q|0}else{G=p;H=f;I=0;J=L}break}case 256:{be=0;if((L|0)<0){G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+4|0,4,0,0)|0|0)+-1|0;break}if(!L){G=p;H=f;I=K;J=0;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break}else{G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+12|0,4,0,0)|0|0)+-1|0;break}}case 261:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){h=Ug(p+(g*40|0)|0)|0;h=(h|0)!=0|(C|0)!=0?3:0}else h=6;g=da(f+(e*20|0)+8|0,4,0,0)|0|0;if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){g=Ug(p+(g*40|0)|0)|0;g=((g|0)!=0|(C|0)!=0)&1}else g=2;g=da(((da(s>>0|0,1,0,0)|0|0)==72?41680:41696)+(g+h)>>0|0,1,0,0)|0|0;h=da(f+(e*20|0)+12|0,4,0,0)|0|0;y=p+(h*40|0)|0;if(g<<24>>24==2){G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|1|0,2,0);G=p;H=f;I=K;J=L;h=y;break}else{G=y;ea(G|0,g&255|0,4,0);ea(G+4|0,0|0,4,0);G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|4|0,2,0);G=p;H=f;I=K;J=L;h=y;break}}case 268:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;h=da(f+(e*20|0)+8|0,4,0,0)|0|0;y=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312))ea(h|0,1|0,2,0);else ug(y);if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){ea(h|0,4|0,2,0);H=Ug(p+(g*40|0)|0)|0;G=y;ea(G|0,(H|0)==0&(C|0)==0&1|0,4,0);ea(G+4|0,0|0,4,0);G=p;H=f;I=K;J=L;h=y}else{G=p;H=f;I=K;J=L;h=y}break}case 273:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;h=da(f+(e*20|0)+8|0,4,0,0)|0|0;y=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312))ea(h|0,1|0,2,0);else ug(y);if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){ea(h|0,4|0,2,0);H=Ug(p+(g*40|0)|0)|0;G=y;ea(G|0,~H|0,4,0);ea(G+4|0,~C|0,4,0);G=p;H=f;I=K;J=L;h=y}else{G=p;H=f;I=K;J=L;h=y}break}case 278:{be=0;g=(da(Ab|0,4,0,0)|0|0)+(da(f+(e*20|0)+4|0,4,0,0)|0|0)|0;if(!(da(g>>0|0,1,0,0)|0)){ea(g>>0|0,1|0,1,0);G=p;H=f;I=K;J=L;break}else{G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}}case 281:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){g=+Tg(p+(g*40|0)|0)!=0.0;g=(g^(da(s>>0|0,1,0,0)|0|0)==46)&1}else g=da(f+(e*20|0)+12|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 286:{be=0;if(!((da(p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)+8|0,2,0,0)|0)&1)){G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 288:{be=0;if(!((da(p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)+8|0,2,0,0)|0)&1)){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 290:{be=0;H=da(f+(g*20|0)+8|0,4,0,0)|0|0;B=da(f+(g*20|0)+12|0,4,0,0)|0|0;q=p+(B*40|0)|0;G=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;m=da(G+80|0,4,0,0)|0|0;l=da(G|0,4,0,0)|0|0;if(!(da(G+26>>0|0,1,0,0)|0)){if((l|0)!=0?(da(l+73>>0|0,1,0,0)|0|0)!=1:0){Md=im(G)|0;be=295}}else{Md=hm(G)|0;be=295}if((be|0)==295?(be=0,(Md|0)!=0):0){h=Md;be=1318;break c}A=G+60|0;s=da(Ud|0,4,0,0)|0|0;u:do if((da(A|0,4,0,0)|0|0)==(s|0)){s=da(G+22|0,2,0,0)|0|0;if((s&65535|0)>(H|0))be=350;else{x=G+72|0;be=318}}else{do if(da(G+25>>0|0,1,0,0)|0){if(!l){y=da(G+16|0,4,0,0)|0|0;v=da(p+(y*40|0)+12|0,4,0,0)|0|0;ea(G+68|0,v|0,4,0);ea(G+64|0,v|0,4,0);y=da(p+(y*40|0)+16|0,4,0,0)|0|0;z=G+76|0;ea(z|0,y|0,4,0);break}e=p+(B*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break u}else{ug(q);break u}}else{if(!((da(G+27>>0|0,1,0,0)|0)&4)){jm(l,md);x=da(l+40|0,2,0,1)|0|0;y=da(l+32|0,4,0,0)|0|0;ea(G+76|0,y|0,4,0);s=da(md|0,4,0,0)|0|0;ea(G+64|0,s|0,4,0)}else{s=G+64|0;km(l,s);x=da(l+40|0,2,0,1)|0|0;y=da(l+32|0,4,0,0)|0|0;ea(G+76|0,y|0,4,0);s=da(s|0,4,0,0)|0|0}ea(G+68|0,(s>>>0>x>>>0?x:s)|0,4,0);if(s>>>0>(da(sb|0,4,0,0)|0|0)>>>0){h=n;be=1316;break c}z=G+76|0;s=da(Ud|0,4,0,0)|0|0;v=x}while(0);ea(A|0,s|0,4,0);s=da(y>>0|0,1,0,0)|0|0;if(s<<24>>24>-1){w=s&255;ea(_c|0,w|0,4,0);y=1}else{y=lm(y,_c)|0;w=da(_c|0,4,0,0)|0|0}x=G+72|0;ea(x|0,y&255|0,4,0);ea(G+22|0,0|0,2,0);ea(m|0,w|0,4,0);if(w>>>0>98307){h=n;be=313;break c}if(w>>>0>(da(G+64|0,4,0,0)|0|0)>>>0){h=n;be=313;break c}if(v>>>0<w>>>0){ea(z|0,0|0,4,0);ea(G+68|0,0|0,4,0);s=0;be=318}else{s=0;be=318}}while(0);do if((be|0)==318){be=0;y=da(x|0,4,0,0)|0|0;w=da(m|0,4,0,0)|0|0;if(y>>>0<w>>>0){F=G+76|0;v=da(F|0,4,0,0)|0|0;if(!v){I=Cd+0|0;J=I+40|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));y=mm(l,0,da(m|0,4,0,0)|0|0,((da(G+27>>0|0,1,0,1)|0|0)>>>2&1^1)&255,Cd)|0;if(y){f=y;h=n;be=1309;break c}s=G+22|0;E=s;s=da(s|0,2,0,0)|0|0;y=da(x|0,4,0,0)|0|0;w=da(m|0,4,0,0)|0|0;D=da(Cb|0,4,0,0)|0|0}else{E=G+22|0;D=v}u=s&65535;z=da(m+(u<<2)|0,4,0,0)|0|0;ea(_c|0,z|0,4,0);s=D+w|0;y=D+y|0;while(1){v=da(y>>0|0,1,0,0)|0|0;if(v<<24>>24>-1){A=v&255;ea(Ed|0,A|0,4,0);y=y+1|0}else{y=y+((lm(y,Ed)|0)&255)|0;A=da(Ed|0,4,0,0)|0|0}ea(G+(u<<2)+84|0,A|0,4,0);if(A>>>0>11)v=(A+-12|0)>>>1;else v=da(34336+A>>0|0,1,0,1)|0|0;A=z+v|0;ea(_c|0,A|0,4,0);if(A>>>0<z>>>0){y=A;v=u;be=331;break}v=u+1|0;ea(m+(v<<2)|0,A|0,4,0);if((u|0)<(H|0)&y>>>0<s>>>0){z=A;u=v}else break}if((be|0)==331){be=0;A=y;y=D+(w+1)|0}ea(E|0,v|0,2,0);ea(x|0,y-D|0,4,0);if(!(da(F|0,4,0,0)|0)){if(!(((da(Db|0,2,0,0)|0)&9312)==0&(da(Eb|0,4,0,0)|0|0)==0))Pg(Cd);ea(Db|0,1|0,2,0)}if(y>>>0>=s>>>0){if(y>>>0>s>>>0){h=n;be=343;break c}if((A|0)==(da(G+64|0,4,0,0)|0|0))s=A;else{h=n;be=343;break c}}else s=da(G+64|0,4,0,0)|0|0;if(A>>>0>s>>>0){h=n;be=343;break c}s=da(E|0,2,0,0)|0|0}if((s&65535|0)<=(H|0)){if((da(f+(g*20|0)+1>>0|0,1,0,0)|0|0)==-8){Yl(q,da(f+(g*20|0)+16|0,4,0,0)|0|0,2048);e=p+(B*40|0)+8|0;break}e=p+(B*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(q);break}}else be=350}while(0);if((be|0)==350){be=0;e=p+(B*40|0)+8|0;if((da(e|0,2,0,0)|0)&9312)ug(q);y=da(G+(H<<2)+84|0,4,0,0)|0|0;ea(Ed|0,y|0,4,0);do if((da(G+68|0,4,0,0)|0|0)>>>0<(da(m+(H+1<<2)|0,4,0,0)|0|0)>>>0){J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;if(!((J&255)>63?y>>>0>11&(y&1|0)==0|J<<24>>24<0:0)){if(y>>>0>11)s=(y+-12|0)>>>1;else s=da(34336+y>>0|0,1,0,1)|0|0;if(s){s=mm(l,da(m+(H<<2)|0,4,0,0)|0|0,s,((da(G+27>>0|0,1,0,1)|0|0)>>>2&1^1)&255,q)|0;if(s){f=s;h=n;be=1309;break c}nm(da(p+(B*40|0)+16|0,4,0,0)|0|0,y,q)|0;ea(e|0,(da(e|0,2,0,1)|0)&61439|0,2,0);break}}nm(y>>>0<14?md:0,y,q)|0}else nm((da(G+76|0,4,0,0)|0|0)+(da(m+(H<<2)|0,4,0,0)|0|0)|0,y,q)|0;while(0);ea(p+(B*40|0)+10>>0|0,Cc|0,1,0)}m=da(e|0,2,0,1)|0|0;if((m&4096|0)!=0?(tc=p+(B*40|0)+16|0,uc=da(tc|0,4,0,0)|0|0,(uc|0)!=0):0){l=da(p+(B*40|0)+12|0,4,0,0)|0|0;if(eh(q,l+2|0)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}jw(da(tc|0,4,0,0)|0|0,uc|0,l|0)|0;ea((da(tc|0,4,0,0)|0|0)+l>>0|0,0|0,1,0);ea((da(tc|0,4,0,0)|0|0)+(l+1)>>0|0,0|0,1,0);ea(e|0,m&18|512|0,2,0);G=p;H=f;I=K;J=L;e=g}else{G=p;H=f;I=K;J=L;e=g}break}case 368:{be=0;l=da(f+(e*20|0)+16|0,4,0,0)|0|0;g=da(l>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){G=p;H=f;I=K;J=L}else{m=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;while(1){l=l+1|0;em(m,g,Cc);g=da(l>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){G=p;H=f;I=K;J=L;break}else m=m+40|0}}break}case 371:{be=0;I=da(f+(g*20|0)+4|0,4,0,0)|0|0;s=da(f+(g*20|0)+16|0,4,0,0)|0|0;J=p+(I*40|0)|0;I=p+((I+-1+(da(f+(g*20|0)+8|0,4,0,0)|0|0)|0)*40|0)|0;q=da(Fb>>0|0,1,0,0)|0|0;H=da(f+(g*20|0)+12|0,4,0,0)|0|0;h=p+(H*40|0)|0;if(s){e=da(s>>0|0,1,0,0)|0|0;l=J;while(1){s=s+1|0;em(l,e,Cc);e=da(s>>0|0,1,0,0)|0|0;if(!(e<<24>>24))break;else l=l+40|0}}D=(q&255)>3;A=0;z=0;E=0;s=0;m=I;while(1){u=da(m+8|0,2,0,0)|0|0;x=u&65535;v:do if(!(x&1)){do if(!(x&4)){if(x&8){y=7;be=388;break v}y=da(m+12|0,4,0,0)|0|0;if(x&16384)y=(da(m|0,4,0,0)|0|0)+y|0;y=(y<<1)+12|x>>>1&1}else{x=m;y=da(x|0,4,0,0)|0|0;x=da(x+4|0,4,0,0)|0|0;w=dw(y|0,x|0,63)|0;w=w^y;v=C^x;if(v>>>0<0|(v|0)==0&w>>>0<128){if(!((y&1|0)==(y|0)&0==(x|0)&D)){y=1;be=388;break v}y=w+8|0;break}if(v>>>0<0|(v|0)==0&w>>>0<32768){y=2;be=388;break v}if(v>>>0<0|(v|0)==0&w>>>0<8388608){y=3;be=388;break v}if(v>>>0<0|(v|0)==0&w>>>0<2147483648){y=4;be=388;break v}y=v>>>0<32768|(v|0)==32768&w>>>0<0?5:6;be=388;break v}while(0);ea(m+28|0,y|0,4,0);if(y>>>0>11){x=y;y=(y+-12|0)>>>1}else be=391}else{y=0;be=388}while(0);if((be|0)==388){ea(m+28|0,y|0,4,0);be=391}if((be|0)==391){be=0;x=y;y=da(34336+y>>0|0,1,0,1)|0|0}do if(u&16384)if((A|0)==0&(z|0)==0){u=da(m|0,4,0,0)|0|0;y=y-u|0;u=u+s|0;break}else{Qg(m)|0;u=s;break}else u=s;while(0);A=iw(y|0,((y|0)<0)<<31>>31|0,A|0,z|0)|0;z=C;if(x>>>0<128)y=1;else{w=0;y=0;do{y=y+1|0;x=lw(x|0,w|0,7)|0;w=C}while(((x|0)!=0|(w|0)!=0)&(y|0)<9)}y=y+E|0;m=m+-40|0;if(m>>>0<J>>>0){v=y;F=u;break}else{E=y;s=u}}if((v|0)<127)x=v+1|0;else{x=v;w=((v|0)<0)<<31>>31;y=0;do{y=y+1|0;x=lw(x|0,w|0,7)|0;w=C}while(((x|0)!=0|(w|0)!=0)&(y|0)<9);v=y+v|0;x=v;w=((v|0)<0)<<31>>31;s=0;do{s=s+1|0;x=lw(x|0,w|0,7)|0;w=C}while(((x|0)!=0|(w|0)!=0)&(s|0)<9);x=((y|0)<(s|0)&1)+v|0}y=((x|0)<0)<<31>>31;u=iw(x|0,y|0,A|0,z|0)|0;D=C;G=da(sb|0,4,0,0)|0|0;E=((G|0)<0)<<31>>31;if((D|0)>(E|0)|(D|0)==(E|0)&u>>>0>G>>>0){h=n;be=1316;break c}if(eh(h,u)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}q=da(p+(H*40|0)+16|0,4,0,0)|0|0;if(x>>>0<128){ea(q>>0|0,x|0,1,0);z=1;A=J}else{z=(om(q,x,y)|0)&255;A=J}while(1){w=da(A+28|0,4,0,0)|0|0;if(w>>>0<128){ea(q+z>>0|0,w|0,1,0);y=1}else y=(om(q+z|0,w,0)|0)&255;z=y+z|0;y=q+x|0;if(!(w>>>0<8&(w|0)!=0))if(w>>>0>11){s=da(A+12|0,4,0,0)|0|0;jw(y|0,da(A+16|0,4,0,0)|0|0,s|0)|0}else s=0;else{y=A;if(w>>>0>11)s=(w+-12|0)>>>1;else s=da(34336+w>>0|0,1,0,1)|0|0;v=da(y|0,4,0,0)|0|0;y=da(y+4|0,4,0,0)|0|0;w=s;while(1){w=w+-1|0;ea(q+(w+x)>>0|0,v|0,1,0);v=lw(v|0,y|0,8)|0;if(!w)break;else y=C}}A=A+40|0;if(A>>>0>I>>>0)break;else x=s+x|0}ea(p+(H*40|0)+12|0,u|0,4,0);e=p+(H*40|0)+8|0;ea(e|0,16|0,2,0);if(F){ea(h|0,F|0,4,0);ea(e|0,16400|0,2,0)}ea(p+(H*40|0)+10>>0|0,1|0,1,0);G=p;H=f;I=K;J=L;e=g;break}case 446:{be=0;if((da(Vd|0,4,0,0)|0|0)>0){h=n;be=447;break c}if(!l)m=0;else{g=l;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;m=g-l&1073741823}h=rm(ee,0,(da(Hb|0,4,0,0)|0|0)+(da(Gb|0,4,0,0)|0|0)|0)|0;if(h){g=e;be=1318;break c}g=lh(ee,m+33|0,0)|0;if(!g){G=p;H=f;I=K;J=L;h=A}else{J=g+32|0;ea(g|0,J|0,4,0);jw(J|0,l|0,m+1|0)|0;if(!(da(Zd>>0|0,1,0,0)|0))ea(Hb|0,(da(Hb|0,4,0,0)|0|0)+1|0,4,0);else{ea(Zd>>0|0,0|0,1,0);ea(Lb>>0|0,1|0,1,0)}ea(g+24|0,da(Ib|0,4,0,0)|0|0,4,0);ea(Ib|0,g|0,4,0);H=Jb;I=da(H+4|0,4,0,0)|0|0;G=g+8|0;ea(G|0,da(H|0,4,0,0)|0|0,4,0);ea(G+4|0,I|0,4,0);I=Kb;G=da(I+4|0,4,0,0)|0|0;H=g+16|0;ea(H|0,da(I|0,4,0,0)|0|0,4,0);ea(H+4|0,G|0,4,0);G=p;H=f;I=K;J=L;h=A}break}case 486:{ea(Hb|0,(da(Hb|0,4,0,0)|0|0)+-1|0,4,0);be=488;break}case 525:{be=0;vm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,da(f+(e*20|0)+12|0,4,0,0)|0|0,Qc);G=da(Qc|0,4,0,0)|0|0;H=h;ea(H|0,G|0,4,0);ea(H+4|0,((G|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;break}case 558:{be=0;l=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,-1,1)|0;if(!l){o=$d;p=ce;e=d;d=n;be=1317;break a}e=da(f+(g*20|0)+16|0,4,0,0)|0|0;s=l+8|0;ea(s|0,e|0,4,0);q=da(f+(g*20|0)+12|0,4,0,0)|0|0;e=(da(e+6|0,2,0,1)|0)<<2;h=e+148|0;m=lh(ee,h,0)|0;if(!m){f=l;h=n;be=560;break c}ew(m|0,0,h|0)|0;ea(l+56|0,m|0,4,0);J=m+128|0;ea(m+28|0,J|0,4,0);jw(J|0,da(s|0,4,0,0)|0|0,e+20|0)|0;ea(m+140|0,0|0,4,0);if(q)ea(m+134|0,q|0,2,0);e=da(Qd|0,4,0,0)|0|0;h=da((da((da(e+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(m+12|0,h|0,4,0);ea(m+59>>0|0,1|0,1,0);ea(m+57>>0|0,0|0,1,0);ea(m+24|0,ee|0,4,0);ea(m+72|0,m|0,4,0);if(((da(Tb>>0|0,1,0,0)|0|0)!=2?(wc=da(2242*4|0,4,0,0)|0|0,ea(m|0,_(wc,h)|0|0,4,0),J=da((da(e+12|0,4,0,0)|0|0)+80|0,4,0,0)|0|0,J=(J|0)<(wc|0)?wc:J,wc=((h|0)<0)<<31>>31,J=rw(J|0,((J|0)<0)<<31>>31|0,h|0,wc|0)|0,I=C,ea(m+4|0,((I|0)<0|(I|0)==0&J>>>0<536870912?J:536870912)|0,4,0),(da(2234*4|0,4,0,0)|0|0)==0):0)?(ea(m+52|0,h|0,4,0),J=pg(h,wc)|0,ea(m+40|0,J|0,4,0),(J|0)==0):0){f=7;h=n;be=1309;break c}else{G=p;H=f;I=K;J=L;h=A;e=g}break}case 566:{be=0;H=(da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+40|0;J=H;I=da(J|0,4,0,0)|0|0;J=da(J+4|0,4,0,0)|0|0;G=iw(I|0,J|0,1,0)|0;ea(H|0,G|0,4,0);ea(H+4|0,C|0,4,0);if((I|0)==0&(J|0)==0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 568:{be=0;e=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,-1,0)|0;if(!e){o=$d;p=ce;e=d;d=n;be=1317;break a}ea(e+25>>0|0,1|0,1,0);ea(e+16|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,4,0);G=e+27|0;ea(G>>0|0,da(G>>0|0,1,0,0)|0|4|0,1,0);G=p;H=f;I=K;J=L;e=g;break}case 570:{be=0;G=f+(e*20|0)+4|0;Am(a,da((da(Bb|0,4,0,0)|0|0)+((da(G|0,4,0,0)|0)<<2)|0,4,0,0)|0|0);ea((da(Bb|0,4,0,0)|0|0)+((da(G|0,4,0,0)|0)<<2)|0,0|0,4,0);G=p;H=f;I=K;J=L;break}case 571:{be=0;w=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(w+25>>0|0,0|0,1,0);if(!((da(w+27>>0|0,1,0,0)|0)&4)){J=da(f+(e*20|0)+16|0,4,0,0)|0|0;ea(pd|0,da(w+8|0,4,0,0)|0|0,4,0);ea(Ub|0,J|0,2,0);ea(Vb>>0|0,(z<<1&2^2)+255|0,1,0);J=da(f+(e*20|0)+12|0,4,0,0)|0|0;g=p+(J*40|0)|0;ea(Wb|0,g|0,4,0);if((da(p+(J*40|0)+8|0,2,0,0)|0)&16384)Qg(g)|0;h=Bm(da(w|0,4,0,0)|0|0,pd,0,0,0,td)|0;if(!h){h=z;y=A}else{g=e;be=1318;break c}}else{s=da(f+(e*20|0)+12|0,4,0,0)|0|0;q=p+(s*40|0)|0;s=p+(s*40|0)+8|0;if(((da(s|0,2,0,0)|0)&14)==2)qh(q,0);y=Ug(q)|0;x=C;s=da(s|0,2,0,1)|0|0;do if(!(s&4)){if(!(s&8)){G=p;H=f;I=K;J=L;h=A;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break q}r=+(+da(q|0,8,1,0));t=+(y>>>0)+4294967296.0*+(x|0);if(r<t){s=(z<<31>>31)+z|0;break}else{s=(r>t&(z&1|0)==0&1)+z|0;break}}else s=z;while(0);h=Bm(da(w|0,4,0,0)|0|0,0,y,x,0,td)|0;J=w+48|0;ea(J|0,y|0,4,0);ea(J+4|0,x|0,4,0);if(!h){h=s;y=A}else{g=e;be=1318;break c}}ea(w+26>>0|0,0|0,1,0);ea(w+60|0,0|0,4,0);g=da(td|0,4,0,0)|0|0;do if((h|0)>63){if((g|0)>=0?!((g|0)==0&(h|0)==65):0){ea(td|0,0|0,4,0);G=p;H=f;I=K;J=L;h=y;break q}ea(td|0,0|0,4,0);h=Cm(da(w|0,4,0,0)|0|0,td)|0;if(!h)be=593;else{g=e;be=1318;break c}}else{if((g|0)<=0?!((g|0)==0&(h|0)==62):0){g=(da((da(w|0,4,0,0)|0|0)+73>>0|0,1,0,0)|0|0)!=1&1;ea(td|0,g|0,4,0);break}ea(td|0,0|0,4,0);h=Dm(da(w|0,4,0,0)|0|0,td)|0;if(!h)be=593;else{g=e;be=1318;break c}}while(0);if((be|0)==593){be=0;g=da(td|0,4,0,0)|0|0}if(!g){G=p;H=f;I=K;J=L;h=y}else{G=p;H=f;I=K;J=L;h=y;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 596:{be=0;G=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(G+25>>0|0,0|0,1,0);I=Ug(p+((da(f+(e*20|0)+8|0,4,0,0)|0|0)*40|0)|0)|0;H=G+48|0;ea(H|0,I|0,4,0);ea(H+4|0,C|0,4,0);ea(G+26>>0|0,1|0,1,0);G=p;H=f;I=K;J=L;break}case 597:{be=0;x=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;e=da(f+(g*20|0)+12|0,4,0,0)|0|0;y=p+(e*40|0)|0;ea(hd|0,0|0,4,0);z=f+(g*20|0)+16|0;s=da(z|0,4,0,0)|0|0;l=x+8|0;q=da(l|0,4,0,0)|0|0;w:do if((s|0)>0){ea(qd|0,q|0,4,0);s=s&65535;ea(Xb|0,s|0,2,0);ea(Yb|0,y|0,4,0);if(!(s<<16>>16))l=qd;else{e=y;q=0;while(1){if((da(e+(q*40|0)+8|0,2,0,0)|0)&16384){Qg(e+(q*40|0)|0)|0;s=da(Xb|0,2,0,0)|0|0}q=q+1|0;if((q|0)>=(s&65535|0)){l=qd;break w}e=da(Yb|0,4,0,0)|0|0}}}else{s=Em(q,Lc,191,hd)|0;if(!s){o=$d;p=ce;e=d;d=n;be=1317;break a}if((da(p+(e*40|0)+8|0,2,0,0)|0)&16384)Qg(y)|0;Fm(da(l|0,4,0,0)|0|0,da(p+(e*40|0)+12|0,4,0,0)|0|0,da(p+(e*40|0)+16|0,4,0,0)|0|0,s);l=s}while(0);ea(l+6>>0|0,0|0,1,0);x:do if((da(w>>0|0,1,0,0)|0|0)==67?(xc=da(l+4|0,2,0,0)|0|0,xc<<16>>16!=0):0){s=da(l+8|0,4,0,0)|0|0;q=0;while(1){if((da(s+(q*40|0)+8|0,2,0,0)|0)&1)break;q=q+1|0;if((q|0)>=(xc&65535|0)){A=g;e=g;break x}}A=g;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0}else{A=g;e=g}while(0);s=Bm(da(x|0,4,0,0)|0|0,l,0,0,0,ud)|0;if(!(da(z|0,4,0,0)|0))lg(ee,da(hd|0,4,0,0)|0|0);if(s){g=e;f=s;h=n;be=1309;break c}g=da(ud|0,4,0,0)|0|0;ea(x+12|0,g|0,4,0);g=(g|0)==0;ea(x+25>>0|0,g&1^1|0,1,0);ea(x+26>>0|0,0|0,1,0);ea(x+60|0,0|0,4,0);if((da(w>>0|0,1,0,0)|0|0)==69){if(!g){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(A*20|0)+8|0,4,0,0)|0|0)+-1|0;break}else{if(g){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(A*20|0)+8|0,4,0,0)|0|0)+-1|0;break}}case 624:{be=0;H=(da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+40|0;G=H;I=da(G|0,4,0,0)|0|0;G=da(G+4|0,4,0,0)|0|0;J=iw(I|0,G|0,1,0)|0;ea(H|0,J|0,4,0);ea(H+4|0,C|0,4,0);H=h;ea(H|0,I|0,4,0);ea(H+4|0,G|0,4,0);G=p;H=f;I=K;J=L;break}case 647:{be=0;x=da(f+(e*20|0)+8|0,4,0,0)|0|0;l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;g=da(f+(e*20|0)+12|0,4,0,0)|0|0;if(s<<24>>24==75){v=p+(g*40|0)|0;u=da(v|0,4,0,0)|0|0;v=da(v+4|0,4,0,0)|0|0}else{u=g;v=((g|0)<0)<<31>>31}w=f+(e*20|0)+3|0;y=da(w>>0|0,1,0,0)|0|0;if(y&1)ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);if(y&2){d=ge;ea(d|0,u|0,4,0);ea(d+4|0,v|0,4,0);d=u;c=v}s=da(p+(x*40|0)+8|0,2,0,0)|0|0;if(s&1){ea(p+(x*40|0)+16|0,0|0,4,0);ea(p+(x*40|0)+12|0,0|0,4,0)}if(!(y&16))q=0;else q=da(l+12|0,4,0,0)|0|0;if(!(s&16384))s=0;else s=da(p+(x*40|0)|0,4,0,0)|0|0;s=Hm(da(l|0,4,0,0)|0|0,0,u,v,da(p+(x*40|0)+16|0,4,0,0)|0|0,da(p+(x*40|0)+12|0,4,0,0)|0|0,s,(y&255)>>>3&1,q)|0;ea(l+26>>0|0,0|0,1,0);ea(l+60|0,0|0,4,0);if(s){g=e;f=s;h=n;be=1309;break c}g=da(Zb|0,4,0,0)|0|0;if((g|0)!=0?(yc=da(f+(e*20|0)+16|0,4,0,0)|0|0,(yc|0)!=0):0){ac[(fa(g|0,1|0)|0)&1](da(_b|0,4,0,0)|0|0,((da(w>>0|0,1,0,0)|0)&4)!=0?23:18,da((da(Qd|0,4,0,0)|0|0)+((da(l+24>>0|0,1,0,0)|0)<<4)|0,4,0,0)|0|0,yc,u,v);G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L}break}case 671:{be=0;G=da(nb|0,4,0,0)|0|0;ea(ob|0,G|0,4,0);ea(pb|0,(da(pb|0,4,0,0)|0|0)+G|0,4,0);ea(nb|0,0|0,4,0);G=p;H=f;I=K;J=L;break}case 672:{be=0;y=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;x=da(f+(e*20|0)+12|0,4,0,0)|0|0;w=da(f+(e*20|0)+16|0,4,0,0)|0|0;g=da(y+56|0,4,0,0)|0|0;q=g+32|0;s=da(q|0,4,0,0)|0|0;y=da(y+8|0,4,0,0)|0|0;if(!s){s=Em(y,0,0,dd)|0;ea(q|0,s|0,4,0);if(!s){g=e;f=7;h=n;be=1309;break c}ea(s+4|0,w|0,2,0)}if(!(da(g+56>>0|0,1,0,0)|0)){g=da(g+36|0,4,0,0)|0|0;q=g;g=g+8|0}else{J=da(g+20|0,4,0,0)|0|0;g=da((da(J+8|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;J=da(J+12|0,4,0,0)|0|0;q=J+(g*56|0)+20|0;g=da(J+(g*56|0)+32|0,4,0,0)|0|0}Fm(y,da(q|0,4,0,0)|0|0,g,s);y:do if((w|0)>0){g=da(s+8|0,4,0,0)|0|0;l=0;while(1){if((da(g+(l*40|0)+8|0,2,0,0)|0)&1)break y;l=l+1|0;if((l|0)>=(w|0)){be=682;break}}}else be=682;while(0);if((be|0)==682){be=0;if(!(Jm(da(p+(x*40|0)+12|0,4,0,0)|0|0,da(p+(x*40|0)+16|0,4,0,0)|0|0,s,0)|0)){G=p;H=f;I=K;J=L;break}}G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}case 700:{be=0;ea(h+8|0,1|0,2,0);G=p;H=f;I=K;J=L;break}case 708:{be=0;ea(h+8|0,1|0,2,0);G=p;H=f;I=K;J=L;break}case 711:{be=0;g=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(g+25>>0|0,1|0,1,0);ea(g+60|0,0|0,4,0);g=da(g|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L}else{G=g+56|0;Vc(da(G|0,4,0,0)|0|0);ea(G|0,0|0,4,0);ea(g+73>>0|0,0|0,1,0);G=p;H=f;I=K;J=L}break}case 801:{be=0;g=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(g|0,4,0,0)|0|0;z=A+8|0;ea(z|0,1|0,2,0);if((da(h+73>>0|0,1,0,0)|0|0)!=1?(Od=im(g)|0,(Od|0)!=0):0){g=e;h=Od;be=1318;break c}if(!(da(g+25>>0|0,1,0,0)|0)){J=Ld;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);jm(h,Ld);ea(fc|0,0|0,2,0);ea(gc|0,ee|0,4,0);ea(hc|0,0|0,4,0);h=mm(h,0,da(Ld|0,4,0,0)|0|0,1,Tc)|0;do if(!h){g=da(jc|0,4,0,0)|0|0;h=da(g>>0|0,1,0,0)|0|0;if(h<<24>>24>-1){s=h&255;ea(jd|0,s|0,4,0)}else{lm(g,jd)|0;s=da(jd|0,4,0,0)|0|0}if(!(s>>>0<3?1:(s|0)>(da(mc|0,4,0,0)|0|0))){g=(da(jc|0,4,0,0)|0|0)+(s+-1)|0;h=da(g>>0|0,1,0,0)|0|0;if(h<<24>>24>-1){h=h&255;ea(Gd|0,h|0,4,0)}else{lm(g,Gd)|0;h=da(Gd|0,4,0,0)|0|0}if(!((h+-1|0)>>>0>8|(h|0)==7)){if(h>>>0>11)g=(h+-12|0)>>>1;else g=da(34336+h>>0|0,1,0,1)|0|0;l=da(mc|0,4,0,0)|0|0;if(l>>>0>=(g+s|0)>>>0){nm((da(jc|0,4,0,0)|0|0)+(l-g)|0,h,Jd)|0;l=Jd;g=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;if(((da(fc|0,2,0,0)|0)&9312)==0&(da(hc|0,4,0,0)|0|0)==0){h=0;break}Pg(Tc);h=0;break}}}if(!(((da(fc|0,2,0,0)|0)&9312)==0&(da(hc|0,4,0,0)|0|0)==0))Pg(Tc);ea(de|0,68698|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);h=11;g=0;l=0}else{g=0;l=0}while(0);if(h){g=e;be=1318;break c}G=A;ea(G|0,g|0,4,0);ea(G+4|0,l|0,4,0);ea(z|0,4|0,2,0);G=p;H=f;I=K;J=L;h=A}else{G=p;H=f;I=K;J=L;h=A}break}case 865:{be=0;m=da(s|0,4,0,0)|0|0;s=da((da(Qd|0,4,0,0)|0|0)+(z<<4)+12|0,4,0,0)|0|0;g=da(s+16|0,4,0,0)|0|0;if(g)do{l=(da(g+8|0,4,0,0)|0|0)+32|0;if((da(l|0,4,0,0)|0|0)==(q|0))ea(l|0,m|0,4,0);g=da(g|0,4,0,0)|0|0}while((g|0)!=0);g=da(s+32|0,4,0,0)|0|0;if(g)do{l=(da(g+8|0,4,0,0)|0|0)+40|0;if((da(l|0,4,0,0)|0|0)==(q|0))ea(l|0,m|0,4,0);g=da(g|0,4,0,0)|0|0}while((g|0)!=0);G=p;H=f;I=K;J=L;n=z+1&255;break}case 878:{be=0;Zm(ee,h);G=p;H=f;I=K;J=L;h=y;break}case 881:{be=0;J=da(f+(e*20|0)+4|0,4,0,0)|0|0;ea(Rc|0,ee|0,4,0);ea(W|0,J|0,4,0);ea(X|0,ce|0,4,0);h=da(f+(e*20|0)+16|0,4,0,0)|0|0;ea(de|0,da((da(Qd|0,4,0,0)|0|0)+(J<<4)|0,4,0,0)|0|0,4,0);ea(de+4|0,((J|0)==1?13184:13208)|0,4,0);ea(de+8|0,h|0,4,0);h=th(ee,42048,de)|0;if(!h){g=e;h=n;be=882;break c}ea(Y>>0|0,1|0,1,0);ea(aa|0,0|0,4,0);g=Pe(ee,h,22,Rc,0)|0;g=(g|0)==0?da(aa|0,4,0,0)|0|0:g;lg(ee,h);ea(Y>>0|0,0|0,1,0);if(!g){G=p;H=f;I=K;J=L;h=y}else{f=g;g=e;h=n;be=884;break c}break}case 886:{be=0;jg(ee,Hk((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+8|0,da(f+(e*20|0)+16|0,4,0,0)|0|0,0)|0);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);G=p;H=f;I=K;J=L;break}case 887:{be=0;s=Hk((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+24|0,da(f+(e*20|0)+16|0,4,0,0)|0|0,0)|0;if(s){g=(da(s+12|0,4,0,0)|0|0)+8|0;h=da(g|0,4,0,0)|0|0;z:do if((h|0)==(s|0))ea(g|0,da(s+20|0,4,0,0)|0|0,4,0);else{do{if(!h)break z;g=h+20|0;h=da(g|0,4,0,0)|0|0}while((h|0)!=(s|0));ea(g|0,da(s+20|0,4,0,0)|0|0,4,0)}while(0);Ik(ee,s)}ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);G=p;H=f;I=K;J=L;h=y;break}case 895:{be=0;s=Hk((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+40|0,da(f+(e*20|0)+16|0,4,0,0)|0|0,0)|0;if(!s){G=p;H=f;I=K;J=L}else{g=da(s+20|0,4,0,0)|0|0;if((g|0)==(da(s+24|0,4,0,0)|0|0)){g=an(g+8|0,da(s+4|0,4,0,0)|0|0,de)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;l=g+64|0;while(1){J=da(l|0,4,0,0)|0|0;g=J+32|0;if((J|0)==(s|0))break;else l=g}ea(l|0,da(g|0,4,0,0)|0|0,4,0)}ig(ee,s);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);G=p;H=f;I=K;J=L}break}case 903:{be=0;A=da(f+(g*20|0)+8|0,4,0,0)|0|0;H=lh(ee,(A<<2)+4|0,0)|0;if(!H){o=$d;p=ce;e=d;d=n;be=1317;break a}q=da(f+(g*20|0)+12|0,4,0,0)|0|0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(G*40|0)|0;if((A|0)>0){s=0;do{J=Ug(p+((s+G|0)*40|0)|0)|0;ea(H+(s<<2)|0,J|0,4,0);s=s+1|0}while((s|0)!=(A|0));s=A}else s=0;ea(H+(s<<2)|0,0|0,4,0);x=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+3>>0|0,1,0,1)|0)<<4)+4|0,4,0,0)|0|0;F=p+(q*40|0)|0;J=da(F|0,4,0,0)|0|0;D=da(x+4|0,4,0,0)|0|0;ea(D+4|0,da(x|0,4,0,0)|0|0,4,0);x=da(D|0,4,0,0)|0|0;m=da((da(x+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;ea(Ld|0,D|0,4,0);ea(ca|0,x|0,4,0);x=da(D+44|0,4,0,0)|0|0;ea(ga|0,x|0,4,0);ea(ha|0,J|0,4,0);ea(ia+0|0,0|0,4,0);ea(ia+4|0,0|0,4,0);ea(ia+8|0,0|0,4,0);ea(ia+12|0,0|0,4,0);ea(ia+16|0,0|0,4,0);do if(!x){q=0;s=0}else{y=(x>>>3)+1|0;w=pg(y,0)|0;if(!w){ea(la|0,0|0,4,0);q=0;s=1;break}ew(w|0,0,y|0)|0;ea(la|0,w|0,4,0);E=D+32|0;y=(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0)+1|0;if(y>>>0<=x>>>0){J=w+(y>>>3)|0;ea(J>>0|0,da(J>>0|0,1,0,1)|0|1<<(y&7)|0,1,0)}ea(na|0,Gd|0,4,0);ea(oa|0,Gd|0,4,0);ea(ma|0,0|0,4,0);ea(pa|0,0|0,4,0);ea(qa|0,100|0,4,0);ea(ra|0,1e9|0,4,0);ea(ta>>0|0,0|0,1,0);ea(sa>>0|0,2|0,1,0);ea(ka|0,43592|0,4,0);s=da((da(D+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;bn(Ld,1,(da(s+33>>0|0,1,0,1)|0)<<16|(da(s+32>>0|0,1,0,1)|0)<<24|(da(s+34>>0|0,1,0,1)|0)<<8|(da(s+35>>0|0,1,0,1)|0),(da(s+37>>0|0,1,0,1)|0)<<16|(da(s+36>>0|0,1,0,1)|0)<<24|(da(s+38>>0|0,1,0,1)|0)<<8|(da(s+39>>0|0,1,0,1)|0));ea(ka|0,0|0,4,0);s=da(ha|0,4,0,0)|0|0;if(!((A|0)<1|(s|0)==0)){v=D+17|0;w=0;do{x=H+(w<<2)|0;y=da(x|0,4,0,0)|0|0;if(y){if((da(v>>0|0,1,0,0)|0|0)!=0&(y|0)>1){cn(Ld,y,1,0);y=da(x|0,4,0,0)|0|0}ea(ka|0,43608|0,4,0);dn(Ld,y,0,0)|0;ea(ka|0,0|0,4,0);s=da(ha|0,4,0,0)|0|0}w=w+1|0}while(!((w|0)>=(A|0)|(s|0)==0))}if(!((da(ga|0,4,0,0)|0|0)==0|(s|0)==0)){A=D+17|0;z=D+36|0;u=1;do{w=u>>>3;y=da((da(la|0,4,0,0)|0|0)+w>>0|0,1,0,0)|0|0;v=1<<(u&7);do if(!(y&255&v)){if(u>>>0<2)x=0;else{x=u+-2|0;x=x-((x>>>0)%(((((da(z|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;x=((x+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+x|0}if((x|0)==(u|0)?(da(A>>0|0,1,0,0)|0|0)!=0:0)break;ea(de|0,u|0,4,0);en(Ld,43632,de);y=da((da(la|0,4,0,0)|0|0)+w>>0|0,1,0,0)|0|0}while(0);do if(y&255&v){if(u>>>0<2)y=0;else{y=u+-2|0;y=y-((y>>>0)%(((((da(z|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;y=((y+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+y|0}if((y|0)!=(u|0))break;if(!(da(A>>0|0,1,0,0)|0))break;ea(de|0,u|0,4,0);en(Ld,43656,de)}while(0);u=u+1|0}while(!((da(ha|0,4,0,0)|0|0)==0?1:u>>>0>(da(ga|0,4,0,0)|0|0)>>>0))}s=da((da((da(D|0,4,0,0)|0|0)+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;if((m|0)!=(s|0)){ea(de|0,m|0,4,0);ea(de+4|0,s|0,4,0);en(Ld,43696,de)}Vc(da(la|0,4,0,0)|0|0);if(da(ja|0,4,0,0)|0){fn(ma);q=0;s=(da(ia|0,4,0,0)|0|0)+1|0;break}s=da(ia|0,4,0,0)|0|0;if(!s)fn(ma);q=sg(ma)|0}while(0);lg(ee,H);J=F;J=cw(da(J|0,4,0,0)|0|0,da(J+4|0,4,0,0)|0|0,s|0,((s|0)<0)<<31>>31|0)|0;e=F;ea(e|0,J|0,4,0);ea(e+4|0,C|0,4,0);e=p+(G*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312))ea(e|0,1|0,2,0);else ug(l);if(s){if(!q){o=$d;p=ce;e=d;d=n;be=1317;break a}Wg(l,q,-1,1,1)|0}Xl(l,qb)|0;G=p;H=f;I=K;J=L;e=g;break}case 947:{be=0;l=da(f+(g*20|0)+4|0,4,0,0)|0|0;e=p+(l*40|0)|0;h=da(f+(g*20|0)+8|0,4,0,0)|0|0;l=p+(l*40|0)+8|0;if(((da(l|0,2,0,0)|0)&32)==0?(gn(e),((da(l|0,2,0,0)|0)&32)==0):0){o=$d;p=ce;e=d;d=n;be=1317;break a}G=p+(h*40|0)|0;hn(da(e|0,4,0,0)|0|0,da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0);G=p;H=f;I=K;J=L;h=y;e=g;break}case 966:{be=0;e=da(f+(g*20|0)+4|0,4,0,0)|0|0;F=p+(e*40|0)|0;E=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;D=da(f+(g*20|0)+16|0,4,0,0)|0|0;e=p+(e*40|0)+8|0;if(((da(e|0,2,0,0)|0)&32)==0?(gn(F),((da(e|0,2,0,0)|0)&32)==0):0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(D){A=da(F|0,4,0,0)|0|0;l=E;B=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;z=A+28|0;if((da(z|0,4,0,0)|0|0)!=(D|0)){s=A+8|0;y=da(s|0,4,0,0)|0|0;if(y){x=A+20|0;q=A+26|0;if(!((da(q|0,2,0,0)|0)&1))y=jn(y)|0;w=da(x|0,4,0,0)|0|0;A:do if(!w){$c=y;kd=x;be=978}else{while(1){x=w+12|0;v=da(x|0,4,0,0)|0|0;if(!v)break;u=w+8|0;kn(v,de,Ld);ea(x|0,0|0,4,0);y=ln(da(de|0,4,0,0)|0|0,y)|0;w=da(u|0,4,0,0)|0|0;if(!w){$c=y;kd=u;be=978;break A}}ea(x|0,mn(y)|0|0,4,0)}while(0);if((be|0)==978?(be=0,Dc=nn(A)|0,ea(kd|0,Dc|0,4,0),(Dc|0)!=0):0){J=Dc;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);ea(Dc+8|0,0|0,4,0);ea(Dc+12|0,mn($c)|0|0,4,0)}ea(s|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(q|0,da(q|0,2,0,1)|0|1|0,2,0)}ea(z|0,D|0,4,0)}s=da(A+20|0,4,0,0)|0|0;B:do if(s){C:while(1){q=da(s+12|0,4,0,0)|0|0;if(q)do{e=q;u=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if((e|0)<(l|0)|(e|0)==(l|0)&u>>>0<B>>>0)q=q+8|0;else{if(!((e|0)>(l|0)|(e|0)==(l|0)&u>>>0>B>>>0))break C;q=q+12|0}q=da(q|0,4,0,0)|0|0}while((q|0)!=0);s=da(s+8|0,4,0,0)|0|0;if(!s)break B}G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break q}while(0);if((D|0)>-1)s=E;else{G=p;H=f;I=K;J=L;e=g;break}}else s=E;G=s;hn(da(F|0,4,0,0)|0|0,da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0);G=p;H=f;I=K;J=L;e=g;break}case 993:{be=0;z=da(f+(e*20|0)+16|0,4,0,0)|0|0;x=da(f+(e*20|0)+12|0,4,0,0)|0|0;A=p+(x*40|0)|0;if((da(f+(e*20|0)+3>>0|0,1,0,0)|0|0)!=0?(Ec=da(z+20|0,4,0,0)|0|0,ed=da(lb|0,4,0,0)|0|0,(ed|0)!=0):0){g=ed;while(1){if((da(g+28|0,4,0,0)|0|0)==(Ec|0)){G=p;H=f;I=K;J=L;break q}g=da(g+4|0,4,0,0)|0|0;if(!g){g=e;break}}}else g=e;e=da(mb|0,4,0,0)|0|0;if((e|0)>=(da(ua|0,4,0,0)|0|0)){h=n;be=998;break c}u=p+(x*40|0)+8|0;if(!((da(u|0,2,0,0)|0)&64)){s=z+12|0;q=da(s|0,4,0,0)|0|0;e=q+(da(z+8|0,4,0,0)|0|0)|0;f=z+16|0;q=(q<<2)+80+(da(f|0,4,0,0)|0|0)+(e*40|0)|0;y=lh(ee,q,((q|0)<0)<<31>>31)|0;if(!y){o=$d;p=ce;e=d;d=n;be=1317;break a}ew(y|0,0,q|0)|0;if(!(((da(u|0,2,0,0)|0)&9312)==0?(da(p+(x*40|0)+24|0,4,0,0)|0|0)==0:0))Pg(A);ea(u|0,64|0,2,0);ea(A|0,y|0,4,0);ea(y|0,a|0,4,0);ea(y+60|0,e|0,4,0);ea(y+64|0,da(s|0,4,0,0)|0|0,4,0);ea(y+44|0,g|0,4,0);ea(y+16|0,da(Gc|0,4,0,0)|0|0,4,0);ea(y+52|0,da(va|0,4,0,0)|0|0,4,0);ea(y+24|0,da(Bb|0,4,0,0)|0|0,4,0);ea(y+40|0,da(wa|0,4,0,0)|0|0,4,0);ea(y+8|0,da(rc|0,4,0,0)|0|0,4,0);ea(y+48|0,da(xa|0,4,0,0)|0|0,4,0);ea(y+28|0,da(z+20|0,4,0,0)|0|0,4,0);ea(y+20|0,da(Ab|0,4,0,0)|0|0,4,0);ea(y+56|0,da(ya|0,4,0,0)|0|0,4,0);p=y+80|0;e=p+(e*40|0)|0;if((p|0)!=(e|0))do{ea(p+8|0,128|0,2,0);ea(p+32|0,ee|0,4,0);p=p+40|0}while((p|0)!=(e|0));e=da(mb|0,4,0,0)|0|0;p=y}else{f=z+16|0;p=da(A|0,4,0,0)|0|0}ea(mb|0,e+1|0,4,0);ea(p+4|0,da(lb|0,4,0,0)|0|0,4,0);G=p+32|0;ea(G|0,d|0,4,0);ea(G+4|0,c|0,4,0);ea(p+68|0,da(nb|0,4,0,0)|0|0,4,0);ea(p+72|0,da((da(a|0,4,0,0)|0|0)+80|0,4,0,0)|0|0,4,0);ea(nb|0,0|0,4,0);ea(lb|0,p|0,4,0);G=p+40|0;ea(Gc|0,G|0,4,0);I=da(p+60|0,4,0,0)|0|0;ea(va|0,I|0,4,0);J=(da(p+64|0,4,0,0)|0)&65535;ea(wa|0,J|0,4,0);I=G+((I+1|0)*40|0)|0;ea(Bb|0,I|0,4,0);H=da(z|0,4,0,0)|0|0;ea(rc|0,H|0,4,0);ea(xa|0,da(z+4|0,4,0,0)|0|0,4,0);J=I+(J<<2)|0;ea(Ab|0,J|0,4,0);I=da(f|0,4,0,0)|0|0;ea(ya|0,I|0,4,0);ew(J|0,0,I|0)|0;I=K;J=L;e=-1;break}case 1009:{be=0;G=da(lb|0,4,0,0)|0|0;Yl(h,(da(G+16|0,4,0,0)|0|0)+(((da((da(G+8|0,4,0,0)|0|0)+((da(G+44|0,4,0,0)|0|0)*20|0)+4|0,4,0,0)|0|0)+(da(f+(e*20|0)+4|0,4,0,0)|0|0)|0)*40|0)|0,4096);G=p;H=f;I=K;J=L;break}case 1010:{be=0;if((da(Mb|0,4,0,0)|0)&16777216){H=da(f+(e*20|0)+8|0,4,0,0)|0|0;G=Kb;H=iw(da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0,H|0,((H|0)<0)<<31>>31|0)|0;G=Kb;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;break}g=da(f+(e*20|0)+8|0,4,0,0)|0|0;h=((g|0)<0)<<31>>31;if(!(da(f+(e*20|0)+4|0,4,0,0)|0)){H=Td;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,g|0,h|0)|0;G=Td;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;break}else{H=Jb;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,g|0,h|0)|0;G=Jb;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;break}}case 1015:{be=0;if(!(da(f+(e*20|0)+4|0,4,0,0)|0)){J=Td;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}J=Kb;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}else{J=Jb;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}J=Kb;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}}case 1022:{be=0;g=da(lb|0,4,0,0)|0|0;if(!g)m=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;else{while(1){h=da(g+4|0,4,0,0)|0|0;if(!h)break;else g=h}m=(da(g+16|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0}J=Ug(m)|0;l=m;ea(l|0,J|0,4,0);ea(l+4|0,C|0,4,0);l=m+8|0;ea(l|0,(da(l|0,2,0,1)|0)&48640|4|0,2,0);l=da(f+(e*20|0)+8|0,4,0,0)|0|0;J=p+(l*40|0)|0;g=Ug(J)|0;h=C;ea(J|0,g|0,4,0);ea(J+4|0,h|0,4,0);l=p+(l*40|0)+8|0;ea(l|0,(da(l|0,2,0,1)|0)&48640|4|0,2,0);l=m;J=da(l+4|0,4,0,0)|0|0;if((J|0)<(h|0)|((J|0)==(h|0)?(da(l|0,4,0,0)|0|0)>>>0<g>>>0:0)){G=m;ea(G|0,g|0,4,0);ea(G+4|0,h|0,4,0);G=p;H=f;I=K;J=L;h=A}else{G=p;H=f;I=K;J=L;h=A}break}case 1028:{be=0;J=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;I=da(J+4|0,4,0,0)|0|0;if((I|0)>0|(I|0)==0&(da(J|0,4,0,0)|0|0)>>>0>0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1030:{be=0;H=da(f+(e*20|0)+12|0,4,0,0)|0|0;I=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;J=I;H=iw(da(J|0,4,0,0)|0|0,da(J+4|0,4,0,0)|0|0,H|0,((H|0)<0)<<31>>31|0)|0;J=C;ea(I|0,H|0,4,0);ea(I+4|0,J|0,4,0);if((J|0)<0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1032:{be=0;g=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;l=g;h=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;if((h|0)==0&(l|0)==0){G=p;H=f;I=K;J=L;h=y}else{H=da(f+(e*20|0)+12|0,4,0,0)|0|0;H=iw(H|0,((H|0)<0)<<31>>31|0,h|0,l|0)|0;G=g;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 1034:{be=0;H=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;I=H;I=iw(da(I|0,4,0,0)|0|0,da(I+4|0,4,0,0)|0|0,-1,-1)|0;J=C;ea(H|0,I|0,4,0);ea(H+4|0,J|0,4,0);if((I|0)==0&(J|0)==0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1036:{be=0;H=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;J=H;I=da(J|0,4,0,0)|0|0;J=da(J+4|0,4,0,0)|0|0;G=iw(I|0,J|0,1,0)|0;ea(H|0,G|0,4,0);ea(H+4|0,C|0,4,0);if((I|0)==0&(J|0)==0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1157:{be=0;G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break}case 1158:{be=0;if(da(f+(e*20|0)+4|0,4,0,0)|0){ea(Rd|0,da(Rd|0,2,0,0)|0|8|0,2,0);G=p;H=f;I=K;J=L;break}g=da(Ob|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L}else{do{J=g+88|0;ea(J|0,da(J|0,2,0,0)|0|8|0,2,0);g=da(g+52|0,4,0,0)|0|0}while((g|0)!=0);G=p;H=f;I=K;J=L}break}case 1166:{be=0;y=(da(m|0,4,0,0)|0|0)+72|0;g=da(y|0,4,0,0)|0|0;D:do if(g){while(1){if((da(g+4|0,4,0,0)|0|0)==(q|0)?(da(g|0,4,0,0)|0|0)==(s|0):0)break;g=da(g+12|0,4,0,0)|0|0;if(!g){be=1171;break D}}if(!g)be=1171}else be=1171;while(0);if((be|0)==1171){be=0;g=pg(16,0)|0;if(!g){g=e;f=7;h=n;be=1309;break c}I=g+0|0;J=I+12|0;do{ea(I>>0|0,0|0,1,0);I=I+1|0}while((I|0)<(J|0));ea(g+4|0,q|0,4,0);ea(g|0,s|0,4,0);ea(g+12|0,da(y|0,4,0,0)|0|0,4,0);ea(y|0,g|0,4,0)}g=g+8|0;if((da(g>>0|0,1,0,1)|0|0)<(l&255)){ea(g>>0|0,l|0,1,0);G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L}break}case 1213:{be=0;ea(ld|0,0|0,4,0);l=da((da(f+(e*20|0)+16|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(!l){g=e;f=6;h=n;be=1309;break c}m=da(l|0,4,0,0)|0|0;if(!m){g=e;f=6;h=n;be=1309;break c}s=qc[(fa(da(m+24|0,4,0,0)|0|0,127|0)|0)&127](l,ld)|0;Lm(a,l);if(s){g=e;f=s;h=n;be=1309;break c}ea(da(ld|0,4,0,0)|0|0,l|0,4,0);g=wm(a,da(f+(e*20|0)+4|0,4,0,0)|0|0,0,-1,0)|0;if(!g){ea($d>>0|0,1|0,1,0);kc[(fa(da(m+28|0,4,0,0)|0|0,127|0)|0)&127](da(ld|0,4,0,0)|0|0)|0;G=p;H=f;I=K;J=L;break}else{ea(g+32|0,da(ld|0,4,0,0)|0|0,4,0);G=l+4|0;ea(G|0,(da(G|0,4,0,0)|0|0)+1|0,4,0);G=p;H=f;I=K;J=L;break}}case 1226:{be=0;g=p+(s*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);G=p;H=f;I=K;J=L;break}else{ug(q);G=p;H=f;I=K;J=L;break}}case 1257:{be=0;G=h;ea(G|0,da((da((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+44|0,4,0,0)|0|0,4,0);ea(G+4|0,0|0,4,0);G=p;H=f;I=K;J=L;break}case 1258:{be=0;l=da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;g=da(f+(e*20|0)+12|0,4,0,0)|0|0;h=da(l+4|0,4,0,0)|0|0;if(!g)g=0;else{J=da(h+44|0,4,0,0)|0|0;g=J>>>0<g>>>0?g:J}ea(h+4|0,da(l|0,4,0,0)|0|0,4,0);h=(da(h|0,4,0,0)|0|0)+156|0;if((g|0)>0)ea(h|0,g|0,4,0);else g=da(h|0,4,0,0)|0|0;G=y;ea(G|0,g|0,4,0);ea(G+4|0,((g|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;h=y;break}case 1264:{be=0;e=da(f+(g*20|0)+8|0,4,0,0)|0|0;e=(e|0)==0?g:e+-1|0;if((da(La|0,4,0,0)|0|0)!=0?((da(Rd|0,2,0,0)|0)&512)==0:0){g=da(f+(g*20|0)+16|0,4,0,0)|0|0;if(!g){g=da(Xd|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L;h=A;break}}ea(Ld|0,0|0,4,0);v=da(a|0,4,0,0)|0|0;l=da(v+88|0,4,0,0)|0|0;ea(_a|0,Gd|0,4,0);ea($a|0,Gd|0,4,0);ea(ab|0,0|0,4,0);ea(bb|0,100|0,4,0);ea(cb|0,l|0,4,0);ea(db>>0|0,1|0,1,0);ea(eb>>0|0,0|0,1,0);ea(jd|0,v|0,4,0);l=da(g>>0|0,1,0,0)|0|0;h=l<<24>>24==0;E:do if((da(v+160|0,4,0,0)|0|0)>1){if(!h)while(1){h=g;do{h=h+1|0;if(l<<24>>24==10)break;l=da(h>>0|0,1,0,0)|0|0}while(l<<24>>24!=0);Rk(jd,42288,3);Rk(jd,g,h-g|0);l=da(h>>0|0,1,0,0)|0|0;if(!(l<<24>>24))break;else g=h}}else if(!h){w=v+62|0;z=1;do{F:do if(!(l<<24>>24)){q=0;h=0}else{s=g;h=0;while(1){q=Bn(s,de)|0;if((da(de|0,4,0,0)|0|0)==135)break F;h=q+h|0;s=s+q|0;if(!(da(s>>0|0,1,0,0)|0)){q=0;break}}}while(0);Rk(jd,g,h);s=g+h|0;if(!q)break E;do if((da(s>>0|0,1,0,0)|0|0)==63)if((q|0)>1){Cn(g+(h+1)|0,Ld)|0;s=da(Ld|0,4,0,0)|0|0;break}else{ea(Ld|0,z|0,4,0);s=z;break}else{s=ph(a,s,q)|0;ea(Ld|0,s|0,4,0)}while(0);g=g+(h+q)|0;z=s+1|0;y=s+-1|0;x=da(tb|0,4,0,0)|0|0;s=x+(y*40|0)|0;q=da(x+(y*40|0)+8|0,2,0,1)|0|0;do if(!(q&1)){if(q&4){H=s;J=da(H+4|0,4,0,0)|0|0;I=de;ea(I|0,da(H|0,4,0,0)|0|0,4,0);ea(I+4|0,J|0,4,0);Dn(jd,0,19920,de);break}if(q&8){ea(k|0,+(+(+da(s|0,8,1,0))),8,1);ea(de|0,da(k|0,4,0,0)|0|0,4,0);ea(de+4|0,da(k+4|0,4,0,0)|0|0,4,0);Dn(jd,0,20272,de);break}if(!(q&2)){if(q&16384){ea(de|0,da(s|0,4,0,0)|0|0,4,0);Dn(jd,0,42304,de);break}Rk(jd,42320,2);u=da(x+(y*40|0)+12|0,4,0,0)|0|0;if((u|0)>0){s=x+(y*40|0)+16|0;q=0;do{ea(de|0,da((da(s|0,4,0,0)|0|0)+q>>0|0,1,0,1)|0|0,4,0);Dn(jd,0,42328,de);q=q+1|0}while((q|0)!=(u|0))}Rk(jd,42336,1);break}else{u=da(w>>0|0,1,0,0)|0|0;if(u<<24>>24==1){J=da(x+(y*40|0)+16|0,4,0,0)|0|0;ea(de|0,da(x+(y*40|0)+12|0,4,0,0)|0|0,4,0);ea(de+4|0,J|0,4,0);Dn(jd,0,42296,de);break}I=Hd+0|0;J=I+40|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));ea(gb|0,v|0,4,0);Wg(Hd,da(x+(y*40|0)+16|0,4,0,0)|0|0,da(x+(y*40|0)+12|0,4,0,0)|0|0,u,0)|0;J=da(hb|0,4,0,0)|0|0;if(!((J&2|0)==0|(J&16711680|0)==65536))An(Hd,1)|0;J=da(jb|0,4,0,0)|0|0;ea(de|0,da(ib|0,4,0,0)|0|0,4,0);ea(de+4|0,J|0,4,0);Dn(jd,0,42296,de);if(((da(hb|0,2,0,0)|0)&9312)==0&(da(kb|0,4,0,0)|0|0)==0)break;Pg(Hd);break}}else Rk(jd,20304,4);while(0);l=da(g>>0|0,1,0,0)|0|0}while(l<<24>>24!=0)}while(0);G=sg(jd)|0;ic[(fa(da(La|0,4,0,0)|0|0,15|0)|0)&15](da(fb|0,4,0,0)|0|0,G);lg(ee,G);G=p;H=f;I=K;J=L;h=A}else{G=p;H=f;I=K;J=L;h=A}break}}if((be|0)==28){be=0;p=f+(e*20|0)+4|0;g=da(p|0,4,0,0)|0|0;if(g){o=p;be=34;break}p=da(lb|0,4,0,0)|0|0;if(!p){be=30;break}ea(lb|0,da(p+4|0,4,0,0)|0|0,4,0);ea(mb|0,(da(mb|0,4,0,0)|0|0)+-1|0,4,0);c=da(nb|0,4,0,0)|0|0;ea(ob|0,c|0,4,0);ea(pb|0,(da(pb|0,4,0,0)|0|0)+c|0,4,0);p=Wl(p)|0;c=ge;g=da(rc|0,4,0,0)|0|0;if((da(f+(e*20|0)+8|0,4,0,0)|0|0)==4)e=(da(g+(p*20|0)+8|0,4,0,0)|0|0)+-1|0;else e=p;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;G=da(Gc|0,4,0,0)|0|0;H=g;I=K;J=L}else if((be|0)==488){be=0;h=rm(ee,s,q)|0;if(!h){G=p;H=f;I=K;J=L;h=u}else{g=e;be=1318;break}}p=G;f=H;K=I;L=J;g=e+1|0}switch(be|0){case 30:{ea(fe|0,g|0,4,0);ea(_d>>0|0,da(f+(e*20|0)+8|0,4,0,0)|0|0,1,0);ea(ae|0,e|0,4,0);be=41;break}case 34:{ea(fe|0,g|0,4,0);ea(_d>>0|0,da(f+(e*20|0)+8|0,4,0,0)|0|0,1,0);ea(ae|0,e|0,4,0);g=da(f+(e*20|0)+3>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){f=da(f+(e*20|0)+16|0,4,0,0)|0|0;if(!f){f=0;be=39}else{ea(de|0,f|0,4,0);ch(ce,ee,10344,de)}}else{h=da(41536+((g&255)+-1<<2)|0,4,0,0)|0|0;g=da(f+(e*20|0)+16|0,4,0,0)|0|0;if(!g){f=h;be=39}else{ea(de|0,h|0,4,0);ea(de+4|0,g|0,4,0);ch(ce,ee,41624,de)}}if((be|0)==39){ea(de|0,f|0,4,0);ch(ce,ee,41656,de)}be=da(o|0,4,0,0)|0|0;jd=da(Xd|0,4,0,0)|0|0;kd=da(ce|0,4,0,0)|0|0;ea(de|0,e|0,4,0);ea(de+4|0,jd|0,4,0);ea(de+8|0,kd|0,4,0);ad(be,41600,de);be=41;break}case 80:{n=da(Wd|0,4,0,0)|0|0;if(!((n|0)==0|b>>>0<o>>>0)?(kc[(fa(n|0,127|0)|0)&127](da(Sd|0,4,0,0)|0|0)|0)!=0:0){e=d;f=9;d=h;be=1311;break a}kd=Td;jd=da(kd+4|0,4,0,0)|0|0;if((jd|0)>0|(jd|0)==0&(da(kd|0,4,0,0)|0|0)>>>0>0){f=da(a|0,4,0,0)|0|0;ea(fe|0,787|0,4,0);ea(_d>>0|0,2|0,1,0);ch(ce,f,34376,de);f=1;be=1309;break}n=_l(a,1)|0;if(!n){ea(Ud|0,(da(Ud|0,4,0,0)|0|0)+2|1|0,4,0);o=da(f+(g*20|0)+4|0,4,0,0)|0|0;ea(Yd|0,p+(o*40|0)|0,4,0);e=f+(g*20|0)+8|0;if((da(e|0,4,0,0)|0|0)>0){n=0;do{l=n+o|0;m=p+(l*40|0)|0;l=p+(l*40|0)+8|0;f=da(l|0,2,0,0)|0|0;if(f&4096){if(Ul(m)|0){o=$d;p=ce;e=d;d=h;be=1317;break a}f=da(l|0,2,0,0)|0|0}if((f&514)==2)$l(m)|0;n=n+1|0}while((n|0)<(da(e|0,4,0,0)|0|0))}if(da($d>>0|0,1,0,0)|0){o=$d;p=ce;e=d;d=h;be=1317;break a}ea(ae|0,g+1|0,4,0);e=d;d=b;b=100;break a}else{f=n;be=1309}break}case 313:{ea(de|0,73058|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);f=11;be=1309;break}case 343:{ea(de|0,73142|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);f=11;be=1309;break}case 447:{ch(ce,ee,41712,de);g=e;f=5;be=1309;break}case 460:{ea(de|0,f|0,4,0);ch(ce,ee,41768,de);f=1;be=1309;break}case 462:{ch(ce,ee,41792,de);f=5;be=1309;break}case 467:{ea(ae|0,b|0,4,0);ea(Zd>>0|0,0|0,1,0);ea(fe|0,5|0,4,0);b=5;break a}case 489:{l=da(f+(g*20|0)+4|0,4,0,0)|0|0;f=da(f+(g*20|0)+8|0,4,0,0)|0|0;b=(l|0)!=0;if(b){f=(f|0)!=0;if(!(f|(da(Zd>>0|0,1,0,0)|0|0)!=0))if((da(Vd|0,4,0,0)|0|0)>0){ch(ce,ee,41848,de);b=d;d=e;f=5;be=1309;break}else f=0}else f=(f|0)!=0;if((l|0)==(da(Zd>>0|0,1,0,1)|0|0)){if(b)b=f?41952:42e3;else b=41904;ch(ce,ee,b,de);b=d;d=e;f=1;be=1309;break}if(!f){b=sm(a,1)|0;if(b)break a;ea(Zd>>0|0,l|0,1,0);if((Ql(a)|0)==5){ea(ae|0,g|0,4,0);ea(Zd>>0|0,1-l|0,1,0);ea(fe|0,5|0,4,0);b=5;break a}}else{Jl(ee,516);ea(Zd>>0|0,1|0,1,0)}Kl(ee);b=(da(fe|0,4,0,0)|0|0)==0?101:1;break a}case 508:{ea(ae|0,b|0,4,0);ea(fe|0,5|0,4,0);b=5;break a}case 522:{lg(ee,da(ce|0,4,0,0)|0|0);ea(ce|0,jh(ee,16040)|0|0,4,0);f=da(f|0,4,0,0)|0|0;if((da(da((da(Qd|0,4,0,0)|0|0)+(f<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)!=(l|0))um(ee,f);ea(Rd|0,da(Rd|0,2,0,0)|0|8|0,2,0);f=17;be=1309;break}case 542:{ea(de|0,73997|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);h=11;n=f;be=1318;break}case 560:{ea(f+56|0,0|0,4,0);f=7;be=1309;break}case 832:{ea(_d>>0|0,2|0,1,0);f=6;be=1309;break}case 882:{Dg(ee);o=$d;p=ce;e=d;d=h;be=1317;break a}case 884:{Dg(ee);if((f|0)==7){o=$d;p=ce;e=d;d=h;be=1317;break a}else be=1309;break}case 998:{ch(ce,ee,42112,de);f=1;be=1309;break}case 1080:{ea(de|0,(f?42208:42216)|0,4,0);ch(ce,ee,42152,de);f=1;be=1309;break}case 1101:{ch(ce,ee,42344,de);f=1;be=1309;break}case 1103:{ch(ce,ee,42384,de);f=1;be=1309;break}case 1145:{ea(de|0,56343|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);f=11;be=1309;break}case 1316:{ch(ce,ee,10096,de);e=d;f=18;d=h;be=1311;break a}}if((be|0)==41)if((Ql(a)|0)==5){ea(fe|0,5|0,4,0);e=d;d=b;b=5;break a}else{e=d;d=b;b=(da(fe|0,4,0,0)|0|0)!=0?1:101;break a}else if((be|0)==1309){e=d;g=g+1|0;d=h;be=1311;break a}else if((be|0)==1318){h=(da($d>>0|0,1,0,0)|0|0)==0?h:7;if((h|0)==3082){e=d;f=3082;d=n;be=1311;break a}else if((h|0)!=516){e=h&255;if(e>>>0>26|(e|0)==2)f=16328;else f=da(15488+(e<<2)|0,4,0,0)|0|0}else f=16344;ea(de|0,f|0,4,0);ch(ce,ee,10344,de);e=d;f=h;d=n;be=1311;break a}}else{h=a+44|0;e=d;b=0;g=0;d=0}while(0);ea(fe|0,9|0,4,0);ea(de|0,15832|0,4,0);ch(h,ee,10344,de);f=9;be=1311}while(0);if((be|0)==1317){ea(o>>0|0,1|0,1,0);ch(p,ee,15776,de);f=7;be=1311}if((be|0)==1311){ea(fe|0,f|0,4,0);jd=da(a+168|0,4,0,0)|0|0;kd=da(a+44|0,4,0,0)|0|0;ea(de|0,g|0,4,0);ea(de+4|0,jd|0,4,0);ea(de+8|0,kd|0,4,0);ad(f,42256,de);Ql(a)|0;if((f|0)==3082)ea(ee+65>>0|0,1|0,1,0);if(!(d<<24>>24)){d=b;b=1}else{um(ee,(d&255)+-1|0);d=b;b=1}}kd=ge;ea(kd|0,e|0,4,0);ea(kd+4|0,c|0,4,0);kd=a+124|0;ea(kd|0,(da(kd|0,4,0,0)|0|0)+d|0,4,0);i=he;return b|0}
function Dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=a+20|0;n=a+14|0;b=da(n>>0|0,1,0,0)|0|0;s=a+13|0;c=da(s>>0|0,1,0,0)|0|0;a:do if((b&255)>(c&255))b=0;else{u=a+4|0;v=a+16|0;o=a+8|0;p=a+12|0;q=a+24|0;r=a+28|0;e=b&255;f=da(u|0,4,0,0)|0|0;d=da(w|0,4,0,0)|0|0;b:while(1){m=da(a+(e+-2<<2)+24|0,4,0,0)|0|0;l=da(a+(e+-1<<2)+24|0,4,0,0)|0|0;if(f){while(1){k=f+12|0;if((d|0)<(da(k|0,4,0,0)|0|0)){c=d;b=(da(f+20|0,4,0,0)|0|0)+(d*48|0)|0;while(1){do if((da(b+8|0,4,0,0)|0|0)==(m|0)?(da(b+12|0,4,0,0)|0|0)==(l|0):0){if((da(n>>0|0,1,0,1)|0|0)>=3?((da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0)&1|0)!=0:0)break;j=b+18|0;d=da(j|0,2,0,0)|0|0;if((d&1024)!=0?(t=da(s>>0|0,1,0,0)|0|0,(t&255)<22):0){e=da((da(b|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;c:do if(!e)e=0;else while(1){g=da(e+4|0,4,0,0)|0|0;if(!(g&4096))break c;if(!(g&262144))e=e+12|0;else e=da((da(e+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;e=da(e|0,4,0,0)|0|0;if(!e){e=0;break}}while(0);d:do if(!(t<<24>>24)){i=0;g=0}else{h=da(e+28|0,4,0,0)|0|0;i=e+32|0;g=0;while(1){if((da(a+(g<<2)+24|0,4,0,0)|0|0)==(h|0)?(da(a+((g|1)<<2)+24|0,4,0,0)|0|0)==(da(i|0,2,0,0)|0|0):0){i=t;break d}g=g+2|0;if((g|0)>=(t&255|0)){i=t;break}}}while(0);if((g|0)==(i&255|0)){ea(a+(g<<2)+24|0,da(e+28|0,4,0,0)|0|0,4,0);ea(a+((g|1)<<2)+24|0,da(e+32|0,2,0,0)|0|0,4,0);ea(s>>0|0,(da(s>>0|0,1,0,1)|0|0)+2|0,1,0)}}e=d&65535;if(e&(da(v|0,4,0,0)|0)){if((da(o|0,4,0,0)|0|0)!=0&(e&128|0)==0){h=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;g=da(b|0,4,0,0)|0|0;e=da(p>>0|0,1,0,0)|0|0;d=(mv(g)|0)<<24>>24;if((d|0)==66){if(e<<24>>24!=66)break}else if((d|0)!=65?e<<24>>24<=66:0)break;d=Nu(h,da(g+12|0,4,0,0)|0|0,da(g+16|0,4,0,0)|0|0)|0;if(!d)d=da((da(h|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(cd(da(d|0,4,0,0)|0|0,da(o|0,4,0,0)|0|0)|0)break;d=da(j|0,2,0,0)|0|0}if(!(d&2))break b;d=da((da(b|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)!=-102)break b;if((da(d+28|0,4,0,0)|0|0)!=(da(q|0,4,0,0)|0|0))break b;if((da(d+32|0,2,0,0)|0|0)!=(da(r|0,4,0,0)|0|0))break b}}while(0);c=c+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break;else b=b+48|0}c=da(u|0,4,0,0)|0|0}else c=f;f=da(c+4|0,4,0,0)|0|0;ea(u|0,f|0,4,0);if(!f)break;else d=0}b=da(n>>0|0,1,0,0)|0|0;c=da(s>>0|0,1,0,0)|0|0}f=da(a|0,4,0,0)|0|0;ea(u|0,f|0,4,0);d=(b&255)+2|0;b=d&255;ea(n>>0|0,b|0,1,0);if((b&255)>(c&255)){b=0;break a}else{e=d&255;d=0}}ea(w|0,c+1|0,4,0)}while(0);return b|0}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(a|0,4,0,0)|0|0;h=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;a=da(a+16|0,4,0,0)|0|0;a:do if(!a){c=c+16|0;e=da(c|0,4,0,0)|0|0;g=b+36|0;if(((da(g|0,4,0,0)|0)&512|0)!=0&(e|0)!=0){a=b+20|0;f=b+22|0;d=da(b+16>>0|0,1,0,0)|0|0;do{do if((da(e+16>>0|0,1,0,0)|0|0)==d<<24>>24?((da(e+36|0,4,0,0)|0)&512|0)!=0:0){if(Sv(e,b)|0){ea(a|0,da(e+20|0,2,0,0)|0|0|0,2,0);ea(f|0,(da(e+22|0,2,0,1)|0|0)+65535|0,2,0);break}if(Sv(b,e)|0){ea(a|0,da(e+20|0,2,0,0)|0|0|0,2,0);ea(f|0,(da(e+22|0,2,0,1)|0|0)+1|0,2,0)}}while(0);e=da(e+52|0,4,0,0)|0|0}while((e|0)!=0)}a=Tv(c,b)|0;if(a){c=da(a|0,4,0,0)|0|0;b:do if(c){a=c+52|0;if(da(a|0,4,0,0)|0)do{a=Tv(a,b)|0;if(!a)break b;d=da(a|0,4,0,0)|0|0;if(!d)break b;ea(a|0,da(d+52|0,4,0,0)|0|0,4,0);Iu(h,d);lg(h,d)}while((da(a|0,4,0,0)|0|0)!=0)}else{c=lh(h,72,0)|0;ea(a|0,c|0,4,0);if(!c){a=7;break a}ea(c+48|0,c+56|0,4,0);ea(c+40|0,0|0,2,0);ea(c+44|0,3|0,2,0);ea(c+36|0,0|0,4,0);ea(c+52|0,0|0,4,0)}while(0);Kv(h,c);do if(!(Mu(h,c,da(b+40|0,2,0,1)|0|0)|0)){d=c+0|0;a=b+0|0;e=d+44|0;do{ea(d|0,da(a|0,4,0,0)|0|0,4,0);d=d+4|0;a=a+4|0}while((d|0)<(e|0));jw(da(c+48|0,4,0,0)|0|0,da(b+48|0,4,0,0)|0|0,(da(c+40|0,2,0,1)|0)<<2|0)|0;a=da(g|0,4,0,0)|0|0;if(a&1024){ea(b+28>>0|0,0|0,1,0);break}if(a&16384)ea(b+28|0,0|0,4,0)}else{a=c+24|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0)}while(0);if((((da(c+36|0,4,0,0)|0)&1024|0)==0?(i=c+28|0,j=da(i|0,4,0,0)|0|0,(j|0)!=0):0)?(da(j+40|0,4,0,0)|0|0)==0:0){ea(i|0,0|0,4,0);a=0}else a=0}else a=0}else{c=b;Jv(a,da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da(b+20|0,2,0,0)|0|0,da(b+22|0,2,0,0)|0|0);a=0}while(0);return a|0}function Fv(a,b){a=a|0;b=b|0;var c=0,d=0;c=a<<16>>16;d=b<<16>>16;do if(a<<16>>16<b<<16>>16)if((d|0)<=(c+49|0))if((d|0)>(c+31|0)){a=d+1&65535;break}else{a=(da(34032+(d-c)>>0|0,1,0,1)|0|0)+d&65535;break}else a=b;else if((c|0)<=(d+49|0))if((c|0)>(d+31|0)){a=c+1&65535;break}else{a=(da(34032+(c-d)>>0|0,1,0,1)|0|0)+c&65535;break}while(0);return a|0}function Gv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if(!(Bu(a,b,c)|0))d=1;else{d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24==77)e=6;else if(d<<24>>24==71){if(Gv(a,da(b+12|0,4,0,0)|0|0,c)|0){d=1;break}if(Gv(a,da(b+16|0,4,0,0)|0|0,c)|0){d=1;break}if(d<<24>>24==77)e=6}if(((e|0)==6?(Bu(da(a+12|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,c)|0)==0:0)?(d=da(a>>0|0,1,0,0)|0|0,!(d<<24>>24==73|d<<24>>24==76)):0){d=1;break}d=0}while(0);return d|0}function Hv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();r=s;p=b;q=b+8|0;d=q;o=~(da(d|0,4,0,0)|0|(da(p|0,4,0,0)|0));p=~(da(d+4|0,4,0,0)|0|(da(p+4|0,4,0,0)|0));d=da(a+12|0,4,0,0)|0|0;m=a+20|0;a:do if((d|0)>0){n=b+40|0;a=b+22|0;l=b+48|0;b=0;k=da(m|0,4,0,0)|0|0;while(1){if((da(k+20|0,2,0,0)|0)&2)break a;f=k+40|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;g=q;b:do if((((da(g|0,4,0,0)|0)&e|0)!=0?1:((da(g+4|0,4,0,0)|0)&f|0)!=0)&((e&o|0)==0&(f&p|0)==0)){e=da(n|0,2,0,0)|0|0;c:do if(e<<16>>16){h=da(l|0,4,0,0)|0|0;f=e&65535;while(1){e=f;f=f+-1|0;g=da(h+(f<<2)|0,4,0,0)|0|0;if(g){if((g|0)==(k|0))break;g=da(g+4|0,4,0,0)|0|0;if((g|0)>-1?((da(m|0,4,0,0)|0|0)+(g*48|0)|0)==(k|0):0)break}if((f|0)<=0)break c}if((e|0)>=1)break b}while(0);e=da(k+16|0,2,0,0)|0|0;if(e<<16>>16<1){ea(a|0,(da(a|0,2,0,1)|0|0)+(e&65535)|0,2,0);break}ea(a|0,(da(a|0,2,0,0)|0|0)+-1<<16>>16|0,2,0);if((da(k+18|0,2,0,0)|0)&2){g=(Ls(da((da(k|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r)|0)!=0;h=da(r|0,4,0,0)|0|0;h=g&(h|0)>-2&(h|0)<2?10:20;ea(r|0,h|0,4,0);b=(b<<16>>16|0)<(h|0)?h&65535:b}}while(0);d=d+-1|0;if((d|0)<=0)break;else k=k+48|0}}else{a=b+22|0;b=0}while(0);b=(c<<16>>16)-(b<<16>>16)|0;if((da(a|0,2,0,0)|0|0)>(b|0))ea(a|0,b|0,2,0);i=s;return}function Iv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;aa=i;i=i+112|0;if((i|0)>=(j|0))ba();L=aa;P=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;_=da(a+12|0,4,0,0)|0|0;if(!(da(P+65>>0|0,1,0,0)|0)){$=_+36|0;if(!((da($|0,4,0,0)|0)&32))if((da(c+40|0,4,0,0)|0|0)<1)e=63;else e=((da(b+36>>0|0,1,0,0)|0)&8)<<4^191;else e=24;Q=c+51|0;Y=_+24|0;f=da((da(c+4|0,4,0,0)|0|0)+((da(Y|0,2,0,1)|0)<<1)|0,2,0,0)|0|0;H=f<<16>>16;I=a+4|0;e=Cv(L,da(I|0,4,0,0)|0|0,da(b+40|0,4,0,0)|0|0,H,((da(Q>>0|0,1,0,0)|0)&4)==0?e:e&131,c)|0;R=da(Y|0,2,0,0)|0|0;S=_+42|0;N=da(S|0,2,0,0)|0|0;T=_+40|0;O=da(T|0,2,0,0)|0|0;U=da($|0,4,0,0)|0|0;K=_;J=da(K|0,4,0,0)|0|0;K=da(K+4|0,4,0,0)|0|0;V=_+22|0;W=da(V|0,2,0,0)|0|0;ea(_+18|0,0|0,2,0);X=c+8|0;x=da(da(X|0,4,0,0)|0|0,2,0,0)|0|0;if(x<<16>>16<11)w=0;else{w=x<<16>>16;w=((es(w,((w|0)<0)<<31>>31)|0)&65535)+65503&65535}a:do if(!e)e=0;else{y=f<<16>>16<0;z=b+16|0;A=_+8|0;B=(O&65535)+1|0;C=_+48|0;D=d<<16>>16==0;E=c+46|0;q=f<<16>>16>-1;r=c+50|0;s=c+44|0;t=_+20|0;u=d<<16>>16;v=c+48|0;g=0;p=e;l=0;while(1){f=da(p+18|0,2,0,0)|0|0;m=f&65535;if(f<<16>>16==128)if(!y?(da((da((da(z|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(H*24|0)+20>>0|0,1,0,0)|0|0)==0:0)M=12;else{f=l;e=0}else M=12;if((M|0)==12){M=0;k=p+32|0;e=k;h=A;if((((da(h|0,4,0,0)|0)&(da(e|0,4,0,0)|0)|0)==0?((da(h+4|0,4,0,0)|0)&(da(e+4|0,4,0,0)|0)|0)==0:0)?(F=p+20|0,!(((da(F|0,2,0,0)|0)&256)!=0&f<<16>>16==16)):0){ea($|0,U|0,4,0);ea(Y|0,R|0,2,0);ea(T|0,O|0,2,0);if(Mu(P,_,B)|0){e=0;break a}f=da(T|0,2,0,0)|0|0;h=f+1<<16>>16;ea(T|0,h|0,2,0);ea((da(C|0,4,0,0)|0|0)+((f&65535)<<2)|0,p|0,4,0);f=k;k=A;o=(da(f+4|0,4,0,0)|0|K)&~(da(k+4|0,4,0,0)|0);n=_;ea(n|0,(da(f|0,4,0,0)|0|J)&~(da(k|0,4,0,0)|0)|0,4,0);ea(n+4|0,o|0,4,0);b:do if(!(m&1)){if(m&2){e=da($|0,4,0,0)|0|0;f=e|1;ea($|0,f|0,4,0);do if(!y){if(!D){n=0;o=g;break b}if((da(Y|0,2,0,1)|0|0)!=((da(E|0,2,0,1)|0|0)+-1|0)){n=0;o=g;break b}if(!q)break;if(da(r>>0|0,1,0,0)|0)break;f=e|65537;ea($|0,f|0,4,0);n=0;o=g;break b}while(0);f=e|4097;ea($|0,f|0,4,0);n=0;o=g;break}if(m&128){f=da($|0,4,0,0)|0|8;ea($|0,f|0,4,0);n=0;o=g;break}e=da($|0,4,0,0)|0|0;if(!(m&36)){f=e|18;ea($|0,f|0,4,0);if(!(e&32)){n=0;o=0;l=p;break}n=0;o=da((da(C|0,4,0,0)|0|0)+((h&65535)+-2<<2)|0,4,0,0)|0|0;l=p;break}f=e|34;ea($|0,f|0,4,0);if(!((da(F|0,2,0,0)|0)&256)){n=0;o=p;l=0}else{e=p+48|0;if(Mu(P,_,(h&65535)+1|0)|0){e=0;break a}f=da(T|0,2,0,0)|0|0;ea(T|0,f+1<<16>>16|0,2,0);ea((da(C|0,4,0,0)|0|0)+((f&65535)<<2)|0,e|0,4,0);f=da($|0,4,0,0)|0|16;ea($|0,f|0,4,0);n=0;o=p;l=e}}else{e=da(p|0,4,0,0)|0|0;f=da($|0,4,0,0)|0|4;ea($|0,f|0,4,0);if(!((da(e+4|0,4,0,0)|0)&2048)){e=da(e+20|0,4,0,0)|0|0;if((e|0)!=0?(G=da(e|0,4,0,0)|0|0,(G|0)!=0):0){n=(es(G,((G|0)<0)<<31>>31)|0)<<16>>16;o=g}else{n=0;o=g}}else{n=46;o=g}}while(0);do if(!(f&2)){e=(da(Y|0,2,0,0)|0|0)+1<<16>>16;ea(Y|0,e|0,2,0);e=e&65535;g=da(p+16|0,2,0,0)|0|0;if(g<<16>>16<1&q){k=(g&65535)-n+(da(V|0,2,0,1)|0|0)&65535;ea(V|0,k|0,2,0);break}g=da(X|0,4,0,0)|0|0;g=(da(V|0,2,0,1)|0|0)+((da(g+(e<<1)|0,2,0,1)|0|0)-(da(g+(e+-1<<1)|0,2,0,1)|0|0))|0;e=g&65535;ea(V|0,e|0,2,0);if(!(m&128))k=e;else{k=g+10&65535;ea(V|0,k|0,2,0)}}else{e=da(V|0,2,0,0)|0|0;k=e<<16>>16;do if(o){g=da(o+16|0,2,0,0)|0|0;if(g<<16>>16<1){e=(g&65535)+(e&65535)&65535;break}else{e=(e&65535)+65516&65535;break}}while(0);do if(l){g=da(l+16|0,2,0,0)|0|0;if(g<<16>>16<1){e=(g&65535)+(e&65535)&65535;break}else{e=(e&65535)+65516&65535;break}}while(0);g=(o|0)!=0;do if(g?(da(o+16|0,2,0,0)|0|0)>0&(l|0)!=0:0){if((da(l+16|0,2,0,0)|0|0)<=0)break;e=(e&65535)+65516&65535}while(0);k=(((l|0)!=0)<<31>>31)+(g<<31>>31)+k|0;p=e<<16>>16<10?10:e<<16>>16;k=((p|0)<(k|0)?p:k)&65535;ea(V|0,k|0,2,0)}while(0);h=k&65535;g=Fv(w,h+1+(((da(s|0,2,0,0)|0|0)*15|0)/(da((da(z|0,4,0,0)|0|0)+42|0,2,0,0)|0|0)|0)&65535)|0;if(!(f&320))g=Fv(g,h+16&65535)|0;f=n+u|0;ea(t|0,(g&65535)+f|0,2,0);ea(V|0,h+f|0,2,0);Hv(da(I|0,4,0,0)|0|0,_,x);e=Ev(a,_)|0;p=da($|0,4,0,0)|0|0;ea(V|0,((p&2|0)==0?k:W)|0,2,0);if((p&16|0)==0?(da(Y|0,2,0,1)|0|0)<(da(v|0,2,0,1)|0|0):0)Iv(a,b,c,f&65535)|0;ea(V|0,W|0,2,0);g=o;f=l}else{f=l;e=0}}p=Dv(L)|0;if(!((e|0)==0&(p|0)!=0))break;else l=f}}while(0);f=_;ea(f|0,J|0,4,0);ea(f+4|0,K|0,4,0);ea(Y|0,R|0,2,0);ea(S|0,N|0,2,0);ea($|0,U|0,4,0);ea(V|0,W|0,2,0);ea(T|0,O|0,2,0);f=R&65535;if(((R<<16>>16==N<<16>>16?(Z=f+1|0,Z>>>0<(da(c+46|0,2,0,1)|0|0)>>>0):0)?((da(Q>>0|0,1,0,0)|0)&64)==0:0)?(da((da(X|0,4,0,0)|0|0)+(Z<<1)|0,2,0,0)|0|0)>41:0){e=Mu(P,_,(O&65535)+1|0)|0;if(!e){ea(Y|0,(da(Y|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(S|0,(da(S|0,2,0,0)|0|0)+1<<16>>16|0,2,0);e=da(T|0,2,0,0)|0|0;ea(T|0,e+1<<16>>16|0,2,0);ea((da(_+48|0,4,0,0)|0|0)+((e&65535)<<2)|0,0|0,4,0);ea($|0,da($|0,4,0,0)|0|32768|0,4,0);e=da(X|0,4,0,0)|0|0;e=(da(e+(f<<1)|0,2,0,1)|0|0)-(da(e+(Z<<1)|0,2,0,1)|0|0)|0;ea(V|0,(da(V|0,2,0,1)|0|0)-e|0,2,0);Iv(a,b,c,(((e<<16)+327680|0)>>>16)+(d&65535)&65535)|0;ea(V|0,W|0,2,0);ea(Y|0,R|0,2,0);ea(S|0,R|0,2,0);ea($|0,U|0,4,0);e=0}}}else e=7;i=aa;return e|0}function Jv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=da(a|0,2,0,0)|0|0;f=a+8|0;a:do if(k<<16>>16){i=k;j=f;while(1){g=da(j+8|0,2,0,0)|0|0;if(g<<16>>16>=d<<16>>16?(h=j,((da(h|0,4,0,0)|0)&b|0)==(b|0)?((da(h+4|0,4,0,0)|0)&c|0)==(c|0):0):0){m=j;n=14;break a}if(g<<16>>16<=d<<16>>16?(h=j,g=da(h|0,4,0,0)|0|0,h=da(h+4|0,4,0,0)|0|0,(g&b|0)==(g|0)&(h&c|0)==(h|0)):0)break a;i=i+-1<<16>>16;if(!(i<<16>>16))break;else j=j+16|0}if((k&65535)>=3){g=da(a+16|0,2,0,0)|0|0;j=1;do{if(g<<16>>16>(da(a+(j<<4)+16|0,2,0,0)|0|0))f=a+(j<<4)+8|0;j=j+1|0;g=da(f+8|0,2,0,0)|0|0}while((j&65535)<(k&65535));if(g<<16>>16>d<<16>>16){m=f;n=14}}else n=9}else n=9;while(0);if((n|0)==9){m=k&65535;ea(a|0,k+1<<16>>16|0,2,0);ea(a+(m<<4)+18|0,e|0,2,0);m=a+(m<<4)+8|0;n=14}if((n|0)==14?(l=m,ea(l|0,b|0,4,0),ea(l+4|0,c|0,4,0),ea(m+8|0,d|0,2,0),l=m+10|0,(da(l|0,2,0,0)|0|0)>e<<16>>16):0)ea(l|0,e|0,2,0);return}function Kv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da(b+36|0,4,0,0)|0|0;do if(c&17408){if((c&1024|0)!=0?(f=b+28|0,(da(f>>0|0,1,0,0)|0|0)!=0):0){c=b+32|0;Vc(da(c|0,4,0,0)|0|0);ea(f>>0|0,0|0,1,0);ea(c|0,0|0,4,0);break}if((c&16384|0)!=0?(d=b+28|0,e=da(d|0,4,0,0)|0|0,(e|0)!=0):0){lg(a,da(e+16|0,4,0,0)|0|0);lg(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0)}}while(0);return}function Lv(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0;na=i;i=i+32|0;if((i|0)>=(j|0))ba();ia=na;k=da(da(a|0,4,0,0)|0|0,4,0,0)|0|0;ha=e&65535;if(e<<16>>16!=0?((da(k+60|0,2,0,0)|0)&128)!=0:0)h=0;else ja=3;a:do if((ja|0)==3){ma=da(b|0,4,0,0)|0|0;h=ma&65535;if(h>>>0<=63){ka=hw(1,0,h|0)|0;ka=iw(ka|0,C|0,-1,-1)|0;la=C;b:do if((ka|0)==0&(la|0)==0){b=0;c=0;k=1}else{_=c+24|0;$=a+4|0;aa=(h|0)==0;Y=b+4|0;Z=(d&768)==0;X=k+8|0;O=(d&256)==0;P=a+68|0;Q=ia+20|0;R=ia+4|0;U=ia+24|0;V=a+328|0;S=0;T=0;b=0;c=0;d=0;l=0;W=0;k=1;e=0;while(1){if((W|0)>0){M=e+8|0;N=da(M|0,4,0,0)|0|d;l=da(M+4|0,4,0,0)|0|l}else N=d;if((W|0)<(ha|0))e=da((da(_|0,4,0,0)|0|0)+(W<<2)|0,4,0,0)|0|0;else e=f;t=e+36|0;d=da(t|0,4,0,0)|0|0;if(d&1024)break;M=da((da($|0,4,0,0)|0|0)+((da(e+16>>0|0,1,0,1)|0|0)*72|0)+48|0,4,0,0)|0|0;if(!aa){d=~N;n=~l;q=0;do{s=hw(1,0,q|0)|0;r=C;c:do if((s&b|0)==0&(r&c|0)==0){m=da((da(Y|0,4,0,0)|0|0)+(q*20|0)|0,4,0,0)|0|0;p=da(m+4|0,4,0,0)|0|0;if(p&4096)do{if(!(p&262144))m=m+12|0;else m=da((da(m+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;m=da(m|0,4,0,0)|0|0;p=da(m+4|0,4,0,0)|0|0}while((p&4096|0)!=0);if(((da(m>>0|0,1,0,0)|0|0)==-102?(da(m+28|0,4,0,0)|0|0)==(M|0):0)?(ca=m+32|0,fa=Eu(V,M,da(ca|0,2,0,0)|0|0,d,n,130,0)|0,(fa|0)!=0):0){do if((da(fa+18|0,2,0,0)|0)&2){if((da(ca|0,2,0,0)|0|0)<=-1)break;m=bu(da(a|0,4,0,0)|0|0,da((da(Y|0,4,0,0)|0|0)+(q*20|0)|0,4,0,0)|0|0)|0;if(!m)m=da(X|0,4,0,0)|0|0;p=da(m|0,4,0,0)|0|0;o=bu(da(a|0,4,0,0)|0|0,da(fa|0,4,0,0)|0|0)|0;if(!o)o=da(X|0,4,0,0)|0|0;if(cd(p,da(o|0,4,0,0)|0|0)|0)break c}while(0);b=s|b;c=r|c}}while(0);q=q+1|0}while((q|0)<(h|0));d=da(t|0,4,0,0)|0|0}do if(!(d&4096)){if(!(d&256)){m=da(e+28|0,4,0,0)|0|0;if(!m){h=0;break a}if((da(m+51>>0|0,1,0,0)|0)&4){h=0;break a}d=da(m+48|0,2,0,0)|0|0;k=(da(m+50>>0|0,1,0,0)|0|0)!=0&1;if(!(d<<16>>16)){ja=71;break}else{K=d&65535;L=da(m+46|0,2,0,0)|0|0}}else{K=1;L=0;m=0}A=e+24|0;B=e+42|0;D=e+48|0;E=(m|0)==0;F=m+32|0;G=hw(1,0,W|0)|0;H=C;I=m+4|0;J=m+28|0;z=m+12|0;d=0;m=0;s=0;y=0;d:while(1){q=(m|0)<(da(A|0,2,0,1)|0|0);if((q?(da(B|0,2,0,0)|0|0)==0:0)?(ga=da((da((da(D|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0)+18|0,2,0,1)|0|0,(ga&130|0)!=0):0){k=(ga&128|0)==0?k:0;r=y}else{if(!E){r=da((da(I|0,4,0,0)|0|0)+(m<<1)|0,2,0,0)|0|0;o=da((da(J|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0;n=da(z|0,4,0,0)|0|0;p=r<<16>>16==(da(n+36|0,2,0,0)|0|0)?-1:r<<16>>16;r=(p|0)>-1;if(k<<24>>24!=0&r)if(q){r=1;x=p}else{r=1;x=p;k=(da((da(n+4|0,4,0,0)|0|0)+(p*24|0)+20>>0|0,1,0,0)|0|0)==0?0:k}else x=p}else{r=0;x=-1;o=0}if(aa){ja=68;break}else{q=1;w=0}e:while(1){u=hw(1,0,w|0)|0;v=C;do if((u&b|0)==0&(v&c|0)==0){n=da((da(Y|0,4,0,0)|0|0)+(w*20|0)|0,4,0,0)|0|0;p=da(n+4|0,4,0,0)|0|0;if(!(p&4096))t=n;else{t=n;do{if(!(p&262144))p=t+12|0;else p=da((da(t+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;t=da(p|0,4,0,0)|0|0;p=da(t+4|0,4,0,0)|0|0}while((p&4096|0)!=0)}q=Z?0:q;if((da(t>>0|0,1,0,0)|0|0)!=-102)break;if((da(t+28|0,4,0,0)|0|0)!=(M|0))break;if((da(t+32|0,2,0,0)|0|0)!=(x|0))break;if(!r){t=u;q=v;r=w;break e}p=bu(da(a|0,4,0,0)|0|0,n)|0;if(!p)p=da(X|0,4,0,0)|0|0;if(!(cd(da(p|0,4,0,0)|0|0,da((da(F|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0)|0)){t=u;q=v;r=w;break e}}while(0);w=w+1|0;if(!(q<<24>>24!=0&(w|0)<(h|0))){ja=68;break d}}do if(O){if(y<<24>>24)if((o^s)<<24>>24==(da((da(Y|0,4,0,0)|0|0)+(r*20|0)+12>>0|0,1,0,0)|0|0)){r=y;break}else{ja=68;break d}n=da((da(Y|0,4,0,0)|0|0)+(r*20|0)+12>>0|0,1,0,0)|0|0;s=n^o;if(o<<24>>24==n<<24>>24){r=1;break}n=g;r=da(n+4|0,4,0,0)|0|H;o=g;ea(o|0,da(n|0,4,0,0)|0|G|0,4,0);ea(o+4|0,r|0,4,0);r=1}else r=y;while(0);b=t|b;c=q|c;d=(x|0)<0?1:d}m=m+1|0;if((m|0)>=(K|0))break;else y=r}if((ja|0)==68){ja=0;k=(m|0)==0|(m|0)<(L&65535|0)?0:k}if(!(d<<24>>24))ja=71;else k=1}else ja=71;while(0);if((ja|0)==71){ja=0;if(!(k<<24>>24)){k=0;break b}}M=e+8|0;S=da(M|0,4,0,0)|0|S;T=da(M+4|0,4,0,0)|0|T;if(!aa){r=~S;s=~T;q=0;do{m=hw(1,0,q|0)|0;p=C;do if((m&b|0)==0&(p&c|0)==0){d=da((da(Y|0,4,0,0)|0|0)+(q*20|0)|0,4,0,0)|0|0;n=zv(P,d)|0;o=C;if((n|0)==0&(o|0)==0?(ea(ia+0|0,0|0,4,0),ea(ia+4|0,0|0,4,0),ea(ia+8|0,0|0,4,0),ea(ia+12|0,0|0,4,0),ea(ia+16|0,0|0,4,0),ea(ia+20|0,0|0,4,0),ea(Q>>0|0,1|0,1,0),ea(ia|0,78|0,4,0),ea(R|0,79|0,4,0),ea(U|0,0|0,4,0),qs(ia,d)|0,(da(Q>>0|0,1,0,0)|0|0)==0):0)break;M=(n&r|0)==0&(o&s|0)==0;b=(M?m:0)|b;c=(M?p:0)|c}while(0);q=q+1|0}while((q|0)<(h|0))}if(c>>>0>la>>>0|(c|0)==(la|0)&b>>>0>=ka>>>0|k<<24>>24==0|(W|0)>=(ha|0))break b;else{d=N;W=W+1|0}}Z=(da(e+29>>0|0,1,0,0)|0|0)==0;b=Z?b:ka;c=Z?c:la}while(0);if((b|0)==(ka|0)&(c|0)==(la|0)){h=ma&255;break}if(!(k<<24>>24)){do{h=h+-1|0;if((h|0)<=0){h=0;break a}Y=hw(1,0,h|0)|0;Y=iw(Y|0,C|0,-1,-1)|0;Z=C}while(!((Y&b|0)==(Y|0)&(Z&c|0)==(Z|0)));h=h&255}else h=-1}else h=0}while(0);i=na;return h|0}function Mv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b)Rk(a,33920,5);if(!c)b=0;else{b=c;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-c&1073741823}Rk(a,c,b);Rk(a,d,1);Rk(a,13552,1);return}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;e=a+20|0;if((b|0)>0){f=da(e|0,4,0,0)|0|0;while(1){b=b+-1|0;d=f+20|0;c=da(d|0,2,0,0)|0|0;if(c&1){Fk(g,da(f|0,4,0,0)|0|0);c=da(d|0,2,0,0)|0|0}c=c&65535;if(!(c&16)){if(c&32){c=da(f+12|0,4,0,0)|0|0;Nv(c);lg(g,c)}}else{c=da(f+12|0,4,0,0)|0|0;Nv(c);lg(g,c)}if((b|0)<=0)break;else f=f+48|0}}b=da(e|0,4,0,0)|0|0;if((b|0)!=(a+24|0))lg(g,b);return}function Ov(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;e=da(a+8|0,4,0,0)|0|0;f=da(a|0,4,0,0)|0|0;if(b){g=(c|0)==10;h=a+437|0;k=o+4|0;l=o+1|0;m=o+8|0;n=o+12|0;d=c&255;do{if(g)c=da(b+1>>0|0,1,0,0)|0|0;else c=d;ea(h>>0|0,c|0,1,0);c=da(b>>0|0,1,0,1)|0|0;if((c|0)==110){r=Uv(a,b)|0;q=Or(f,da(b+24|0,4,0,0)|0|0,0)|0;c=Lr(f,da(b+20|0,4,0,0)|0|0,0,0)|0;rr(a,r,q,c,da(h>>0|0,1,0,1)|0|0)}else if((c|0)==109){c=Uv(a,b)|0;qr(a,c,Lr(f,da(b+20|0,4,0,0)|0|0,0,0)|0)}else if((c|0)==108){r=Uv(a,b)|0;q=fr(f,da(b+8|0,4,0,0)|0|0,0)|0;c=Mr(f,da(b+28|0,4,0,0)|0|0)|0;sr(a,r,q,c,da(h>>0|0,1,0,1)|0|0)}else{c=fr(f,da(b+8|0,4,0,0)|0|0,0)|0;ea(o>>0|0,4|0,1,0);ea(k|0,0|0,4,0);ea(l>>0|0,0|0,1,0);ea(m|0,0|0,4,0);ea(n|0,0|0,4,0);hr(a,c,o)|0;Lk(f,c,1)}if((da(b>>0|0,1,0,0)|0|0)!=119)vh(e,98,0,0,0)|0;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0)}i=p;return}function Pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h;g=da(a|0,4,0,0)|0|0;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=mr(g,159,e,0)|0;do if(!e)e=0;else{f=d<<16>>16;if(d<<16>>16>-1?(da(b+36|0,2,0,0)|0|0)!=d<<16>>16:0){d=da(b+4|0,4,0,0)|0|0;ea(e+28|0,c+1+f|0,4,0);ea(e+1>>0|0,da(d+(f*24|0)+21>>0|0,1,0,0)|0|0|0,1,0);f=da(d+(f*24|0)+16|0,4,0,0)|0|0;if(!f)f=da(da(g+8|0,4,0,0)|0|0,4,0,0)|0|0;e=wv(a,e,f)|0;break}ea(e+28|0,c|0,4,0);ea(e+1>>0|0,68|0,1,0)}while(0);i=h;return e|0}function Qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=lh(a,48,0)|0;if(a){e=a+0|0;f=e+44|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(a>>0|0,-102|0,1,0);ea(a+34|0,-1|0,2,0);ea(a+24|0,1|0,4,0);e=da(b+(c*72|0)+24|0,4,0,0)|0|0;ea(a+44|0,e|0,4,0);ea(a+28|0,da(b+(c*72|0)+48|0,4,0,0)|0|0,4,0);if((da(e+36|0,2,0,0)|0|0)==(d|0))ea(a+32|0,-1|0,2,0);else{ea(a+32|0,d|0,2,0);g=(d|0)>63;d=hw(1,0,d|0)|0;f=b+(c*72|0)+64|0;c=f;e=da(c+4|0,4,0,0)|0|(g?-2147483648:C);ea(f|0,da(c|0,4,0,0)|0|(g?0:d)|0,4,0);ea(f+4|0,e|0,4,0)}e=a+4|0;ea(e|0,da(e|0,4,0,0)|0|4|0,4,0)}return a|0}function Rv(a,b){a=a|0;b=b|0;if((da(b>>0|0,1,0,0)|0|0)==-101){b=b+38|0;ea(b>>0|0,(da(b>>0|0,1,0,1)|0|0)+(da(a+24|0,4,0,0)|0|0)|0,1,0)}return 0}function Sv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(a+40|0,2,0,0)|0|0;f=c&65535;e=da(a+42|0,2,0,0)|0|0;h=da(b+40|0,2,0,1)|0|0;d=da(b+42|0,2,0,0)|0|0;a:do if(!((d&65535)>(e&65535)?1:(f-(e&65535)|0)>=(h-(d&65535)|0))){d=da(a+20|0,2,0,0)|0|0;e=da(b+20|0,2,0,0)|0|0;if(d<<16>>16>=e<<16>>16){if(d<<16>>16>e<<16>>16){c=0;break}if((da(a+22|0,2,0,0)|0|0)>(da(b+22|0,2,0,0)|0|0)){c=0;break}}if(!(c<<16>>16))c=1;else{g=da(a+48|0,4,0,0)|0|0;b=b+48|0;a=f;while(1){a=a+-1|0;e=da(g+(a<<2)|0,4,0,0)|0|0;if(e){c=h;while(1){d=c+-1|0;if((c|0)<=0){c=0;break a}if((da((da(b|0,4,0,0)|0|0)+(d<<2)|0,4,0,0)|0|0)==(e|0))break;else c=d}if((c|0)<1){c=0;break a}}if((a|0)<=0){c=1;break}}}}else c=0;while(0);return c|0}function Tv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=da(a|0,4,0,0)|0|0;a:do if(c){h=da(b+16>>0|0,1,0,0)|0|0;i=b+17|0;j=b+18|0;k=b+20|0;l=b+22|0;m=b+42|0;n=b+36|0;do{if((da(c+16>>0|0,1,0,0)|0|0)==h<<24>>24?(da(c+17>>0|0,1,0,0)|0|0)==(da(i>>0|0,1,0,0)|0|0):0){if(((((da(c+36|0,4,0,0)|0)&16384|0)!=0?(da(m|0,2,0,0)|0|0)==0:0)?((da(n|0,4,0,0)|0)&513|0)==513:0)?(d=c,e=b,g=da(e|0,4,0,0)|0|0,e=da(e+4|0,4,0,0)|0|0,(g&(da(d|0,4,0,0)|0)|0)==(g|0)?(e&(da(d+4|0,4,0,0)|0)|0)==(e|0):0):0)break a;o=c;p=da(o|0,4,0,0)|0|0;o=da(o+4|0,4,0,0)|0|0;d=b;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;f=e&p;g=d&o;if((((f|0)==(p|0)&(g|0)==(o|0)?(da(c+18|0,2,0,0)|0|0)<=(da(j|0,2,0,0)|0|0):0)?(da(c+20|0,2,0,0)|0|0)<=(da(k|0,2,0,0)|0|0):0)?(da(c+22|0,2,0,0)|0|0)<=(da(l|0,2,0,0)|0|0):0){a=0;break a}if(((f|0)==(e|0)&(g|0)==(d|0)?(da(c+20|0,2,0,0)|0|0)>=(da(k|0,2,0,0)|0|0):0)?(da(c+22|0,2,0,0)|0|0)>=(da(l|0,2,0,0)|0|0):0)break a}a=c+52|0;c=da(a|0,4,0,0)|0|0}while((c|0)!=0)}while(0);return a|0}function Uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=or(da(a|0,4,0,0)|0|0,0,b+12|0,0)|0;do if(g){f=da(a|0,4,0,0)|0|0;e=da((da(b+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;a:do if(e){d=da(f+20|0,4,0,0)|0|0;if((d|0)>0){b=da(f+16|0,4,0,0)|0|0;c=0;while(1){a=c+1|0;if((da(b+(c<<4)+12|0,4,0,0)|0|0)==(e|0)){a=c;c=7;break a}if((a|0)<(d|0))c=a;else{c=7;break}}}else a=0}else{a=-1e6;c=7}while(0);if((c|0)==7)if(!((a|0)==0|(a|0)>1))break;a=jh(f,da((da(f+16|0,4,0,0)|0|0)+(a<<4)|0,4,0,0)|0|0)|0;ea(g+(((da(g|0,4,0,0)|0|0)+-1|0)*72|0)+12|0,a|0,4,0)}while(0);return g|0}function Vv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;do if(a>>>0<245){if(a>>>0<11)o=16;else o=a+11&-8;a=o>>>3;k=da(12266*4|0,4,0,0)|0|0;h=k>>>a;if(h&3){d=(h&1^1)+a|0;e=d<<1;b=49104+(e<<2)|0;e=49104+(e+2<<2)|0;f=da(e|0,4,0,0)|0|0;g=f+8|0;h=da(g|0,4,0,0)|0|0;do if((b|0)!=(h|0)){if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();c=h+12|0;if((da(c|0,4,0,0)|0|0)==(f|0)){ea(c|0,b|0,4,0);ea(e|0,h|0,4,0);break}else Nb()}else ea(12266*4|0,k&~(1<<d)|0,4,0);while(0);v=d<<3;ea(f+4|0,v|3|0,4,0);v=f+(v|4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0);v=g;return v|0}j=da(12268*4|0,4,0,0)|0|0;if(o>>>0>j>>>0){if(h){e=2<<a;e=h<<a&(e|0-e);e=(e&0-e)+-1|0;a=e>>>12&16;e=e>>>a;d=e>>>5&8;e=e>>>d;c=e>>>2&4;e=e>>>c;f=e>>>1&2;e=e>>>f;g=e>>>1&1;g=(d|a|c|f|g)+(e>>>g)|0;e=g<<1;f=49104+(e<<2)|0;e=49104+(e+2<<2)|0;c=da(e|0,4,0,0)|0|0;a=c+8|0;d=da(a|0,4,0,0)|0|0;do if((f|0)!=(d|0)){if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();h=d+12|0;if((da(h|0,4,0,0)|0|0)==(c|0)){ea(h|0,f|0,4,0);ea(e|0,d|0,4,0);l=da(12268*4|0,4,0,0)|0|0;break}else Nb()}else{ea(12266*4|0,k&~(1<<g)|0,4,0);l=j}while(0);v=g<<3;b=v-o|0;ea(c+4|0,o|3|0,4,0);i=c+o|0;ea(c+(o|4)|0,b|1|0,4,0);ea(c+v|0,b|0,4,0);if(l){d=da(12271*4|0,4,0,0)|0|0;f=l>>>3;h=f<<1;e=49104+(h<<2)|0;g=da(12266*4|0,4,0,0)|0|0;f=1<<f;if(g&f){g=49104+(h+2<<2)|0;h=da(g|0,4,0,0)|0|0;if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{m=g;n=h}}else{ea(12266*4|0,g|f|0,4,0);m=49104+(h+2<<2)|0;n=e}ea(m|0,d|0,4,0);ea(n+12|0,d|0,4,0);ea(d+8|0,n|0,4,0);ea(d+12|0,e|0,4,0)}ea(12268*4|0,b|0,4,0);ea(12271*4|0,i|0,4,0);v=a;return v|0}a=da(12267*4|0,4,0,0)|0|0;if(a){g=(a&0-a)+-1|0;u=g>>>12&16;g=g>>>u;t=g>>>5&8;g=g>>>t;v=g>>>2&4;g=g>>>v;h=g>>>1&2;g=g>>>h;f=g>>>1&1;f=da(49368+((t|u|v|h|f)+(g>>>f)<<2)|0,4,0,0)|0|0;g=((da(f+4|0,4,0,0)|0)&-8)-o|0;h=f;while(1){c=da(h+16|0,4,0,0)|0|0;if(!c){c=da(h+20|0,4,0,0)|0|0;if(!c){k=g;j=f;break}}h=((da(c+4|0,4,0,0)|0)&-8)-o|0;v=h>>>0<g>>>0;g=v?h:g;h=c;f=v?c:f}a=da(12270*4|0,4,0,0)|0|0;if(j>>>0<a>>>0)Nb();b=j+o|0;if(j>>>0>=b>>>0)Nb();i=da(j+24|0,4,0,0)|0|0;f=da(j+12|0,4,0,0)|0|0;do if((f|0)==(j|0)){g=j+20|0;h=da(g|0,4,0,0)|0|0;if(!h){g=j+16|0;h=da(g|0,4,0,0)|0|0;if(!h){d=0;break}}while(1){f=h+20|0;e=da(f|0,4,0,0)|0|0;if(e){h=e;g=f;continue}f=h+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{h=e;g=f}}if(g>>>0<a>>>0)Nb();else{ea(g|0,0|0,4,0);d=h;break}}else{e=da(j+8|0,4,0,0)|0|0;if(e>>>0<a>>>0)Nb();h=e+12|0;if((da(h|0,4,0,0)|0|0)!=(j|0))Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(j|0)){ea(h|0,f|0,4,0);ea(g|0,e|0,4,0);d=f;break}else Nb()}while(0);do if(i){h=da(j+28|0,4,0,0)|0|0;g=49368+(h<<2)|0;if((j|0)==(da(g|0,4,0,0)|0|0)){ea(g|0,d|0,4,0);if(!d){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<h)|0,4,0);break}}else{if(i>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();h=i+16|0;if((da(h|0,4,0,0)|0|0)==(j|0))ea(h|0,d|0,4,0);else ea(i+20|0,d|0,4,0);if(!d)break}g=da(12270*4|0,4,0,0)|0|0;if(d>>>0<g>>>0)Nb();ea(d+24|0,i|0,4,0);h=da(j+16|0,4,0,0)|0|0;do if(h)if(h>>>0<g>>>0)Nb();else{ea(d+16|0,h|0,4,0);ea(h+24|0,d|0,4,0);break}while(0);h=da(j+20|0,4,0,0)|0|0;if(h)if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(d+20|0,h|0,4,0);ea(h+24|0,d|0,4,0);break}}while(0);if(k>>>0<16){v=k+o|0;ea(j+4|0,v|3|0,4,0);v=j+(v+4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0)}else{ea(j+4|0,o|3|0,4,0);ea(j+(o|4)|0,k|1|0,4,0);ea(j+(k+o)|0,k|0,4,0);c=da(12268*4|0,4,0,0)|0|0;if(c){d=da(12271*4|0,4,0,0)|0|0;f=c>>>3;h=f<<1;e=49104+(h<<2)|0;g=da(12266*4|0,4,0,0)|0|0;f=1<<f;if(g&f){h=49104+(h+2<<2)|0;g=da(h|0,4,0,0)|0|0;if(g>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{p=h;q=g}}else{ea(12266*4|0,g|f|0,4,0);p=49104+(h+2<<2)|0;q=e}ea(p|0,d|0,4,0);ea(q+12|0,d|0,4,0);ea(d+8|0,q|0,4,0);ea(d+12|0,e|0,4,0)}ea(12268*4|0,k|0,4,0);ea(12271*4|0,b|0,4,0)}v=j+8|0;return v|0}else q=o}else q=o}else if(a>>>0<=4294967231){a=a+11|0;q=a&-8;j=da(12267*4|0,4,0,0)|0|0;if(j){g=0-q|0;a=a>>>8;if(a)if(q>>>0>16777215)c=31;else{o=(a+1048320|0)>>>16&8;p=a<<o;n=(p+520192|0)>>>16&4;p=p<<n;c=(p+245760|0)>>>16&2;c=14-(n|o|c)+(p<<c>>>15)|0;c=q>>>(c+7|0)&1|c<<1}else c=0;e=da(49368+(c<<2)|0,4,0,0)|0|0;a:do if(!e){a=0;h=0}else{if((c|0)==31)h=0;else h=25-(c>>>1)|0;k=g;a=0;b=q<<h;h=0;while(1){d=(da(e+4|0,4,0,0)|0)&-8;g=d-q|0;if(g>>>0<k>>>0)if((d|0)==(q|0)){a=e;h=e;break a}else h=e;else g=k;p=da(e+20|0,4,0,0)|0|0;e=da(e+(b>>>31<<2)+16|0,4,0,0)|0|0;a=(p|0)==0|(p|0)==(e|0)?a:p;if(!e)break;else{k=g;b=b<<1}}}while(0);if((a|0)==0&(h|0)==0){a=2<<c;a=j&(a|0-a);if(!a)break;p=(a&0-a)+-1|0;m=p>>>12&16;p=p>>>m;l=p>>>5&8;p=p>>>l;n=p>>>2&4;p=p>>>n;o=p>>>1&2;p=p>>>o;a=p>>>1&1;a=da(49368+((l|m|n|o|a)+(p>>>a)<<2)|0,4,0,0)|0|0}if(!a){n=g;o=h}else while(1){p=((da(a+4|0,4,0,0)|0)&-8)-q|0;e=p>>>0<g>>>0;g=e?p:g;h=e?a:h;e=da(a+16|0,4,0,0)|0|0;if(e){a=e;continue}a=da(a+20|0,4,0,0)|0|0;if(!a){n=g;o=h;break}}if((o|0)!=0?n>>>0<((da(12268*4|0,4,0,0)|0|0)-q|0)>>>0:0){a=da(12270*4|0,4,0,0)|0|0;if(o>>>0<a>>>0)Nb();l=o+q|0;if(o>>>0>=l>>>0)Nb();i=da(o+24|0,4,0,0)|0|0;f=da(o+12|0,4,0,0)|0|0;do if((f|0)==(o|0)){g=o+20|0;h=da(g|0,4,0,0)|0|0;if(!h){g=o+16|0;h=da(g|0,4,0,0)|0|0;if(!h){s=0;break}}while(1){f=h+20|0;e=da(f|0,4,0,0)|0|0;if(e){h=e;g=f;continue}f=h+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{h=e;g=f}}if(g>>>0<a>>>0)Nb();else{ea(g|0,0|0,4,0);s=h;break}}else{e=da(o+8|0,4,0,0)|0|0;if(e>>>0<a>>>0)Nb();h=e+12|0;if((da(h|0,4,0,0)|0|0)!=(o|0))Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(o|0)){ea(h|0,f|0,4,0);ea(g|0,e|0,4,0);s=f;break}else Nb()}while(0);do if(i){h=da(o+28|0,4,0,0)|0|0;g=49368+(h<<2)|0;if((o|0)==(da(g|0,4,0,0)|0|0)){ea(g|0,s|0,4,0);if(!s){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<h)|0,4,0);break}}else{if(i>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();h=i+16|0;if((da(h|0,4,0,0)|0|0)==(o|0))ea(h|0,s|0,4,0);else ea(i+20|0,s|0,4,0);if(!s)break}g=da(12270*4|0,4,0,0)|0|0;if(s>>>0<g>>>0)Nb();ea(s+24|0,i|0,4,0);h=da(o+16|0,4,0,0)|0|0;do if(h)if(h>>>0<g>>>0)Nb();else{ea(s+16|0,h|0,4,0);ea(h+24|0,s|0,4,0);break}while(0);h=da(o+20|0,4,0,0)|0|0;if(h)if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(s+20|0,h|0,4,0);ea(h+24|0,s|0,4,0);break}}while(0);b:do if(n>>>0>=16){ea(o+4|0,q|3|0,4,0);ea(o+(q|4)|0,n|1|0,4,0);ea(o+(n+q)|0,n|0,4,0);h=n>>>3;if(n>>>0<256){g=h<<1;e=49104+(g<<2)|0;f=da(12266*4|0,4,0,0)|0|0;h=1<<h;do if(!(f&h)){ea(12266*4|0,f|h|0,4,0);t=49104+(g+2<<2)|0;u=e}else{h=49104+(g+2<<2)|0;g=da(h|0,4,0,0)|0|0;if(g>>>0>=(da(12270*4|0,4,0,0)|0|0)>>>0){t=h;u=g;break}Nb()}while(0);ea(t|0,l|0,4,0);ea(u+12|0,l|0,4,0);ea(o+(q+8)|0,u|0,4,0);ea(o+(q+12)|0,e|0,4,0);break}c=n>>>8;if(c)if(n>>>0>16777215)e=31;else{u=(c+1048320|0)>>>16&8;v=c<<u;t=(v+520192|0)>>>16&4;v=v<<t;e=(v+245760|0)>>>16&2;e=14-(t|u|e)+(v<<e>>>15)|0;e=n>>>(e+7|0)&1|e<<1}else e=0;h=49368+(e<<2)|0;ea(o+(q+28)|0,e|0,4,0);ea(o+(q+20)|0,0|0,4,0);ea(o+(q+16)|0,0|0,4,0);g=da(12267*4|0,4,0,0)|0|0;f=1<<e;if(!(g&f)){ea(12267*4|0,g|f|0,4,0);ea(h|0,l|0,4,0);ea(o+(q+24)|0,h|0,4,0);ea(o+(q+12)|0,l|0,4,0);ea(o+(q+8)|0,l|0,4,0);break}c=da(h|0,4,0,0)|0|0;if((e|0)==31)b=0;else b=25-(e>>>1)|0;c:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(n|0)){g=n<<b;while(1){b=c+(g>>>31<<2)+16|0;h=da(b|0,4,0,0)|0|0;if(!h)break;if(((da(h+4|0,4,0,0)|0)&-8|0)==(n|0)){A=h;break c}else{g=g<<1;c=h}}if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(b|0,l|0,4,0);ea(o+(q+24)|0,c|0,4,0);ea(o+(q+12)|0,l|0,4,0);ea(o+(q+8)|0,l|0,4,0);break b}}else A=c;while(0);c=A+8|0;b=da(c|0,4,0,0)|0|0;v=da(12270*4|0,4,0,0)|0|0;if(A>>>0>=v>>>0&b>>>0>=v>>>0){ea(b+12|0,l|0,4,0);ea(c|0,l|0,4,0);ea(o+(q+8)|0,b|0,4,0);ea(o+(q+12)|0,A|0,4,0);ea(o+(q+24)|0,0|0,4,0);break}else Nb()}else{v=n+q|0;ea(o+4|0,v|3|0,4,0);v=o+(v+4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0)}while(0);v=o+8|0;return v|0}}}else q=-1;while(0);a=da(12268*4|0,4,0,0)|0|0;if(a>>>0>=q>>>0){b=a-q|0;c=da(12271*4|0,4,0,0)|0|0;if(b>>>0>15){ea(12271*4|0,c+q|0,4,0);ea(12268*4|0,b|0,4,0);ea(c+(q+4)|0,b|1|0,4,0);ea(c+a|0,b|0,4,0);ea(c+4|0,q|3|0,4,0)}else{ea(12268*4|0,0|0,4,0);ea(12271*4|0,0|0,4,0);ea(c+4|0,a|3|0,4,0);v=c+(a+4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0)}v=c+8|0;return v|0}a=da(12269*4|0,4,0,0)|0|0;if(a>>>0>q>>>0){u=a-q|0;ea(12269*4|0,u|0,4,0);v=da(12272*4|0,4,0,0)|0|0;ea(12272*4|0,v+q|0,4,0);ea(v+(q+4)|0,u|1|0,4,0);ea(v+4|0,q|3|0,4,0);v=v+8|0;return v|0}do if(!(da(12384*4|0,4,0,0)|0)){a=vb(30)|0;if(!(a+-1&a)){ea(12386*4|0,a|0,4,0);ea(12385*4|0,a|0,4,0);ea(12387*4|0,-1|0,4,0);ea(12388*4|0,-1|0,4,0);ea(12389*4|0,0|0,4,0);ea(12377*4|0,0|0,4,0);ea(12384*4|0,(Ob(0)|0)&-16^1431655768|0,4,0);break}else Nb()}while(0);k=q+48|0;b=da(12386*4|0,4,0,0)|0|0;j=q+47|0;c=b+j|0;b=0-b|0;l=c&b;if(l>>>0<=q>>>0){v=0;return v|0}a=da(12376*4|0,4,0,0)|0|0;if((a|0)!=0?(t=da(12374*4|0,4,0,0)|0|0,u=t+l|0,u>>>0<=t>>>0|u>>>0>a>>>0):0){v=0;return v|0}d:do if(!((da(12377*4|0,4,0,0)|0)&4)){a=da(12272*4|0,4,0,0)|0|0;e:do if(a){e=49512|0;while(1){h=da(e|0,4,0,0)|0|0;if(h>>>0<=a>>>0?(r=e+4|0,(h+(da(r|0,4,0,0)|0|0)|0)>>>0>a>>>0):0){d=e;g=r;a=e;break}e=da(e+8|0,4,0,0)|0|0;if(!e){F=181;break e}}if(a){a=c-(da(12269*4|0,4,0,0)|0|0)&b;if(a>>>0<2147483647){h=rb(a|0)|0;if((h|0)==((da(d|0,4,0,0)|0|0)+(da(g|0,4,0,0)|0|0)|0))F=190;else F=191}else a=0}else F=181}else F=181;while(0);do if((F|0)==181){h=rb(0)|0;if((h|0)!=(-1|0)){a=h;g=da(12385*4|0,4,0,0)|0|0;e=g+-1|0;if(!(e&a))a=l;else a=l-a+(e+a&0-g)|0;g=da(12374*4|0,4,0,0)|0|0;e=g+a|0;if(a>>>0>q>>>0&a>>>0<2147483647){u=da(12376*4|0,4,0,0)|0|0;if((u|0)!=0?e>>>0<=g>>>0|e>>>0>u>>>0:0){a=0;break}g=rb(a|0)|0;if((g|0)==(h|0))F=190;else{h=g;F=191}}else a=0}else a=0}while(0);f:do if((F|0)==190){if((h|0)!=(-1|0)){w=h;F=201;break d}}else if((F|0)==191){g=0-a|0;do if((h|0)!=(-1|0)&a>>>0<2147483647&k>>>0>a>>>0?(v=da(12386*4|0,4,0,0)|0|0,v=j-a+v&0-v,v>>>0<2147483647):0)if((rb(v|0)|0)==(-1|0)){rb(g|0)|0;a=0;break f}else{a=v+a|0;break}while(0);if((h|0)==(-1|0))a=0;else{w=h;F=201;break d}}while(0);ea(12377*4|0,da(12377*4|0,4,0,0)|0|4|0,4,0);F=198}else{a=0;F=198}while(0);if((((F|0)==198?l>>>0<2147483647:0)?(w=rb(l|0)|0,x=rb(0)|0,(w|0)!=(-1|0)&(x|0)!=(-1|0)&w>>>0<x>>>0):0)?(y=x-w|0,z=y>>>0>(q+40|0)>>>0,z):0){a=z?y:a;F=201}if((F|0)==201){h=(da(12374*4|0,4,0,0)|0|0)+a|0;ea(12374*4|0,h|0,4,0);if(h>>>0>(da(12375*4|0,4,0,0)|0|0)>>>0)ea(12375*4|0,h|0,4,0);k=da(12272*4|0,4,0,0)|0|0;g:do if(k){d=49512|0;do{h=da(d|0,4,0,0)|0|0;g=d+4|0;e=da(g|0,4,0,0)|0|0;if((w|0)==(h+e|0)){B=h;C=g;D=e;E=d;F=213;break}d=da(d+8|0,4,0,0)|0|0}while((d|0)!=0);if(((F|0)==213?((da(E+12|0,4,0,0)|0)&8|0)==0:0)?k>>>0>=B>>>0&k>>>0<w>>>0:0){ea(C|0,D+a|0,4,0);b=(da(12269*4|0,4,0,0)|0|0)+a|0;c=k+8|0;if(!(c&7))c=0;else c=0-c&7;v=b-c|0;ea(12272*4|0,k+c|0,4,0);ea(12269*4|0,v|0,4,0);ea(k+(c+4)|0,v|1|0,4,0);ea(k+(b+4)|0,40|0,4,0);ea(12273*4|0,da(12388*4|0,4,0,0)|0|0,4,0);break}h=da(12270*4|0,4,0,0)|0|0;if(w>>>0<h>>>0){ea(12270*4|0,w|0,4,0);j=w}else j=h;h=w+a|0;g=49512|0;do{if((da(g|0,4,0,0)|0|0)==(h|0)){G=g;H=g;F=223;break}g=da(g+8|0,4,0,0)|0|0}while((g|0)!=0);if((F|0)==223?((da(H+12|0,4,0,0)|0)&8|0)==0:0){ea(G|0,w|0,4,0);h=H+4|0;ea(h|0,(da(h|0,4,0,0)|0|0)+a|0,4,0);h=w+8|0;if(!(h&7))o=0;else o=0-h&7;h=w+(a+8)|0;if(!(h&7))c=0;else c=0-h&7;h=w+(c+a)|0;n=o+q|0;m=w+n|0;l=h-(w+o)-q|0;ea(w+(o+4)|0,q|3|0,4,0);h:do if((h|0)!=(k|0)){if((h|0)==(da(12271*4|0,4,0,0)|0|0)){v=(da(12268*4|0,4,0,0)|0|0)+l|0;ea(12268*4|0,v|0,4,0);ea(12271*4|0,m|0,4,0);ea(w+(n+4)|0,v|1|0,4,0);ea(w+(v+n)|0,v|0,4,0);break}k=a+4|0;i=da(w+(k+c)|0,4,0,0)|0|0;if((i&3|0)==1){b=i&-8;e=i>>>3;i:do if(i>>>0>=256){d=da(w+((c|24)+a)|0,4,0,0)|0|0;f=da(w+(a+12+c)|0,4,0,0)|0|0;do if((f|0)==(h|0)){f=c|16;g=w+(k+f)|0;i=da(g|0,4,0,0)|0|0;if(!i){g=w+(f+a)|0;i=da(g|0,4,0,0)|0|0;if(!i){M=0;break}}while(1){f=i+20|0;e=da(f|0,4,0,0)|0|0;if(e){i=e;g=f;continue}f=i+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{i=e;g=f}}if(g>>>0<j>>>0)Nb();else{ea(g|0,0|0,4,0);M=i;break}}else{e=da(w+((c|8)+a)|0,4,0,0)|0|0;if(e>>>0<j>>>0)Nb();i=e+12|0;if((da(i|0,4,0,0)|0|0)!=(h|0))Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(h|0)){ea(i|0,f|0,4,0);ea(g|0,e|0,4,0);M=f;break}else Nb()}while(0);if(!d)break;i=da(w+(a+28+c)|0,4,0,0)|0|0;g=49368+(i<<2)|0;do if((h|0)!=(da(g|0,4,0,0)|0|0)){if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();i=d+16|0;if((da(i|0,4,0,0)|0|0)==(h|0))ea(i|0,M|0,4,0);else ea(d+20|0,M|0,4,0);if(!M)break i}else{ea(g|0,M|0,4,0);if(M)break;ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<i)|0,4,0);break i}while(0);g=da(12270*4|0,4,0,0)|0|0;if(M>>>0<g>>>0)Nb();ea(M+24|0,d|0,4,0);i=c|16;h=da(w+(i+a)|0,4,0,0)|0|0;do if(h)if(h>>>0<g>>>0)Nb();else{ea(M+16|0,h|0,4,0);ea(h+24|0,M|0,4,0);break}while(0);h=da(w+(k+i)|0,4,0,0)|0|0;if(!h)break;if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(M+20|0,h|0,4,0);ea(h+24|0,M|0,4,0);break}}else{g=da(w+((c|8)+a)|0,4,0,0)|0|0;f=da(w+(a+12+c)|0,4,0,0)|0|0;i=49104+(e<<1<<2)|0;do if((g|0)!=(i|0)){if(g>>>0<j>>>0)Nb();if((da(g+12|0,4,0,0)|0|0)==(h|0))break;Nb()}while(0);if((f|0)==(g|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<e)|0,4,0);break}do if((f|0)==(i|0))I=f+8|0;else{if(f>>>0<j>>>0)Nb();i=f+8|0;if((da(i|0,4,0,0)|0|0)==(h|0)){I=i;break}Nb()}while(0);ea(g+12|0,f|0,4,0);ea(I|0,g|0,4,0)}while(0);h=w+((b|c)+a)|0;i=b+l|0}else i=l;h=h+4|0;ea(h|0,(da(h|0,4,0,0)|0)&-2|0,4,0);ea(w+(n+4)|0,i|1|0,4,0);ea(w+(i+n)|0,i|0,4,0);h=i>>>3;if(i>>>0<256){g=h<<1;e=49104+(g<<2)|0;f=da(12266*4|0,4,0,0)|0|0;h=1<<h;do if(!(f&h)){ea(12266*4|0,f|h|0,4,0);N=49104+(g+2<<2)|0;O=e}else{h=49104+(g+2<<2)|0;g=da(h|0,4,0,0)|0|0;if(g>>>0>=(da(12270*4|0,4,0,0)|0|0)>>>0){N=h;O=g;break}Nb()}while(0);ea(N|0,m|0,4,0);ea(O+12|0,m|0,4,0);ea(w+(n+8)|0,O|0,4,0);ea(w+(n+12)|0,e|0,4,0);break}c=i>>>8;do if(!c)e=0;else{if(i>>>0>16777215){e=31;break}u=(c+1048320|0)>>>16&8;v=c<<u;t=(v+520192|0)>>>16&4;v=v<<t;e=(v+245760|0)>>>16&2;e=14-(t|u|e)+(v<<e>>>15)|0;e=i>>>(e+7|0)&1|e<<1}while(0);h=49368+(e<<2)|0;ea(w+(n+28)|0,e|0,4,0);ea(w+(n+20)|0,0|0,4,0);ea(w+(n+16)|0,0|0,4,0);g=da(12267*4|0,4,0,0)|0|0;f=1<<e;if(!(g&f)){ea(12267*4|0,g|f|0,4,0);ea(h|0,m|0,4,0);ea(w+(n+24)|0,h|0,4,0);ea(w+(n+12)|0,m|0,4,0);ea(w+(n+8)|0,m|0,4,0);break}c=da(h|0,4,0,0)|0|0;if((e|0)==31)h=0;else h=25-(e>>>1)|0;j:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(i|0)){g=i<<h;while(1){b=c+(g>>>31<<2)+16|0;h=da(b|0,4,0,0)|0|0;if(!h)break;if(((da(h+4|0,4,0,0)|0)&-8|0)==(i|0)){P=h;break j}else{g=g<<1;c=h}}if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(b|0,m|0,4,0);ea(w+(n+24)|0,c|0,4,0);ea(w+(n+12)|0,m|0,4,0);ea(w+(n+8)|0,m|0,4,0);break h}}else P=c;while(0);c=P+8|0;b=da(c|0,4,0,0)|0|0;v=da(12270*4|0,4,0,0)|0|0;if(P>>>0>=v>>>0&b>>>0>=v>>>0){ea(b+12|0,m|0,4,0);ea(c|0,m|0,4,0);ea(w+(n+8)|0,b|0,4,0);ea(w+(n+12)|0,P|0,4,0);ea(w+(n+24)|0,0|0,4,0);break}else Nb()}else{v=(da(12269*4|0,4,0,0)|0|0)+l|0;ea(12269*4|0,v|0,4,0);ea(12272*4|0,m|0,4,0);ea(w+(n+4)|0,v|1|0,4,0)}while(0);v=w+(o|8)|0;return v|0}g=49512|0;while(1){h=da(g|0,4,0,0)|0|0;if(h>>>0<=k>>>0?(f=da(g+4|0,4,0,0)|0|0,i=h+f|0,i>>>0>k>>>0):0)break;g=da(g+8|0,4,0,0)|0|0}g=h+(f+-39)|0;if(!(g&7))g=0;else g=0-g&7;f=h+(f+-47+g)|0;f=f>>>0<(k+16|0)>>>0?k:f;g=f+8|0;h=w+8|0;if(!(h&7))h=0;else h=0-h&7;v=a+-40-h|0;ea(12272*4|0,w+h|0,4,0);ea(12269*4|0,v|0,4,0);ea(w+(h+4)|0,v|1|0,4,0);ea(w+(a+-36)|0,40|0,4,0);ea(12273*4|0,da(12388*4|0,4,0,0)|0|0,4,0);ea(f+4|0,27|0,4,0);ea(g+0|0,da(12378*4|0,4,0,0)|0|0,4,0);ea(g+4|0,da(12379*4|0,4,0,0)|0|0,4,0);ea(g+8|0,da(12380*4|0,4,0,0)|0|0,4,0);ea(g+12|0,da(12381*4|0,4,0,0)|0|0,4,0);ea(12378*4|0,w|0,4,0);ea(12379*4|0,a|0,4,0);ea(12381*4|0,0|0,4,0);ea(12380*4|0,g|0,4,0);h=f+28|0;ea(h|0,7|0,4,0);if((f+32|0)>>>0<i>>>0)do{v=h;h=h+4|0;ea(h|0,7|0,4,0)}while((v+8|0)>>>0<i>>>0);if((f|0)!=(k|0)){i=f-k|0;h=k+(i+4)|0;ea(h|0,(da(h|0,4,0,0)|0)&-2|0,4,0);ea(k+4|0,i|1|0,4,0);ea(k+i|0,i|0,4,0);h=i>>>3;if(i>>>0<256){g=h<<1;e=49104+(g<<2)|0;f=da(12266*4|0,4,0,0)|0|0;h=1<<h;do if(!(f&h)){ea(12266*4|0,f|h|0,4,0);J=49104+(g+2<<2)|0;K=e}else{c=49104+(g+2<<2)|0;b=da(c|0,4,0,0)|0|0;if(b>>>0>=(da(12270*4|0,4,0,0)|0|0)>>>0){J=c;K=b;break}Nb()}while(0);ea(J|0,k|0,4,0);ea(K+12|0,k|0,4,0);ea(k+8|0,K|0,4,0);ea(k+12|0,e|0,4,0);break}c=i>>>8;if(c)if(i>>>0>16777215)h=31;else{u=(c+1048320|0)>>>16&8;v=c<<u;t=(v+520192|0)>>>16&4;v=v<<t;h=(v+245760|0)>>>16&2;h=14-(t|u|h)+(v<<h>>>15)|0;h=i>>>(h+7|0)&1|h<<1}else h=0;c=49368+(h<<2)|0;ea(k+28|0,h|0,4,0);ea(k+20|0,0|0,4,0);ea(k+16|0,0|0,4,0);b=da(12267*4|0,4,0,0)|0|0;d=1<<h;if(!(b&d)){ea(12267*4|0,b|d|0,4,0);ea(c|0,k|0,4,0);ea(k+24|0,c|0,4,0);ea(k+12|0,k|0,4,0);ea(k+8|0,k|0,4,0);break}c=da(c|0,4,0,0)|0|0;if((h|0)==31)b=0;else b=25-(h>>>1)|0;k:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(i|0)){h=i<<b;while(1){b=c+(h>>>31<<2)+16|0;d=da(b|0,4,0,0)|0|0;if(!d)break;if(((da(d+4|0,4,0,0)|0)&-8|0)==(i|0)){L=d;break k}else{h=h<<1;c=d}}if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(b|0,k|0,4,0);ea(k+24|0,c|0,4,0);ea(k+12|0,k|0,4,0);ea(k+8|0,k|0,4,0);break g}}else L=c;while(0);c=L+8|0;b=da(c|0,4,0,0)|0|0;v=da(12270*4|0,4,0,0)|0|0;if(L>>>0>=v>>>0&b>>>0>=v>>>0){ea(b+12|0,k|0,4,0);ea(c|0,k|0,4,0);ea(k+8|0,b|0,4,0);ea(k+12|0,L|0,4,0);ea(k+24|0,0|0,4,0);break}else Nb()}}else{v=da(12270*4|0,4,0,0)|0|0;if((v|0)==0|w>>>0<v>>>0)ea(12270*4|0,w|0,4,0);ea(12378*4|0,w|0,4,0);ea(12379*4|0,a|0,4,0);ea(12381*4|0,0|0,4,0);ea(12275*4|0,da(12384*4|0,4,0,0)|0|0,4,0);ea(12274*4|0,-1|0,4,0);c=0;do{u=c<<1;v=49104+(u<<2)|0;ea(49104+(u+3<<2)|0,v|0,4,0);ea(49104+(u+2<<2)|0,v|0,4,0);c=c+1|0}while((c|0)!=32);c=w+8|0;if(!(c&7))c=0;else c=0-c&7;v=a+-40-c|0;ea(12272*4|0,w+c|0,4,0);ea(12269*4|0,v|0,4,0);ea(w+(c+4)|0,v|1|0,4,0);ea(w+(a+-36)|0,40|0,4,0);ea(12273*4|0,da(12388*4|0,4,0,0)|0|0,4,0)}while(0);b=da(12269*4|0,4,0,0)|0|0;if(b>>>0>q>>>0){u=b-q|0;ea(12269*4|0,u|0,4,0);v=da(12272*4|0,4,0,0)|0|0;ea(12272*4|0,v+q|0,4,0);ea(v+(q+4)|0,u|1|0,4,0);ea(v+4|0,q|3|0,4,0);v=v+8|0;return v|0}}ea(Gb()|0|0,12|0,4,0);v=0;return v|0}function Wv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!a)return;f=a+-8|0;g=da(12270*4|0,4,0,0)|0|0;if(f>>>0<g>>>0)Nb();e=da(a+-4|0,4,0,0)|0|0;d=e&3;if((d|0)==1)Nb();n=e&-8;p=a+(n+-8)|0;do if(!(e&1)){f=da(f|0,4,0,0)|0|0;if(!d)return;h=-8-f|0;k=a+h|0;l=f+n|0;if(k>>>0<g>>>0)Nb();if((k|0)==(da(12271*4|0,4,0,0)|0|0)){f=a+(n+-4)|0;e=da(f|0,4,0,0)|0|0;if((e&3|0)!=3){t=k;j=l;break}ea(12268*4|0,l|0,4,0);ea(f|0,e&-2|0,4,0);ea(a+(h+4)|0,l|1|0,4,0);ea(p|0,l|0,4,0);return}c=f>>>3;if(f>>>0<256){d=da(a+(h+8)|0,4,0,0)|0|0;e=da(a+(h+12)|0,4,0,0)|0|0;f=49104+(c<<1<<2)|0;if((d|0)!=(f|0)){if(d>>>0<g>>>0)Nb();if((da(d+12|0,4,0,0)|0|0)!=(k|0))Nb()}if((e|0)==(d|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<c)|0,4,0);t=k;j=l;break}if((e|0)!=(f|0)){if(e>>>0<g>>>0)Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(k|0))b=f;else Nb()}else b=e+8|0;ea(d+12|0,e|0,4,0);ea(b|0,d|0,4,0);t=k;j=l;break}b=da(a+(h+24)|0,4,0,0)|0|0;d=da(a+(h+12)|0,4,0,0)|0|0;do if((d|0)==(k|0)){e=a+(h+20)|0;f=da(e|0,4,0,0)|0|0;if(!f){e=a+(h+16)|0;f=da(e|0,4,0,0)|0|0;if(!f){i=0;break}}while(1){d=f+20|0;c=da(d|0,4,0,0)|0|0;if(c){f=c;e=d;continue}d=f+16|0;c=da(d|0,4,0,0)|0|0;if(!c)break;else{f=c;e=d}}if(e>>>0<g>>>0)Nb();else{ea(e|0,0|0,4,0);i=f;break}}else{c=da(a+(h+8)|0,4,0,0)|0|0;if(c>>>0<g>>>0)Nb();f=c+12|0;if((da(f|0,4,0,0)|0|0)!=(k|0))Nb();e=d+8|0;if((da(e|0,4,0,0)|0|0)==(k|0)){ea(f|0,d|0,4,0);ea(e|0,c|0,4,0);i=d;break}else Nb()}while(0);if(b){f=da(a+(h+28)|0,4,0,0)|0|0;e=49368+(f<<2)|0;if((k|0)==(da(e|0,4,0,0)|0|0)){ea(e|0,i|0,4,0);if(!i){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<f)|0,4,0);t=k;j=l;break}}else{if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();f=b+16|0;if((da(f|0,4,0,0)|0|0)==(k|0))ea(f|0,i|0,4,0);else ea(b+20|0,i|0,4,0);if(!i){t=k;j=l;break}}e=da(12270*4|0,4,0,0)|0|0;if(i>>>0<e>>>0)Nb();ea(i+24|0,b|0,4,0);f=da(a+(h+16)|0,4,0,0)|0|0;do if(f)if(f>>>0<e>>>0)Nb();else{ea(i+16|0,f|0,4,0);ea(f+24|0,i|0,4,0);break}while(0);f=da(a+(h+20)|0,4,0,0)|0|0;if(f)if(f>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(i+20|0,f|0,4,0);ea(f+24|0,i|0,4,0);t=k;j=l;break}else{t=k;j=l}}else{t=k;j=l}}else{t=f;j=n}while(0);if(t>>>0>=p>>>0)Nb();f=a+(n+-4)|0;e=da(f|0,4,0,0)|0|0;if(!(e&1))Nb();if(!(e&2)){if((p|0)==(da(12272*4|0,4,0,0)|0|0)){k=(da(12269*4|0,4,0,0)|0|0)+j|0;ea(12269*4|0,k|0,4,0);ea(12272*4|0,t|0,4,0);ea(t+4|0,k|1|0,4,0);if((t|0)!=(da(12271*4|0,4,0,0)|0|0))return;ea(12271*4|0,0|0,4,0);ea(12268*4|0,0|0,4,0);return}if((p|0)==(da(12271*4|0,4,0,0)|0|0)){k=(da(12268*4|0,4,0,0)|0|0)+j|0;ea(12268*4|0,k|0,4,0);ea(12271*4|0,t|0,4,0);ea(t+4|0,k|1|0,4,0);ea(t+k|0,k|0,4,0);return}g=(e&-8)+j|0;b=e>>>3;do if(e>>>0>=256){b=da(a+(n+16)|0,4,0,0)|0|0;f=da(a+(n|4)|0,4,0,0)|0|0;do if((f|0)==(p|0)){e=a+(n+12)|0;f=da(e|0,4,0,0)|0|0;if(!f){e=a+(n+8)|0;f=da(e|0,4,0,0)|0|0;if(!f){o=0;break}}while(1){d=f+20|0;c=da(d|0,4,0,0)|0|0;if(c){f=c;e=d;continue}d=f+16|0;c=da(d|0,4,0,0)|0|0;if(!c)break;else{f=c;e=d}}if(e>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(e|0,0|0,4,0);o=f;break}}else{e=da(a+n|0,4,0,0)|0|0;if(e>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();d=e+12|0;if((da(d|0,4,0,0)|0|0)!=(p|0))Nb();c=f+8|0;if((da(c|0,4,0,0)|0|0)==(p|0)){ea(d|0,f|0,4,0);ea(c|0,e|0,4,0);o=f;break}else Nb()}while(0);if(b){f=da(a+(n+20)|0,4,0,0)|0|0;e=49368+(f<<2)|0;if((p|0)==(da(e|0,4,0,0)|0|0)){ea(e|0,o|0,4,0);if(!o){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<f)|0,4,0);break}}else{if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();f=b+16|0;if((da(f|0,4,0,0)|0|0)==(p|0))ea(f|0,o|0,4,0);else ea(b+20|0,o|0,4,0);if(!o)break}f=da(12270*4|0,4,0,0)|0|0;if(o>>>0<f>>>0)Nb();ea(o+24|0,b|0,4,0);e=da(a+(n+8)|0,4,0,0)|0|0;do if(e)if(e>>>0<f>>>0)Nb();else{ea(o+16|0,e|0,4,0);ea(e+24|0,o|0,4,0);break}while(0);c=da(a+(n+12)|0,4,0,0)|0|0;if(c)if(c>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(o+20|0,c|0,4,0);ea(c+24|0,o|0,4,0);break}}}else{c=da(a+n|0,4,0,0)|0|0;d=da(a+(n|4)|0,4,0,0)|0|0;f=49104+(b<<1<<2)|0;if((c|0)!=(f|0)){if(c>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();if((da(c+12|0,4,0,0)|0|0)!=(p|0))Nb()}if((d|0)==(c|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<b)|0,4,0);break}if((d|0)!=(f|0)){if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();e=d+8|0;if((da(e|0,4,0,0)|0|0)==(p|0))m=e;else Nb()}else m=d+8|0;ea(c+12|0,d|0,4,0);ea(m|0,c|0,4,0)}while(0);ea(t+4|0,g|1|0,4,0);ea(t+g|0,g|0,4,0);if((t|0)==(da(12271*4|0,4,0,0)|0|0)){ea(12268*4|0,g|0,4,0);return}else f=g}else{ea(f|0,e&-2|0,4,0);ea(t+4|0,j|1|0,4,0);ea(t+j|0,j|0,4,0);f=j}e=f>>>3;if(f>>>0<256){d=e<<1;f=49104+(d<<2)|0;b=da(12266*4|0,4,0,0)|0|0;c=1<<e;if(b&c){c=49104+(d+2<<2)|0;b=da(c|0,4,0,0)|0|0;if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{q=c;r=b}}else{ea(12266*4|0,b|c|0,4,0);q=49104+(d+2<<2)|0;r=f}ea(q|0,t|0,4,0);ea(r+12|0,t|0,4,0);ea(t+8|0,r|0,4,0);ea(t+12|0,f|0,4,0);return}b=f>>>8;if(b)if(f>>>0>16777215)e=31;else{j=(b+1048320|0)>>>16&8;k=b<<j;i=(k+520192|0)>>>16&4;k=k<<i;e=(k+245760|0)>>>16&2;e=14-(i|j|e)+(k<<e>>>15)|0;e=f>>>(e+7|0)&1|e<<1}else e=0;c=49368+(e<<2)|0;ea(t+28|0,e|0,4,0);ea(t+20|0,0|0,4,0);ea(t+16|0,0|0,4,0);b=da(12267*4|0,4,0,0)|0|0;d=1<<e;a:do if(b&d){c=da(c|0,4,0,0)|0|0;if((e|0)==31)b=0;else b=25-(e>>>1)|0;b:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(f|0)){e=f<<b;while(1){b=c+(e>>>31<<2)+16|0;d=da(b|0,4,0,0)|0|0;if(!d)break;if(((da(d+4|0,4,0,0)|0)&-8|0)==(f|0)){s=d;break b}else{e=e<<1;c=d}}if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(b|0,t|0,4,0);ea(t+24|0,c|0,4,0);ea(t+12|0,t|0,4,0);ea(t+8|0,t|0,4,0);break a}}else s=c;while(0);b=s+8|0;c=da(b|0,4,0,0)|0|0;k=da(12270*4|0,4,0,0)|0|0;if(s>>>0>=k>>>0&c>>>0>=k>>>0){ea(c+12|0,t|0,4,0);ea(b|0,t|0,4,0);ea(t+8|0,c|0,4,0);ea(t+12|0,s|0,4,0);ea(t+24|0,0|0,4,0);break}else Nb()}else{ea(12267*4|0,b|d|0,4,0);ea(c|0,t|0,4,0);ea(t+24|0,c|0,4,0);ea(t+12|0,t|0,4,0);ea(t+8|0,t|0,4,0)}while(0);k=(da(12274*4|0,4,0,0)|0|0)+-1|0;ea(12274*4|0,k|0,4,0);if(!k)b=49520|0;else return;while(1){b=da(b|0,4,0,0)|0|0;if(!b)break;else b=b+8|0}ea(12274*4|0,-1|0,4,0);return}function Xv(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){c=Vv(b)|0;return c|0}if(b>>>0>4294967231){ea(Gb()|0|0,12|0,4,0);c=0;return c|0}if(b>>>0<11)c=16;else c=b+11&-8;c=$v(a+-8|0,c)|0;if(c){c=c+8|0;return c|0}c=Vv(b)|0;if(!c){c=0;return c|0}d=da(a+-4|0,4,0,0)|0|0;d=(d&-8)-((d&3|0)==0?8:4)|0;jw(c|0,a|0,(d>>>0<b>>>0?d:b)|0)|0;Wv(a);return c|0}function Yv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c){a=0;return a|0}else{e=c;d=a}while(1){c=da(d>>0|0,1,0,0)|0|0;a=da(b>>0|0,1,0,0)|0|0;if(c<<24>>24!=a<<24>>24)break;e=e+-1|0;if(!e){a=0;f=5;break}else{d=d+1|0;b=b+1|0}}if((f|0)==5)return a|0;a=(c&255)-(a&255)|0;return a|0}function Zv(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a>>0|0,1,0,0)|0|0;c=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24==0?1:d<<24>>24!=c<<24>>24)b=d;else{do{a=a+1|0;b=b+1|0;d=da(a>>0|0,1,0,0)|0|0;c=da(b>>0|0,1,0,0)|0|0}while(!(d<<24>>24==0?1:d<<24>>24!=c<<24>>24));b=d}return (b&255)-(c&255)|0}function _v(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!c){b=0;return b|0}d=da(a>>0|0,1,0,0)|0|0;a:do if(!(d<<24>>24))d=0;else while(1){c=c+-1|0;e=da(b>>0|0,1,0,0)|0|0;if(!(e<<24>>24!=0&(c|0)!=0&d<<24>>24==e<<24>>24))break a;a=a+1|0;b=b+1|0;d=da(a>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=0;break}}while(0);b=(d&255)-(da(b>>0|0,1,0,1)|0|0)|0;return b|0}function $v(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=a+4|0;o=da(n|0,4,0,0)|0|0;i=o&-8;k=a+i|0;h=da(12270*4|0,4,0,0)|0|0;d=o&3;if(!((d|0)!=1&a>>>0>=h>>>0&a>>>0<k>>>0))Nb();c=a+(i|4)|0;f=da(c|0,4,0,0)|0|0;if(!(f&1))Nb();if(!d){if(b>>>0<256){l=0;return l|0}if(i>>>0>=(b+4|0)>>>0?(i-b|0)>>>0<=(da(12386*4|0,4,0,0)|0)<<1>>>0:0){l=a;return l|0}l=0;return l|0}if(i>>>0>=b>>>0){d=i-b|0;if(d>>>0<=15){l=a;return l|0}ea(n|0,o&1|b|2|0,4,0);ea(a+(b+4)|0,d|3|0,4,0);ea(c|0,da(c|0,4,0,0)|0|1|0,4,0);aw(a+b|0,d);l=a;return l|0}if((k|0)==(da(12272*4|0,4,0,0)|0|0)){d=(da(12269*4|0,4,0,0)|0|0)+i|0;if(d>>>0<=b>>>0){l=0;return l|0}l=d-b|0;ea(n|0,o&1|b|2|0,4,0);ea(a+(b+4)|0,l|1|0,4,0);ea(12272*4|0,a+b|0,4,0);ea(12269*4|0,l|0,4,0);l=a;return l|0}if((k|0)==(da(12271*4|0,4,0,0)|0|0)){d=(da(12268*4|0,4,0,0)|0|0)+i|0;if(d>>>0<b>>>0){l=0;return l|0}c=d-b|0;if(c>>>0>15){ea(n|0,o&1|b|2|0,4,0);ea(a+(b+4)|0,c|1|0,4,0);ea(a+d|0,c|0,4,0);d=a+(d+4)|0;ea(d|0,(da(d|0,4,0,0)|0)&-2|0,4,0);d=a+b|0}else{ea(n|0,o&1|d|2|0,4,0);d=a+(d+4)|0;ea(d|0,da(d|0,4,0,0)|0|1|0,4,0);d=0;c=0}ea(12268*4|0,c|0,4,0);ea(12271*4|0,d|0,4,0);l=a;return l|0}if(f&2){l=0;return l|0}l=(f&-8)+i|0;if(l>>>0<b>>>0){l=0;return l|0}m=l-b|0;e=f>>>3;do if(f>>>0>=256){g=da(a+(i+24)|0,4,0,0)|0|0;f=da(a+(i+12)|0,4,0,0)|0|0;do if((f|0)==(k|0)){c=a+(i+20)|0;d=da(c|0,4,0,0)|0|0;if(!d){c=a+(i+16)|0;d=da(c|0,4,0,0)|0|0;if(!d){j=0;break}}while(1){e=d+20|0;f=da(e|0,4,0,0)|0|0;if(f){d=f;c=e;continue}f=d+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{d=e;c=f}}if(c>>>0<h>>>0)Nb();else{ea(c|0,0|0,4,0);j=d;break}}else{e=da(a+(i+8)|0,4,0,0)|0|0;if(e>>>0<h>>>0)Nb();d=e+12|0;if((da(d|0,4,0,0)|0|0)!=(k|0))Nb();c=f+8|0;if((da(c|0,4,0,0)|0|0)==(k|0)){ea(d|0,f|0,4,0);ea(c|0,e|0,4,0);j=f;break}else Nb()}while(0);if(g){d=da(a+(i+28)|0,4,0,0)|0|0;c=49368+(d<<2)|0;if((k|0)==(da(c|0,4,0,0)|0|0)){ea(c|0,j|0,4,0);if(!j){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<d)|0,4,0);break}}else{if(g>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();d=g+16|0;if((da(d|0,4,0,0)|0|0)==(k|0))ea(d|0,j|0,4,0);else ea(g+20|0,j|0,4,0);if(!j)break}c=da(12270*4|0,4,0,0)|0|0;if(j>>>0<c>>>0)Nb();ea(j+24|0,g|0,4,0);d=da(a+(i+16)|0,4,0,0)|0|0;do if(d)if(d>>>0<c>>>0)Nb();else{ea(j+16|0,d|0,4,0);ea(d+24|0,j|0,4,0);break}while(0);d=da(a+(i+20)|0,4,0,0)|0|0;if(d)if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(j+20|0,d|0,4,0);ea(d+24|0,j|0,4,0);break}}}else{f=da(a+(i+8)|0,4,0,0)|0|0;c=da(a+(i+12)|0,4,0,0)|0|0;d=49104+(e<<1<<2)|0;if((f|0)!=(d|0)){if(f>>>0<h>>>0)Nb();if((da(f+12|0,4,0,0)|0|0)!=(k|0))Nb()}if((c|0)==(f|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<e)|0,4,0);break}if((c|0)!=(d|0)){if(c>>>0<h>>>0)Nb();d=c+8|0;if((da(d|0,4,0,0)|0|0)==(k|0))g=d;else Nb()}else g=c+8|0;ea(f+12|0,c|0,4,0);ea(g|0,f|0,4,0)}while(0);if(m>>>0<16){ea(n|0,l|o&1|2|0,4,0);l=a+(l|4)|0;ea(l|0,da(l|0,4,0,0)|0|1|0,4,0);l=a;return l|0}else{ea(n|0,o&1|b|2|0,4,0);ea(a+(b+4)|0,m|3|0,4,0);l=a+(l|4)|0;ea(l|0,da(l|0,4,0,0)|0|1|0,4,0);aw(a+b|0,m);l=a;return l|0}return 0}function aw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;p=a+b|0;g=da(a+4|0,4,0,0)|0|0;do if(!(g&1)){i=da(a|0,4,0,0)|0|0;if(!(g&3))return;m=a+(0-i)|0;l=i+b|0;h=da(12270*4|0,4,0,0)|0|0;if(m>>>0<h>>>0)Nb();if((m|0)==(da(12271*4|0,4,0,0)|0|0)){f=a+(b+4)|0;g=da(f|0,4,0,0)|0|0;if((g&3|0)!=3){s=m;k=l;break}ea(12268*4|0,l|0,4,0);ea(f|0,g&-2|0,4,0);ea(a+(4-i)|0,l|1|0,4,0);ea(p|0,l|0,4,0);return}d=i>>>3;if(i>>>0<256){e=da(a+(8-i)|0,4,0,0)|0|0;f=da(a+(12-i)|0,4,0,0)|0|0;g=49104+(d<<1<<2)|0;if((e|0)!=(g|0)){if(e>>>0<h>>>0)Nb();if((da(e+12|0,4,0,0)|0|0)!=(m|0))Nb()}if((f|0)==(e|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<d)|0,4,0);s=m;k=l;break}if((f|0)!=(g|0)){if(f>>>0<h>>>0)Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(m|0))c=g;else Nb()}else c=f+8|0;ea(e+12|0,f|0,4,0);ea(c|0,e|0,4,0);s=m;k=l;break}c=da(a+(24-i)|0,4,0,0)|0|0;e=da(a+(12-i)|0,4,0,0)|0|0;do if((e|0)==(m|0)){e=16-i|0;f=a+(e+4)|0;g=da(f|0,4,0,0)|0|0;if(!g){f=a+e|0;g=da(f|0,4,0,0)|0|0;if(!g){j=0;break}}while(1){e=g+20|0;d=da(e|0,4,0,0)|0|0;if(d){g=d;f=e;continue}e=g+16|0;d=da(e|0,4,0,0)|0|0;if(!d)break;else{g=d;f=e}}if(f>>>0<h>>>0)Nb();else{ea(f|0,0|0,4,0);j=g;break}}else{d=da(a+(8-i)|0,4,0,0)|0|0;if(d>>>0<h>>>0)Nb();g=d+12|0;if((da(g|0,4,0,0)|0|0)!=(m|0))Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(m|0)){ea(g|0,e|0,4,0);ea(f|0,d|0,4,0);j=e;break}else Nb()}while(0);if(c){g=da(a+(28-i)|0,4,0,0)|0|0;f=49368+(g<<2)|0;if((m|0)==(da(f|0,4,0,0)|0|0)){ea(f|0,j|0,4,0);if(!j){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<g)|0,4,0);s=m;k=l;break}}else{if(c>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();g=c+16|0;if((da(g|0,4,0,0)|0|0)==(m|0))ea(g|0,j|0,4,0);else ea(c+20|0,j|0,4,0);if(!j){s=m;k=l;break}}e=da(12270*4|0,4,0,0)|0|0;if(j>>>0<e>>>0)Nb();ea(j+24|0,c|0,4,0);g=16-i|0;f=da(a+g|0,4,0,0)|0|0;do if(f)if(f>>>0<e>>>0)Nb();else{ea(j+16|0,f|0,4,0);ea(f+24|0,j|0,4,0);break}while(0);g=da(a+(g+4)|0,4,0,0)|0|0;if(g)if(g>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(j+20|0,g|0,4,0);ea(g+24|0,j|0,4,0);s=m;k=l;break}else{s=m;k=l}}else{s=m;k=l}}else{s=a;k=b}while(0);h=da(12270*4|0,4,0,0)|0|0;if(p>>>0<h>>>0)Nb();g=a+(b+4)|0;f=da(g|0,4,0,0)|0|0;if(!(f&2)){if((p|0)==(da(12272*4|0,4,0,0)|0|0)){l=(da(12269*4|0,4,0,0)|0|0)+k|0;ea(12269*4|0,l|0,4,0);ea(12272*4|0,s|0,4,0);ea(s+4|0,l|1|0,4,0);if((s|0)!=(da(12271*4|0,4,0,0)|0|0))return;ea(12271*4|0,0|0,4,0);ea(12268*4|0,0|0,4,0);return}if((p|0)==(da(12271*4|0,4,0,0)|0|0)){l=(da(12268*4|0,4,0,0)|0|0)+k|0;ea(12268*4|0,l|0,4,0);ea(12271*4|0,s|0,4,0);ea(s+4|0,l|1|0,4,0);ea(s+l|0,l|0,4,0);return}i=(f&-8)+k|0;c=f>>>3;do if(f>>>0>=256){c=da(a+(b+24)|0,4,0,0)|0|0;e=da(a+(b+12)|0,4,0,0)|0|0;do if((e|0)==(p|0)){f=a+(b+20)|0;g=da(f|0,4,0,0)|0|0;if(!g){f=a+(b+16)|0;g=da(f|0,4,0,0)|0|0;if(!g){o=0;break}}while(1){e=g+20|0;d=da(e|0,4,0,0)|0|0;if(d){g=d;f=e;continue}e=g+16|0;d=da(e|0,4,0,0)|0|0;if(!d)break;else{g=d;f=e}}if(f>>>0<h>>>0)Nb();else{ea(f|0,0|0,4,0);o=g;break}}else{d=da(a+(b+8)|0,4,0,0)|0|0;if(d>>>0<h>>>0)Nb();g=d+12|0;if((da(g|0,4,0,0)|0|0)!=(p|0))Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(p|0)){ea(g|0,e|0,4,0);ea(f|0,d|0,4,0);o=e;break}else Nb()}while(0);if(c){g=da(a+(b+28)|0,4,0,0)|0|0;f=49368+(g<<2)|0;if((p|0)==(da(f|0,4,0,0)|0|0)){ea(f|0,o|0,4,0);if(!o){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<g)|0,4,0);break}}else{if(c>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();f=c+16|0;if((da(f|0,4,0,0)|0|0)==(p|0))ea(f|0,o|0,4,0);else ea(c+20|0,o|0,4,0);if(!o)break}e=da(12270*4|0,4,0,0)|0|0;if(o>>>0<e>>>0)Nb();ea(o+24|0,c|0,4,0);f=da(a+(b+16)|0,4,0,0)|0|0;do if(f)if(f>>>0<e>>>0)Nb();else{ea(o+16|0,f|0,4,0);ea(f+24|0,o|0,4,0);break}while(0);e=da(a+(b+20)|0,4,0,0)|0|0;if(e)if(e>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(o+20|0,e|0,4,0);ea(e+24|0,o|0,4,0);break}}}else{d=da(a+(b+8)|0,4,0,0)|0|0;e=da(a+(b+12)|0,4,0,0)|0|0;g=49104+(c<<1<<2)|0;if((d|0)!=(g|0)){if(d>>>0<h>>>0)Nb();if((da(d+12|0,4,0,0)|0|0)!=(p|0))Nb()}if((e|0)==(d|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<c)|0,4,0);break}if((e|0)!=(g|0)){if(e>>>0<h>>>0)Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(p|0))n=f;else Nb()}else n=e+8|0;ea(d+12|0,e|0,4,0);ea(n|0,d|0,4,0)}while(0);ea(s+4|0,i|1|0,4,0);ea(s+i|0,i|0,4,0);if((s|0)==(da(12271*4|0,4,0,0)|0|0)){ea(12268*4|0,i|0,4,0);return}else g=i}else{ea(g|0,f&-2|0,4,0);ea(s+4|0,k|1|0,4,0);ea(s+k|0,k|0,4,0);g=k}f=g>>>3;if(g>>>0<256){d=f<<1;g=49104+(d<<2)|0;c=da(12266*4|0,4,0,0)|0|0;e=1<<f;if(c&e){e=49104+(d+2<<2)|0;d=da(e|0,4,0,0)|0|0;if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{q=e;r=d}}else{ea(12266*4|0,c|e|0,4,0);q=49104+(d+2<<2)|0;r=g}ea(q|0,s|0,4,0);ea(r+12|0,s|0,4,0);ea(s+8|0,r|0,4,0);ea(s+12|0,g|0,4,0);return}c=g>>>8;if(c)if(g>>>0>16777215)f=31;else{k=(c+1048320|0)>>>16&8;l=c<<k;j=(l+520192|0)>>>16&4;l=l<<j;f=(l+245760|0)>>>16&2;f=14-(j|k|f)+(l<<f>>>15)|0;f=g>>>(f+7|0)&1|f<<1}else f=0;e=49368+(f<<2)|0;ea(s+28|0,f|0,4,0);ea(s+20|0,0|0,4,0);ea(s+16|0,0|0,4,0);d=da(12267*4|0,4,0,0)|0|0;c=1<<f;if(!(d&c)){ea(12267*4|0,d|c|0,4,0);ea(e|0,s|0,4,0);ea(s+24|0,e|0,4,0);ea(s+12|0,s|0,4,0);ea(s+8|0,s|0,4,0);return}c=da(e|0,4,0,0)|0|0;if((f|0)==31)d=0;else d=25-(f>>>1)|0;a:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(g|0)){f=g<<d;while(1){d=c+(f>>>31<<2)+16|0;e=da(d|0,4,0,0)|0|0;if(!e)break;if(((da(e+4|0,4,0,0)|0)&-8|0)==(g|0)){c=e;break a}else{f=f<<1;c=e}}if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();ea(d|0,s|0,4,0);ea(s+24|0,c|0,4,0);ea(s+12|0,s|0,4,0);ea(s+8|0,s|0,4,0);return}while(0);d=c+8|0;e=da(d|0,4,0,0)|0|0;l=da(12270*4|0,4,0,0)|0|0;if(!(c>>>0>=l>>>0&e>>>0>=l>>>0))Nb();ea(e+12|0,s|0,4,0);ea(d|0,s|0,4,0);ea(s+8|0,e|0,4,0);ea(s+12|0,c|0,4,0);ea(s+24|0,0|0,4,0);return}function bw(){}function cw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=b-d-(c>>>0>a>>>0|0)>>>0;return (C=b,a-c>>>0|0)|0}function dw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=(b|0)<0?-1:0;return b>>c-32|0}function ew(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a+c|0;if((c|0)>=20){b=b&255;f=a&3;g=b|b<<8|b<<16|b<<24;e=d&~3;if(f){f=a+4-f|0;while((a|0)<(f|0)){ea(a|0,b|0,1,0)|0;a=a+1|0}}while((a|0)<(e|0)){ea(a|0,g|0,4,0)|0;a=a+4|0}}while((a|0)<(d|0)){ea(a|0,b|0,1,0)|0;a=a+1|0}return a-c|0}function fw(a){a=a|0;var b=0;b=a;while(da(b|0,1,0,0)|0)b=b+1|0;return b-a|0}function gw(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+(fw(a)|0)|0;do{ea(d+c|0,da(b+c|0,1,0,0)|0,1,0)|0;c=c+1|0}while(da(b+(c-1)|0,1,0,0)|0);return a|0}function hw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}C=a<<c-32;return 0}function iw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (C=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function jw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=4096)return tb(a|0,b|0,c|0)|0;d=a|0;if((a&3)==(b&3)){while(a&3){if(!c)return d|0;ea(a|0,da(b|0,1,0,0)|0,1,0)|0;a=a+1|0;b=b+1|0;c=c-1|0}while((c|0)>=4){ea(a|0,da(b|0,4,0,0)|0,4,0)|0;a=a+4|0;b=b+4|0;c=c-4|0}}while((c|0)>0){ea(a|0,da(b|0,1,0,0)|0,1,0)|0;a=a+1|0;b=b+1|0;c=c-1|0}return d|0}function kw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)<(a|0)&(a|0)<(b+c|0)){d=a;b=b+c|0;a=a+c|0;while((c|0)>0){a=a-1|0;b=b-1|0;c=c-1|0;ea(a|0,da(b|0,1,0,0)|0,1,0)|0}a=d}else jw(a,b,c)|0;return a|0}function lw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=0;return b>>>c-32|0}function mw(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function nw(a){a=a|0;var b=0;b=da(m+(a&255)|0,1,0,0)|0;if((b|0)<8)return b|0;b=da(m+(a>>8&255)|0,1,0,0)|0;if((b|0)<8)return b+8|0;b=da(m+(a>>16&255)|0,1,0,0)|0;if((b|0)<8)return b+16|0;return (da(m+(a>>>24)|0,1,0,0)|0)+24|0}function ow(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;d=b&65535;c=_(d,f)|0;e=a>>>16;d=(c>>>16)+(_(d,e)|0)|0;b=b>>>16;a=_(b,f)|0;return (C=(d>>>16)+(_(b,e)|0)+(((d&65535)+a|0)>>>16)|0,d+a<<16|c&65535|0)|0}function pw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b>>31|((b|0)<0?-1:0)<<1;i=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;f=d>>31|((d|0)<0?-1:0)<<1;e=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;h=cw(j^a,i^b,j,i)|0;g=C;b=f^j;a=e^i;a=cw((uw(h,g,cw(f^c,e^d,f,e)|0,C,0)|0)^b,C^a,b,a)|0;return a|0}function qw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+8|0;h=e|0;g=b>>31|((b|0)<0?-1:0)<<1;f=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=d>>31|((d|0)<0?-1:0)<<1;j=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;b=cw(g^a,f^b,g,f)|0;a=C;uw(b,a,cw(k^c,j^d,k,j)|0,C,h)|0;a=cw((da(h|0,4,0,0)|0)^g,(da(h+4|0,4,0,0)|0)^f,g,f)|0;b=C;i=e;return (C=b,a)|0}function rw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;a=ow(e,f)|0;c=C;return (C=(_(b,f)|0)+(_(d,e)|0)+c|c&0,a|0|0)|0}function sw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=uw(a,b,c,d,0)|0;return a|0}function tw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+8|0;e=f|0;uw(a,b,c,d,e)|0;i=f;return (C=da(e+4|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0)|0}function uw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a;k=b;l=k;j=c;n=d;h=n;if(!l){f=(e|0)!=0;if(!h){if(f){ea(e|0,(m>>>0)%(j>>>0)|0,4,0);ea(e+4|0,0|0,4,0)}k=0;l=(m>>>0)/(j>>>0)>>>0;return (C=k,l)|0}else{if(!f){k=0;l=0;return (C=k,l)|0}ea(e|0,a|0|0,4,0);ea(e+4|0,b&0|0,4,0);k=0;l=0;return (C=k,l)|0}}i=(h|0)==0;do if(j){if(!i){g=(aa(h|0)|0)-(aa(l|0)|0)|0;if(g>>>0<=31){f=g+1|0;k=31-g|0;j=g-31>>31;h=f;i=m>>>(f>>>0)&j|l<<k;j=l>>>(f>>>0)&j;f=0;g=m<<k;break}if(!e){k=0;l=0;return (C=k,l)|0}ea(e|0,a|0|0,4,0);ea(e+4|0,k|b&0|0,4,0);k=0;l=0;return (C=k,l)|0}i=j-1|0;if(i&j){g=(aa(j|0)|0)+33-(aa(l|0)|0)|0;o=64-g|0;k=32-g|0;a=k>>31;b=g-32|0;j=b>>31;h=g;i=k-1>>31&l>>>(b>>>0)|(l<<k|m>>>(g>>>0))&j;j=j&l>>>(g>>>0);f=m<<o&a;g=(l<<o|m>>>(b>>>0))&a|m<<k&g-33>>31;break}if(e){ea(e|0,i&m|0,4,0);ea(e+4|0,0|0,4,0)}if((j|0)==1){k=k|b&0;l=a|0|0;return (C=k,l)|0}else{a=nw(j|0)|0;k=l>>>(a>>>0)|0;l=l<<32-a|m>>>(a>>>0)|0;return (C=k,l)|0}}else{if(i){if(e){ea(e|0,(l>>>0)%(j>>>0)|0,4,0);ea(e+4|0,0|0,4,0)}k=0;l=(l>>>0)/(j>>>0)>>>0;return (C=k,l)|0}if(!m){if(e){ea(e|0,0|0,4,0);ea(e+4|0,(l>>>0)%(h>>>0)|0,4,0)}k=0;l=(l>>>0)/(h>>>0)>>>0;return (C=k,l)|0}i=h-1|0;if(!(i&h)){if(e){ea(e|0,a|0|0,4,0);ea(e+4|0,i&l|b&0|0,4,0)}k=0;l=l>>>((nw(h|0)|0)>>>0);return (C=k,l)|0}g=(aa(h|0)|0)-(aa(l|0)|0)|0;if(g>>>0<=30){j=g+1|0;g=31-g|0;h=j;i=l<<g|m>>>(j>>>0);j=l>>>(j>>>0);f=0;g=m<<g;break}if(!e){k=0;l=0;return (C=k,l)|0}ea(e|0,a|0|0,4,0);ea(e+4|0,k|b&0|0,4,0);k=0;l=0;return (C=k,l)|0}while(0);if(!h){k=g;h=0;g=0}else{l=c|0|0;k=n|d&0;b=iw(l,k,-1,-1)|0;a=C;c=g;g=0;do{o=c;c=f>>>31|c<<1;f=g|f<<1;o=i<<1|o>>>31|0;n=i>>>31|j<<1|0;cw(b,a,o,n)|0;m=C;d=m>>31|((m|0)<0?-1:0)<<1;g=d&1;i=cw(o,n,d&l,(((m|0)<0?-1:0)>>31|((m|0)<0?-1:0)<<1)&k)|0;j=C;h=h-1|0}while((h|0)!=0);k=c;h=0}c=0;if(e){ea(e|0,i|0,4,0);ea(e+4|0,j|0,4,0)}k=(f|0)>>>31|(k|c)<<1|(c<<1|f>>>31)&0|h;l=(f<<1|0>>>31)&-2|g;return (C=k,l)|0}function vw(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return _b[(fa(a|0,1|0)|0)&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function ww(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $b[(fa(a|0,63|0)|0)&63](b|0,c|0,d|0)|0}function xw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ac[(fa(a|0,1|0)|0)&1](b|0,c|0,d|0,e|0,f|0,g|0)}function yw(a,b){a=a|0;b=b|0;bc[(fa(a|0,31|0)|0)&31](b|0)}function zw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;cc[(fa(a|0,1|0)|0)&1](b|0,c|0,d|0,e|0,f|0)}function Aw(a,b,c){a=a|0;b=b|0;c=c|0;return +dc[(fa(a|0,1|0)|0)&1](b|0,c|0)}function Bw(a,b,c){a=a|0;b=b|0;c=+c;ec[(fa(a|0,1|0)|0)&1](b|0,+c)}function Cw(a,b){a=a|0;b=b|0;return +fc[(fa(a|0,1|0)|0)&1](b|0)}function Dw(a){a=a|0;return gc[(fa(a|0,7|0)|0)&7]()|0}function Ew(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return hc[(fa(a|0,3|0)|0)&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function Fw(a,b,c){a=a|0;b=b|0;c=c|0;ic[(fa(a|0,15|0)|0)&15](b|0,c|0)}function Gw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return jc[(fa(a|0,7|0)|0)&7](b|0,c|0,d|0,e|0,f|0,g|0)|0}function Hw(a,b){a=a|0;b=b|0;return kc[(fa(a|0,127|0)|0)&127](b|0)|0}function Iw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;lc[(fa(a|0,63|0)|0)&63](b|0,c|0,d|0)}function Jw(a){a=a|0;mc[(fa(a|0,3|0)|0)&3]()}function Kw(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return nc[(fa(a|0,3|0)|0)&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function Lw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oc[(fa(a|0,31|0)|0)&31](b|0,c|0,d|0,e|0)|0}function Mw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;pc[(fa(a|0,15|0)|0)&15](b|0,c|0,d|0,e|0)}function Nw(a,b,c){a=a|0;b=b|0;c=c|0;return qc[(fa(a|0,127|0)|0)&127](b|0,c|0)|0}function Ow(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;return rc[(fa(a|0,1|0)|0)&1](b|0,c|0,+d)|0}function Pw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return sc[(fa(a|0,31|0)|0)&31](b|0,c|0,d|0,e|0,f|0)|0}function Qw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ga(0);return 0}function Rw(a,b,c){a=a|0;b=b|0;c=c|0;ha(1);return 0}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;return sb(a|0,b|0,c|0)|0}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;return Xb(a|0,b|0,c|0)|0}function Uw(a,b,c){a=a|0;b=b|0;c=c|0;return Eb(a|0,b|0,c|0)|0}function Vw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ia(2)}function Ww(a){a=a|0;ja(3)}function Xw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ka(4)}function Yw(a,b){a=a|0;b=b|0;la(5);return 0.0}function Zw(a,b){a=a|0;b=+b;ma(6)}function _w(a){a=a|0;na(7);return 0.0}function $w(){oa(8);return 0}function ax(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;pa(9);return 0}function bx(a,b){a=a|0;b=b|0;qa(10)}function cx(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ra(11);return 0}function dx(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Tb(a|0,b|0,c|0,d|0,e|0,f|0)|0}function ex(a){a=a|0;sa(12);return 0}function fx(a){a=a|0;return Wb(a|0)|0}function gx(a){a=a|0;return ub(a|0)|0}function hx(a){a=a|0;return gb(a|0)|0}function ix(a,b,c){a=a|0;b=b|0;c=c|0;ta(13)}function jx(){ua(14)}function kx(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;va(15);return 0}function lx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wa(16);return 0}function mx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xa(17)}function nx(a,b){a=a|0;b=b|0;ya(18);return 0}function ox(a,b){a=a|0;b=b|0;return db(a|0,b|0)|0}function px(a,b){a=a|0;b=b|0;return Vb(a|0,b|0)|0}function qx(a,b){a=a|0;b=b|0;return Hb(a|0,b|0)|0}function rx(a,b){a=a|0;b=b|0;return eb(a|0,b|0)|0}function sx(a,b){a=a|0;b=b|0;return yb(a|0,b|0)|0}function tx(a,b){a=a|0;b=b|0;return wb(a|0,b|0)|0}function ux(a,b){a=a|0;b=b|0;return zb(a|0,b|0)|0}function vx(a,b){a=a|0;b=b|0;return Sb(a|0,b|0)|0}function wx(a,b,c){a=a|0;b=b|0;c=+c;za(19);return 0}function xx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Aa(20);return 0}
// EMSCRIPTEN_END_FUNCS
var _b=[Qw,te];var $b=[Rw,ki,pi,ri,ui,wi,pe,ve,uf,Wf,Xf,Ef,Df,Gf,Ne,Cf,Ff,Bf,we,Pf,of,Fe,Ec,If,Me,df,eg,Xc,Fi,Ki,Ni,dk,jk,rk,Sw,Tw,Uw,tk,Ap,Bp,zp,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw];var ac=[Vw,Id];var bc=[Ww,Vc,_e,xf,Gd,Qd,Pd,Qc,Ji,Ri,Si,Ui,Zi,bj,Ej,Fj,Gj,Ij,Kj,nk,po,xp,pl,Ww,Ww,Ww,Ww,Ww,Ww,Ww,Ww,Ww];var cc=[Xw,Ad];var dc=[Yw,be];var ec=[Zw,Bd];var fc=[_w,sd];var gc=[$w,gf,jf,Pc,kf,hf,uk,$w];var hc=[ax,_f,zf,ax];var ic=[bx,qi,Ed,Md,Nd,Od,bd,Li,Qi,qu,ru,bx,bx,bx,bx,bx];var jc=[cx,Ze,Uf,ne,dx,cx,cx,cx];var kc=[ex,Xd,xe,qf,sf,Yd,ef,ff,Zd,Be,dd,Mf,Re,Lf,kd,ld,Yf,pf,Sc,md,Rd,rf,Sd,od,qd,rd,td,ud,Ge,pd,vd,wd,xd,yd,nd,Le,Ie,Rc,Nc,$f,Jc,Mc,Td,jd,gd,id,hd,Fc,Dc,mf,Nf,cf,tf,nf,Of,De,Ce,Te,Ue,Uc,Ci,Ii,Mi,Ti,Wi,Xi,Yi,ak,kk,lk,fx,gx,hx,vk,zk,Wk,fl,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex];var lc=[ix,oi,Cd,Dd,Fd,ad,Oi,_i,$i,aj,cj,dj,ej,fj,gj,hj,ij,jj,kj,lj,mj,nj,oj,pj,qj,rj,sj,tj,uj,vj,wj,xj,yj,zj,Aj,Bj,Cj,Dj,Hj,Jj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,Uj,Vj,Wj,Xj,Yj,Zj,_j,$j,Sh,ix,ix,ix,ix,ix,ix];var mc=[jx,Zf,Ve,jx];var nc=[kx,yf,Af,He];var oc=[lx,li,mi,qe,$e,$c,Je,Ke,bg,Rf,Hc,ed,fg,_c,Se,mk,qk,Cc,Ch,Eh,Ih,Th,_m,cq,lx,lx,lx,lx,lx,lx,lx,lx];var pc=[mx,vf,zd,Hd,Jd,Kd,Ld,Wd,Pi,og,mx,mx,mx,mx,mx,mx];var qc=[nx,ni,si,ti,vi,xi,yi,zi,Ai,Bi,Ud,re,ze,ye,wf,_d,$d,ae,ke,le,ce,de,ie,je,ee,ge,he,fe,bf,Vd,Zc,Qf,Sf,Wc,Ae,Yc,Lc,cg,ag,Ee,fd,Oc,Hf,Kf,gg,hg,cd,dg,Tc,Oe,Gi,Hi,Vi,ek,fk,gk,hk,ik,ok,ox,px,qx,rx,sx,tx,sk,ux,vx,wk,xk,yk,Ak,Bk,Ck,Oh,wp,Cm,Dm,os,ps,Ys,Zs,fu,gu,nu,ou,pu,ov,Rv,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx];var rc=[wx,oe];var sc=[xx,ji,me,se,ue,Tf,Vf,Pe,We,Xe,Qe,Ye,af,Ic,Jf,Di,Ei,bk,ck,pk,Dk,Tn,Un,xx,xx,xx,xx,xx,xx,xx,xx,xx];return{_i64Subtract:cw,_strcat:gw,_free:Wv,_main:Bc,_realloc:Xv,_i64Add:iw,_memmove:kw,_bitshift64Ashr:dw,_strlen:fw,_memset:ew,_malloc:Vv,_memcpy:jw,_bitshift64Lshr:lw,_llvm_bswap_i32:mw,_bitshift64Shl:hw,runPostSets:bw,stackAlloc:tc,stackSave:uc,stackRestore:vc,setThrew:wc,setTempRet0:zc,getTempRet0:Ac,dynCall_iiiiiiii:vw,dynCall_iiii:ww,dynCall_viiiiii:xw,dynCall_vi:yw,dynCall_viiiii:zw,dynCall_dii:Aw,dynCall_vid:Bw,dynCall_di:Cw,dynCall_i:Dw,dynCall_iiiiiiiiii:Ew,dynCall_vii:Fw,dynCall_iiiiiii:Gw,dynCall_ii:Hw,dynCall_viii:Iw,dynCall_v:Jw,dynCall_iiiiiiiii:Kw,dynCall_iiiii:Lw,dynCall_viiii:Mw,dynCall_iii:Nw,dynCall_iiid:Ow,dynCall_iiiiii:Pw}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var real__i64Subtract=asm["_i64Subtract"];asm["_i64Subtract"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__i64Subtract.apply(null,arguments)});var real__strcat=asm["_strcat"];asm["_strcat"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__strcat.apply(null,arguments)});var real__main=asm["_main"];asm["_main"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__main.apply(null,arguments)});var real__realloc=asm["_realloc"];asm["_realloc"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__realloc.apply(null,arguments)});var real__i64Add=asm["_i64Add"];asm["_i64Add"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__i64Add.apply(null,arguments)});var real__memmove=asm["_memmove"];asm["_memmove"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__memmove.apply(null,arguments)});var real__bitshift64Ashr=asm["_bitshift64Ashr"];asm["_bitshift64Ashr"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__bitshift64Ashr.apply(null,arguments)});var real__strlen=asm["_strlen"];asm["_strlen"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__strlen.apply(null,arguments)});var real__bitshift64Lshr=asm["_bitshift64Lshr"];asm["_bitshift64Lshr"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__bitshift64Lshr.apply(null,arguments)});var real__llvm_bswap_i32=asm["_llvm_bswap_i32"];asm["_llvm_bswap_i32"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__llvm_bswap_i32.apply(null,arguments)});var real__bitshift64Shl=asm["_bitshift64Shl"];asm["_bitshift64Shl"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__bitshift64Shl.apply(null,arguments)});var real_runPostSets=asm["runPostSets"];asm["runPostSets"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real_runPostSets.apply(null,arguments)});var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _strcat=Module["_strcat"]=asm["_strcat"];var _free=Module["_free"]=asm["_free"];var _main=Module["_main"]=asm["_main"];var _realloc=Module["_realloc"]=asm["_realloc"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _memmove=Module["_memmove"]=asm["_memmove"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _strlen=Module["_strlen"]=asm["_strlen"];var _memset=Module["_memset"]=asm["_memset"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_dii=Module["dynCall_dii"]=asm["dynCall_dii"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=asm["dynCall_iiiiiiiiii"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiid=Module["dynCall_iiid"]=asm["dynCall_iiid"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];var i64Math=(function(){var goog={math:{}};goog.math.Long=(function(low,high){this.low_=low|0;this.high_=high|0});goog.math.Long.IntCache_={};goog.math.Long.fromInt=(function(value){if(-128<=value&&value<128){var cachedObj=goog.math.Long.IntCache_[value];if(cachedObj){return cachedObj}}var obj=new goog.math.Long(value|0,value<0?-1:0);if(-128<=value&&value<128){goog.math.Long.IntCache_[value]=obj}return obj});goog.math.Long.fromNumber=(function(value){if(isNaN(value)||!isFinite(value)){return goog.math.Long.ZERO}else if(value<=-goog.math.Long.TWO_PWR_63_DBL_){return goog.math.Long.MIN_VALUE}else if(value+1>=goog.math.Long.TWO_PWR_63_DBL_){return goog.math.Long.MAX_VALUE}else if(value<0){return goog.math.Long.fromNumber(-value).negate()}else{return new goog.math.Long(value%goog.math.Long.TWO_PWR_32_DBL_|0,value/goog.math.Long.TWO_PWR_32_DBL_|0)}});goog.math.Long.fromBits=(function(lowBits,highBits){return new goog.math.Long(lowBits,highBits)});goog.math.Long.fromString=(function(str,opt_radix){if(str.length==0){throw Error("number format error: empty string")}var radix=opt_radix||10;if(radix<2||36<radix){throw Error("radix out of range: "+radix)}if(str.charAt(0)=="-"){return goog.math.Long.fromString(str.substring(1),radix).negate()}else if(str.indexOf("-")>=0){throw Error('number format error: interior "-" character: '+str)}var radixToPower=goog.math.Long.fromNumber(Math.pow(radix,8));var result=goog.math.Long.ZERO;for(var i=0;i<str.length;i+=8){var size=Math.min(8,str.length-i);var value=parseInt(str.substring(i,i+size),radix);if(size<8){var power=goog.math.Long.fromNumber(Math.pow(radix,size));result=result.multiply(power).add(goog.math.Long.fromNumber(value))}else{result=result.multiply(radixToPower);result=result.add(goog.math.Long.fromNumber(value))}}return result});goog.math.Long.TWO_PWR_16_DBL_=1<<16;goog.math.Long.TWO_PWR_24_DBL_=1<<24;goog.math.Long.TWO_PWR_32_DBL_=goog.math.Long.TWO_PWR_16_DBL_*goog.math.Long.TWO_PWR_16_DBL_;goog.math.Long.TWO_PWR_31_DBL_=goog.math.Long.TWO_PWR_32_DBL_/2;goog.math.Long.TWO_PWR_48_DBL_=goog.math.Long.TWO_PWR_32_DBL_*goog.math.Long.TWO_PWR_16_DBL_;goog.math.Long.TWO_PWR_64_DBL_=goog.math.Long.TWO_PWR_32_DBL_*goog.math.Long.TWO_PWR_32_DBL_;goog.math.Long.TWO_PWR_63_DBL_=goog.math.Long.TWO_PWR_64_DBL_/2;goog.math.Long.ZERO=goog.math.Long.fromInt(0);goog.math.Long.ONE=goog.math.Long.fromInt(1);goog.math.Long.NEG_ONE=goog.math.Long.fromInt(-1);goog.math.Long.MAX_VALUE=goog.math.Long.fromBits(4294967295|0,2147483647|0);goog.math.Long.MIN_VALUE=goog.math.Long.fromBits(0,2147483648|0);goog.math.Long.TWO_PWR_24_=goog.math.Long.fromInt(1<<24);goog.math.Long.prototype.toInt=(function(){return this.low_});goog.math.Long.prototype.toNumber=(function(){return this.high_*goog.math.Long.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()});goog.math.Long.prototype.toString=(function(opt_radix){var radix=opt_radix||10;if(radix<2||36<radix){throw Error("radix out of range: "+radix)}if(this.isZero()){return"0"}if(this.isNegative()){if(this.equals(goog.math.Long.MIN_VALUE)){var radixLong=goog.math.Long.fromNumber(radix);var div=this.div(radixLong);var rem=div.multiply(radixLong).subtract(this);return div.toString(radix)+rem.toInt().toString(radix)}else{return"-"+this.negate().toString(radix)}}var radixToPower=goog.math.Long.fromNumber(Math.pow(radix,6));var rem=this;var result="";while(true){var remDiv=rem.div(radixToPower);var intval=rem.subtract(remDiv.multiply(radixToPower)).toInt();var digits=intval.toString(radix);rem=remDiv;if(rem.isZero()){return digits+result}else{while(digits.length<6){digits="0"+digits}result=""+digits+result}}});goog.math.Long.prototype.getHighBits=(function(){return this.high_});goog.math.Long.prototype.getLowBits=(function(){return this.low_});goog.math.Long.prototype.getLowBitsUnsigned=(function(){return this.low_>=0?this.low_:goog.math.Long.TWO_PWR_32_DBL_+this.low_});goog.math.Long.prototype.getNumBitsAbs=(function(){if(this.isNegative()){if(this.equals(goog.math.Long.MIN_VALUE)){return 64}else{return this.negate().getNumBitsAbs()}}else{var val=this.high_!=0?this.high_:this.low_;for(var bit=31;bit>0;bit--){if((val&1<<bit)!=0){break}}return this.high_!=0?bit+33:bit+1}});goog.math.Long.prototype.isZero=(function(){return this.high_==0&&this.low_==0});goog.math.Long.prototype.isNegative=(function(){return this.high_<0});goog.math.Long.prototype.isOdd=(function(){return(this.low_&1)==1});goog.math.Long.prototype.equals=(function(other){return this.high_==other.high_&&this.low_==other.low_});goog.math.Long.prototype.notEquals=(function(other){return this.high_!=other.high_||this.low_!=other.low_});goog.math.Long.prototype.lessThan=(function(other){return this.compare(other)<0});goog.math.Long.prototype.lessThanOrEqual=(function(other){return this.compare(other)<=0});goog.math.Long.prototype.greaterThan=(function(other){return this.compare(other)>0});goog.math.Long.prototype.greaterThanOrEqual=(function(other){return this.compare(other)>=0});goog.math.Long.prototype.compare=(function(other){if(this.equals(other)){return 0}var thisNeg=this.isNegative();var otherNeg=other.isNegative();if(thisNeg&&!otherNeg){return-1}if(!thisNeg&&otherNeg){return 1}if(this.subtract(other).isNegative()){return-1}else{return 1}});goog.math.Long.prototype.negate=(function(){if(this.equals(goog.math.Long.MIN_VALUE)){return goog.math.Long.MIN_VALUE}else{return this.not().add(goog.math.Long.ONE)}});goog.math.Long.prototype.add=(function(other){var a48=this.high_>>>16;var a32=this.high_&65535;var a16=this.low_>>>16;var a00=this.low_&65535;var b48=other.high_>>>16;var b32=other.high_&65535;var b16=other.low_>>>16;var b00=other.low_&65535;var c48=0,c32=0,c16=0,c00=0;c00+=a00+b00;c16+=c00>>>16;c00&=65535;c16+=a16+b16;c32+=c16>>>16;c16&=65535;c32+=a32+b32;c48+=c32>>>16;c32&=65535;c48+=a48+b48;c48&=65535;return goog.math.Long.fromBits(c16<<16|c00,c48<<16|c32)});goog.math.Long.prototype.subtract=(function(other){return this.add(other.negate())});goog.math.Long.prototype.multiply=(function(other){if(this.isZero()){return goog.math.Long.ZERO}else if(other.isZero()){return goog.math.Long.ZERO}if(this.equals(goog.math.Long.MIN_VALUE)){return other.isOdd()?goog.math.Long.MIN_VALUE:goog.math.Long.ZERO}else if(other.equals(goog.math.Long.MIN_VALUE)){return this.isOdd()?goog.math.Long.MIN_VALUE:goog.math.Long.ZERO}if(this.isNegative()){if(other.isNegative()){return this.negate().multiply(other.negate())}else{return this.negate().multiply(other).negate()}}else if(other.isNegative()){return this.multiply(other.negate()).negate()}if(this.lessThan(goog.math.Long.TWO_PWR_24_)&&other.lessThan(goog.math.Long.TWO_PWR_24_)){return goog.math.Long.fromNumber(this.toNumber()*other.toNumber())}var a48=this.high_>>>16;var a32=this.high_&65535;var a16=this.low_>>>16;var a00=this.low_&65535;var b48=other.high_>>>16;var b32=other.high_&65535;var b16=other.low_>>>16;var b00=other.low_&65535;var c48=0,c32=0,c16=0,c00=0;c00+=a00*b00;c16+=c00>>>16;c00&=65535;c16+=a16*b00;c32+=c16>>>16;c16&=65535;c16+=a00*b16;c32+=c16>>>16;c16&=65535;c32+=a32*b00;c48+=c32>>>16;c32&=65535;c32+=a16*b16;c48+=c32>>>16;c32&=65535;c32+=a00*b32;c48+=c32>>>16;c32&=65535;c48+=a48*b00+a32*b16+a16*b32+a00*b48;c48&=65535;return goog.math.Long.fromBits(c16<<16|c00,c48<<16|c32)});goog.math.Long.prototype.div=(function(other){if(other.isZero()){throw Error("division by zero")}else if(this.isZero()){return goog.math.Long.ZERO}if(this.equals(goog.math.Long.MIN_VALUE)){if(other.equals(goog.math.Long.ONE)||other.equals(goog.math.Long.NEG_ONE)){return goog.math.Long.MIN_VALUE}else if(other.equals(goog.math.Long.MIN_VALUE)){return goog.math.Long.ONE}else{var halfThis=this.shiftRight(1);var approx=halfThis.div(other).shiftLeft(1);if(approx.equals(goog.math.Long.ZERO)){return other.isNegative()?goog.math.Long.ONE:goog.math.Long.NEG_ONE}else{var rem=this.subtract(other.multiply(approx));var result=approx.add(rem.div(other));return result}}}else if(other.equals(goog.math.Long.MIN_VALUE)){return goog.math.Long.ZERO}if(this.isNegative()){if(other.isNegative()){return this.negate().div(other.negate())}else{return this.negate().div(other).negate()}}else if(other.isNegative()){return this.div(other.negate()).negate()}var res=goog.math.Long.ZERO;var rem=this;while(rem.greaterThanOrEqual(other)){var approx=Math.max(1,Math.floor(rem.toNumber()/other.toNumber()));var log2=Math.ceil(Math.log(approx)/Math.LN2);var delta=log2<=48?1:Math.pow(2,log2-48);var approxRes=goog.math.Long.fromNumber(approx);var approxRem=approxRes.multiply(other);while(approxRem.isNegative()||approxRem.greaterThan(rem)){approx-=delta;approxRes=goog.math.Long.fromNumber(approx);approxRem=approxRes.multiply(other)}if(approxRes.isZero()){approxRes=goog.math.Long.ONE}res=res.add(approxRes);rem=rem.subtract(approxRem)}return res});goog.math.Long.prototype.modulo=(function(other){return this.subtract(this.div(other).multiply(other))});goog.math.Long.prototype.not=(function(){return goog.math.Long.fromBits(~this.low_,~this.high_)});goog.math.Long.prototype.and=(function(other){return goog.math.Long.fromBits(this.low_&other.low_,this.high_&other.high_)});goog.math.Long.prototype.or=(function(other){return goog.math.Long.fromBits(this.low_|other.low_,this.high_|other.high_)});goog.math.Long.prototype.xor=(function(other){return goog.math.Long.fromBits(this.low_^other.low_,this.high_^other.high_)});goog.math.Long.prototype.shiftLeft=(function(numBits){numBits&=63;if(numBits==0){return this}else{var low=this.low_;if(numBits<32){var high=this.high_;return goog.math.Long.fromBits(low<<numBits,high<<numBits|low>>>32-numBits)}else{return goog.math.Long.fromBits(0,low<<numBits-32)}}});goog.math.Long.prototype.shiftRight=(function(numBits){numBits&=63;if(numBits==0){return this}else{var high=this.high_;if(numBits<32){var low=this.low_;return goog.math.Long.fromBits(low>>>numBits|high<<32-numBits,high>>numBits)}else{return goog.math.Long.fromBits(high>>numBits-32,high>=0?0:-1)}}});goog.math.Long.prototype.shiftRightUnsigned=(function(numBits){numBits&=63;if(numBits==0){return this}else{var high=this.high_;if(numBits<32){var low=this.low_;return goog.math.Long.fromBits(low>>>numBits|high<<32-numBits,high>>>numBits)}else if(numBits==32){return goog.math.Long.fromBits(high,0)}else{return goog.math.Long.fromBits(high>>>numBits-32,0)}}});var navigator={appName:"Modern Browser"};var dbits;var canary=0xdeadbeefcafe;var j_lm=(canary&16777215)==15715070;function BigInteger(a,b,c){if(a!=null)if("number"==typeof a)this.fromNumber(a,b,c);else if(b==null&&"string"!=typeof a)this.fromString(a,256);else this.fromString(a,b)}function nbi(){return new BigInteger(null)}function am1(i,x,w,j,c,n){while(--n>=0){var v=x*this[i++]+w[j]+c;c=Math.floor(v/67108864);w[j++]=v&67108863}return c}function am2(i,x,w,j,c,n){var xl=x&32767,xh=x>>15;while(--n>=0){var l=this[i]&32767;var h=this[i++]>>15;var m=xh*l+h*xl;l=xl*l+((m&32767)<<15)+w[j]+(c&1073741823);c=(l>>>30)+(m>>>15)+xh*h+(c>>>30);w[j++]=l&1073741823}return c}function am3(i,x,w,j,c,n){var xl=x&16383,xh=x>>14;while(--n>=0){var l=this[i]&16383;var h=this[i++]>>14;var m=xh*l+h*xl;l=xl*l+((m&16383)<<14)+w[j]+c;c=(l>>28)+(m>>14)+xh*h;w[j++]=l&268435455}return c}if(j_lm&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;dbits=30}else if(j_lm&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;dbits=26}else{BigInteger.prototype.am=am3;dbits=28}BigInteger.prototype.DB=dbits;BigInteger.prototype.DM=(1<<dbits)-1;BigInteger.prototype.DV=1<<dbits;var BI_FP=52;BigInteger.prototype.FV=Math.pow(2,BI_FP);BigInteger.prototype.F1=BI_FP-dbits;BigInteger.prototype.F2=2*dbits-BI_FP;var BI_RM="0123456789abcdefghijklmnopqrstuvwxyz";var BI_RC=new Array;var rr,vv;rr="0".charCodeAt(0);for(vv=0;vv<=9;++vv)BI_RC[rr++]=vv;rr="a".charCodeAt(0);for(vv=10;vv<36;++vv)BI_RC[rr++]=vv;rr="A".charCodeAt(0);for(vv=10;vv<36;++vv)BI_RC[rr++]=vv;function int2char(n){return BI_RM.charAt(n)}function intAt(s,i){var c=BI_RC[s.charCodeAt(i)];return c==null?-1:c}function bnpCopyTo(r){for(var i=this.t-1;i>=0;--i)r[i]=this[i];r.t=this.t;r.s=this.s}function bnpFromInt(x){this.t=1;this.s=x<0?-1:0;if(x>0)this[0]=x;else if(x<-1)this[0]=x+DV;else this.t=0}function nbv(i){var r=nbi();r.fromInt(i);return r}function bnpFromString(s,b){var k;if(b==16)k=4;else if(b==8)k=3;else if(b==256)k=8;else if(b==2)k=1;else if(b==32)k=5;else if(b==4)k=2;else{this.fromRadix(s,b);return}this.t=0;this.s=0;var i=s.length,mi=false,sh=0;while(--i>=0){var x=k==8?s[i]&255:intAt(s,i);if(x<0){if(s.charAt(i)=="-")mi=true;continue}mi=false;if(sh==0)this[this.t++]=x;else if(sh+k>this.DB){this[this.t-1]|=(x&(1<<this.DB-sh)-1)<<sh;this[this.t++]=x>>this.DB-sh}else this[this.t-1]|=x<<sh;sh+=k;if(sh>=this.DB)sh-=this.DB}if(k==8&&(s[0]&128)!=0){this.s=-1;if(sh>0)this[this.t-1]|=(1<<this.DB-sh)-1<<sh}this.clamp();if(mi)BigInteger.ZERO.subTo(this,this)}function bnpClamp(){var c=this.s&this.DM;while(this.t>0&&this[this.t-1]==c)--this.t}function bnToString(b){if(this.s<0)return"-"+this.negate().toString(b);var k;if(b==16)k=4;else if(b==8)k=3;else if(b==2)k=1;else if(b==32)k=5;else if(b==4)k=2;else return this.toRadix(b);var km=(1<<k)-1,d,m=false,r="",i=this.t;var p=this.DB-i*this.DB%k;if(i-->0){if(p<this.DB&&(d=this[i]>>p)>0){m=true;r=int2char(d)}while(i>=0){if(p<k){d=(this[i]&(1<<p)-1)<<k-p;d|=this[--i]>>(p+=this.DB-k)}else{d=this[i]>>(p-=k)&km;if(p<=0){p+=this.DB;--i}}if(d>0)m=true;if(m)r+=int2char(d)}}return m?r:"0"}function bnNegate(){var r=nbi();BigInteger.ZERO.subTo(this,r);return r}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(a){var r=this.s-a.s;if(r!=0)return r;var i=this.t;r=i-a.t;if(r!=0)return this.s<0?-r:r;while(--i>=0)if((r=this[i]-a[i])!=0)return r;return 0}function nbits(x){var r=1,t;if((t=x>>>16)!=0){x=t;r+=16}if((t=x>>8)!=0){x=t;r+=8}if((t=x>>4)!=0){x=t;r+=4}if((t=x>>2)!=0){x=t;r+=2}if((t=x>>1)!=0){x=t;r+=1}return r}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(n,r){var i;for(i=this.t-1;i>=0;--i)r[i+n]=this[i];for(i=n-1;i>=0;--i)r[i]=0;r.t=this.t+n;r.s=this.s}function bnpDRShiftTo(n,r){for(var i=n;i<this.t;++i)r[i-n]=this[i];r.t=Math.max(this.t-n,0);r.s=this.s}function bnpLShiftTo(n,r){var bs=n%this.DB;var cbs=this.DB-bs;var bm=(1<<cbs)-1;var ds=Math.floor(n/this.DB),c=this.s<<bs&this.DM,i;for(i=this.t-1;i>=0;--i){r[i+ds+1]=this[i]>>cbs|c;c=(this[i]&bm)<<bs}for(i=ds-1;i>=0;--i)r[i]=0;r[ds]=c;r.t=this.t+ds+1;r.s=this.s;r.clamp()}function bnpRShiftTo(n,r){r.s=this.s;var ds=Math.floor(n/this.DB);if(ds>=this.t){r.t=0;return}var bs=n%this.DB;var cbs=this.DB-bs;var bm=(1<<bs)-1;r[0]=this[ds]>>bs;for(var i=ds+1;i<this.t;++i){r[i-ds-1]|=(this[i]&bm)<<cbs;r[i-ds]=this[i]>>bs}if(bs>0)r[this.t-ds-1]|=(this.s&bm)<<cbs;r.t=this.t-ds;r.clamp()}function bnpSubTo(a,r){var i=0,c=0,m=Math.min(a.t,this.t);while(i<m){c+=this[i]-a[i];r[i++]=c&this.DM;c>>=this.DB}if(a.t<this.t){c-=a.s;while(i<this.t){c+=this[i];r[i++]=c&this.DM;c>>=this.DB}c+=this.s}else{c+=this.s;while(i<a.t){c-=a[i];r[i++]=c&this.DM;c>>=this.DB}c-=a.s}r.s=c<0?-1:0;if(c<-1)r[i++]=this.DV+c;else if(c>0)r[i++]=c;r.t=i;r.clamp()}function bnpMultiplyTo(a,r){var x=this.abs(),y=a.abs();var i=x.t;r.t=i+y.t;while(--i>=0)r[i]=0;for(i=0;i<y.t;++i)r[i+x.t]=x.am(0,y[i],r,i,0,x.t);r.s=0;r.clamp();if(this.s!=a.s)BigInteger.ZERO.subTo(r,r)}function bnpSquareTo(r){var x=this.abs();var i=r.t=2*x.t;while(--i>=0)r[i]=0;for(i=0;i<x.t-1;++i){var c=x.am(i,x[i],r,2*i,0,1);if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1))>=x.DV){r[i+x.t]-=x.DV;r[i+x.t+1]=1}}if(r.t>0)r[r.t-1]+=x.am(i,x[i],r,2*i,0,1);r.s=0;r.clamp()}function bnpDivRemTo(m,q,r){var pm=m.abs();if(pm.t<=0)return;var pt=this.abs();if(pt.t<pm.t){if(q!=null)q.fromInt(0);if(r!=null)this.copyTo(r);return}if(r==null)r=nbi();var y=nbi(),ts=this.s,ms=m.s;var nsh=this.DB-nbits(pm[pm.t-1]);if(nsh>0){pm.lShiftTo(nsh,y);pt.lShiftTo(nsh,r)}else{pm.copyTo(y);pt.copyTo(r)}var ys=y.t;var y0=y[ys-1];if(y0==0)return;var yt=y0*(1<<this.F1)+(ys>1?y[ys-2]>>this.F2:0);var d1=this.FV/yt,d2=(1<<this.F1)/yt,e=1<<this.F2;var i=r.t,j=i-ys,t=q==null?nbi():q;y.dlShiftTo(j,t);if(r.compareTo(t)>=0){r[r.t++]=1;r.subTo(t,r)}BigInteger.ONE.dlShiftTo(ys,t);t.subTo(y,y);while(y.t<ys)y[y.t++]=0;while(--j>=0){var qd=r[--i]==y0?this.DM:Math.floor(r[i]*d1+(r[i-1]+e)*d2);if((r[i]+=y.am(0,qd,r,j,0,ys))<qd){y.dlShiftTo(j,t);r.subTo(t,r);while(r[i]<--qd)r.subTo(t,r)}}if(q!=null){r.drShiftTo(ys,q);if(ts!=ms)BigInteger.ZERO.subTo(q,q)}r.t=ys;r.clamp();if(nsh>0)r.rShiftTo(nsh,r);if(ts<0)BigInteger.ZERO.subTo(r,r)}function bnMod(a){var r=nbi();this.abs().divRemTo(a,null,r);if(this.s<0&&r.compareTo(BigInteger.ZERO)>0)a.subTo(r,r);return r}function Classic(m){this.m=m}function cConvert(x){if(x.s<0||x.compareTo(this.m)>=0)return x.mod(this.m);else return x}function cRevert(x){return x}function cReduce(x){x.divRemTo(this.m,null,x)}function cMulTo(x,y,r){x.multiplyTo(y,r);this.reduce(r)}function cSqrTo(x,r){x.squareTo(r);this.reduce(r)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var x=this[0];if((x&1)==0)return 0;var y=x&3;y=y*(2-(x&15)*y)&15;y=y*(2-(x&255)*y)&255;y=y*(2-((x&65535)*y&65535))&65535;y=y*(2-x*y%this.DV)%this.DV;return y>0?this.DV-y:-y}function Montgomery(m){this.m=m;this.mp=m.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<<m.DB-15)-1;this.mt2=2*m.t}function montConvert(x){var r=nbi();x.abs().dlShiftTo(this.m.t,r);r.divRemTo(this.m,null,r);if(x.s<0&&r.compareTo(BigInteger.ZERO)>0)this.m.subTo(r,r);return r}function montRevert(x){var r=nbi();x.copyTo(r);this.reduce(r);return r}function montReduce(x){while(x.t<=this.mt2)x[x.t++]=0;for(var i=0;i<this.m.t;++i){var j=x[i]&32767;var u0=j*this.mpl+((j*this.mph+(x[i]>>15)*this.mpl&this.um)<<15)&x.DM;j=i+this.m.t;x[j]+=this.m.am(0,u0,x,i,0,this.m.t);while(x[j]>=x.DV){x[j]-=x.DV;x[++j]++}}x.clamp();x.drShiftTo(this.m.t,x);if(x.compareTo(this.m)>=0)x.subTo(this.m,x)}function montSqrTo(x,r){x.squareTo(r);this.reduce(r)}function montMulTo(x,y,r){x.multiplyTo(y,r);this.reduce(r)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return(this.t>0?this[0]&1:this.s)==0}function bnpExp(e,z){if(e>4294967295||e<1)return BigInteger.ONE;var r=nbi(),r2=nbi(),g=z.convert(this),i=nbits(e)-1;g.copyTo(r);while(--i>=0){z.sqrTo(r,r2);if((e&1<<i)>0)z.mulTo(r2,g,r);else{var t=r;r=r2;r2=t}}return z.revert(r)}function bnModPowInt(e,m){var z;if(e<256||m.isEven())z=new Classic(m);else z=new Montgomery(m);return this.exp(e,z)}BigInteger.prototype.copyTo=bnpCopyTo;BigInteger.prototype.fromInt=bnpFromInt;BigInteger.prototype.fromString=bnpFromString;BigInteger.prototype.clamp=bnpClamp;BigInteger.prototype.dlShiftTo=bnpDLShiftTo;BigInteger.prototype.drShiftTo=bnpDRShiftTo;BigInteger.prototype.lShiftTo=bnpLShiftTo;BigInteger.prototype.rShiftTo=bnpRShiftTo;BigInteger.prototype.subTo=bnpSubTo;BigInteger.prototype.multiplyTo=bnpMultiplyTo;BigInteger.prototype.squareTo=bnpSquareTo;BigInteger.prototype.divRemTo=bnpDivRemTo;BigInteger.prototype.invDigit=bnpInvDigit;BigInteger.prototype.isEven=bnpIsEven;BigInteger.prototype.exp=bnpExp;BigInteger.prototype.toString=bnToString;BigInteger.prototype.negate=bnNegate;BigInteger.prototype.abs=bnAbs;BigInteger.prototype.compareTo=bnCompareTo;BigInteger.prototype.bitLength=bnBitLength;BigInteger.prototype.mod=bnMod;BigInteger.prototype.modPowInt=bnModPowInt;BigInteger.ZERO=nbv(0);BigInteger.ONE=nbv(1);function bnpFromRadix(s,b){this.fromInt(0);if(b==null)b=10;var cs=this.chunkSize(b);var d=Math.pow(b,cs),mi=false,j=0,w=0;for(var i=0;i<s.length;++i){var x=intAt(s,i);if(x<0){if(s.charAt(i)=="-"&&this.signum()==0)mi=true;continue}w=b*w+x;if(++j>=cs){this.dMultiply(d);this.dAddOffset(w,0);j=0;w=0}}if(j>0){this.dMultiply(Math.pow(b,j));this.dAddOffset(w,0)}if(mi)BigInteger.ZERO.subTo(this,this)}function bnpChunkSize(r){return Math.floor(Math.LN2*this.DB/Math.log(r))}function bnSigNum(){if(this.s<0)return-1;else if(this.t<=0||this.t==1&&this[0]<=0)return 0;else return 1}function bnpDMultiply(n){this[this.t]=this.am(0,n-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(n,w){if(n==0)return;while(this.t<=w)this[this.t++]=0;this[w]+=n;while(this[w]>=this.DV){this[w]-=this.DV;if(++w>=this.t)this[this.t++]=0;++this[w]}}function bnpToRadix(b){if(b==null)b=10;if(this.signum()==0||b<2||b>36)return"0";var cs=this.chunkSize(b);var a=Math.pow(b,cs);var d=nbv(a),y=nbi(),z=nbi(),r="";this.divRemTo(d,y,z);while(y.signum()>0){r=(a+z.intValue()).toString(b).substr(1)+r;y.divRemTo(d,y,z)}return z.intValue().toString(b)+r}function bnIntValue(){if(this.s<0){if(this.t==1)return this[0]-this.DV;else if(this.t==0)return-1}else if(this.t==1)return this[0];else if(this.t==0)return 0;return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function bnpAddTo(a,r){var i=0,c=0,m=Math.min(a.t,this.t);while(i<m){c+=this[i]+a[i];r[i++]=c&this.DM;c>>=this.DB}if(a.t<this.t){c+=a.s;while(i<this.t){c+=this[i];r[i++]=c&this.DM;c>>=this.DB}c+=this.s}else{c+=this.s;while(i<a.t){c+=a[i];r[i++]=c&this.DM;c>>=this.DB}c+=a.s}r.s=c<0?-1:0;if(c>0)r[i++]=c;else if(c<-1)r[i++]=this.DV+c;r.t=i;r.clamp()}BigInteger.prototype.fromRadix=bnpFromRadix;BigInteger.prototype.chunkSize=bnpChunkSize;BigInteger.prototype.signum=bnSigNum;BigInteger.prototype.dMultiply=bnpDMultiply;BigInteger.prototype.dAddOffset=bnpDAddOffset;BigInteger.prototype.toRadix=bnpToRadix;BigInteger.prototype.intValue=bnIntValue;BigInteger.prototype.addTo=bnpAddTo;var Wrapper={abs:(function(l,h){var x=new goog.math.Long(l,h);var ret;if(x.isNegative()){ret=x.negate()}else{ret=x}HEAP32[tempDoublePtr>>2]=ret.low_;HEAP32[tempDoublePtr+4>>2]=ret.high_}),ensureTemps:(function(){if(Wrapper.ensuredTemps)return;Wrapper.ensuredTemps=true;Wrapper.two32=new BigInteger;Wrapper.two32.fromString("4294967296",10);Wrapper.two64=new BigInteger;Wrapper.two64.fromString("18446744073709551616",10);Wrapper.temp1=new BigInteger;Wrapper.temp2=new BigInteger}),lh2bignum:(function(l,h){var a=new BigInteger;a.fromString(h.toString(),10);var b=new BigInteger;a.multiplyTo(Wrapper.two32,b);var c=new BigInteger;c.fromString(l.toString(),10);var d=new BigInteger;c.addTo(b,d);return d}),stringify:(function(l,h,unsigned){var ret=(new goog.math.Long(l,h)).toString();if(unsigned&&ret[0]=="-"){Wrapper.ensureTemps();var bignum=new BigInteger;bignum.fromString(ret,10);ret=new BigInteger;Wrapper.two64.addTo(bignum,ret);ret=ret.toString(10)}return ret}),fromString:(function(str,base,min,max,unsigned){Wrapper.ensureTemps();var bignum=new BigInteger;bignum.fromString(str,base);var bigmin=new BigInteger;bigmin.fromString(min,10);var bigmax=new BigInteger;bigmax.fromString(max,10);if(unsigned&&bignum.compareTo(BigInteger.ZERO)<0){var temp=new BigInteger;bignum.addTo(Wrapper.two64,temp);bignum=temp}var error=false;if(bignum.compareTo(bigmin)<0){bignum=bigmin;error=true}else if(bignum.compareTo(bigmax)>0){bignum=bigmax;error=true}var ret=goog.math.Long.fromString(bignum.toString());HEAP32[tempDoublePtr>>2]=ret.low_;HEAP32[tempDoublePtr+4>>2]=ret.high_;if(error)throw"range error"})};return Wrapper})();if(memoryInitializer){if(typeof Module["locateFile"]==="function"){memoryInitializer=Module["locateFile"](memoryInitializer)}else if(Module["memoryInitializerPrefixURL"]){memoryInitializer=Module["memoryInitializerPrefixURL"]+memoryInitializer}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module["readBinary"](memoryInitializer);HEAPU8.set(data,STATIC_BASE)}else{addRunDependency("memory initializer");function applyMemoryInitializer(data){if(data.byteLength)data=new Uint8Array(data);for(var i=0;i<data.length;i++){assert(HEAPU8[STATIC_BASE+i]===0,"area for memory initializer should not have been touched before it's loaded")}HEAPU8.set(data,STATIC_BASE);removeRunDependency("memory initializer")}var request=Module["memoryInitializerRequest"];if(request){if(request.response){setTimeout((function(){applyMemoryInitializer(request.response)}),0)}else{request.addEventListener("load",(function(){if(request.status!==200&&request.status!==0){console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status)}if(!request.response||typeof request.response!=="object"||!request.response.byteLength){console.warn("a problem seems to have happened with Module.memoryInitializerRequest response (expected ArrayBuffer): "+request.response)}applyMemoryInitializer(request.response)}))}}else{Browser.asyncLoad(memoryInitializer,applyMemoryInitializer,(function(){throw"could not load memory initializer "+memoryInitializer}))}}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){assert(runDependencies==0,"cannot call main when async dependencies remain! (listen on __ATMAIN__)");assert(__ATPRERUN__.length==0,"cannot call main when preRun functions remain to be called");args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);initialStackTop=STACKTOP;try{var ret=Module["_main"](argc,argv,0);exit(ret)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{if(e&&typeof e==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throw e}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){Module.printErr("run() called, but dependencies remain, so not running");return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(ENVIRONMENT_IS_WEB&&preloadStartTime!==null){Module.printErr("pre-main prep time: "+(Date.now()-preloadStartTime)+" ms")}if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status){if(Module["noExitRuntime"]){Module.printErr("exit("+status+") called, but noExitRuntime, so not exiting (you can use emscripten_force_exit, if you want to force a true shutdown)");return}ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status);if(ENVIRONMENT_IS_NODE){process["stdout"]["once"]("drain",(function(){process["exit"](status)}));console.log(" ");setTimeout((function(){process["exit"](status)}),500)}else if(ENVIRONMENT_IS_SHELL&&typeof quit==="function"){quit(status)}throw new ExitStatus(status)}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="";var output="abort("+what+") at "+stackTrace()+extra;abortDecorators.forEach((function(decorator){output=decorator(output,what)}));throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"]){shouldRunNow=false}run()
